Merge "Fix JDK8 compatibility"
[aaa.git] / aaa-idmlight / src / main / java / org / opendaylight / aaa / idm / model / Roles.java
1 /*
2  * Copyright (c) 2014, 2015 Hewlett-Packard Development Company, L.P. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.aaa.idm.model;
10
11 /**
12  *
13  * @author peter.mellquist@hp.com
14  *
15  */
16
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlElement;
19 import java.util.List;
20 import java.util.ArrayList;
21
22 @XmlRootElement(name = "roles")
23 public class Roles {
24    private List<Role> roles = new ArrayList<Role>();
25
26    public void setRoles(List<Role> roles) {
27       this.roles = roles;
28    }
29
30    public List<Role> getRoles() {
31       return roles;
32    }
33
34 }
35