1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.core.xml.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.List; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
import javax.xml.bind.annotation.XmlElement; |
25 | |
import javax.xml.bind.annotation.XmlElementWrapper; |
26 | |
import javax.xml.bind.annotation.XmlRootElement; |
27 | |
import javax.xml.bind.annotation.XmlType; |
28 | |
|
29 | |
import org.kuali.rice.core.xml.CoreNamespaceConstants; |
30 | |
import org.kuali.rice.kim.xml.GroupXmlDto; |
31 | |
import org.kuali.rice.kim.xml.KimNamespaceConstants; |
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
@XmlRootElement(name = "data", namespace = CoreNamespaceConstants.CORE) |
40 | |
@XmlAccessorType(XmlAccessType.FIELD) |
41 | |
@XmlType(name="data",namespace=CoreNamespaceConstants.CORE) |
42 | 0 | public class DataXmlDto implements Serializable { |
43 | |
|
44 | 0 | @XmlElementWrapper(name = "groups", namespace=KimNamespaceConstants.GROUP) |
45 | |
@XmlElement(name = "group", namespace=KimNamespaceConstants.GROUP) |
46 | |
List<GroupXmlDto> groups = new ArrayList<GroupXmlDto>(); |
47 | |
|
48 | |
public List<GroupXmlDto> getGroups() { |
49 | 0 | return this.groups; |
50 | |
} |
51 | |
|
52 | |
public void setGroups(List<GroupXmlDto> groups) { |
53 | 0 | this.groups = groups; |
54 | 0 | } |
55 | |
|
56 | |
|
57 | |
} |