1 | |
package org.kuali.student.enrollment.lpr.dto; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.List; |
5 | |
|
6 | |
import javax.xml.bind.annotation.XmlAccessType; |
7 | |
import javax.xml.bind.annotation.XmlAccessorType; |
8 | |
import javax.xml.bind.annotation.XmlAnyElement; |
9 | |
import javax.xml.bind.annotation.XmlElement; |
10 | |
import javax.xml.bind.annotation.XmlType; |
11 | |
|
12 | |
import org.kuali.student.enrollment.lpr.infc.LuiPersonRelationRoster; |
13 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
14 | |
import org.w3c.dom.Element; |
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
@XmlAccessorType(XmlAccessType.FIELD) |
23 | |
@XmlType(name = "LuiPersonRelationRosterInfo", propOrder = {"id", "typeKey", "stateKey", "name", "descr", "lprIds", "associatedLuiIds", |
24 | |
"meta", "attributes", "_futureElements"}) |
25 | |
public class LuiPersonRelationRosterInfo extends IdEntityInfo implements LuiPersonRelationRoster { |
26 | |
|
27 | |
private static final long serialVersionUID = 1L; |
28 | |
|
29 | |
@XmlElement |
30 | |
private List<String> associatedLuiIds; |
31 | |
|
32 | |
@XmlElement |
33 | |
private List<String> lprIds; |
34 | |
|
35 | |
@XmlAnyElement |
36 | |
private List<Element> _futureElements; |
37 | |
|
38 | 0 | public LuiPersonRelationRosterInfo() { |
39 | 0 | this.associatedLuiIds = null; |
40 | 0 | this.lprIds = null; |
41 | 0 | } |
42 | |
|
43 | 0 | public LuiPersonRelationRosterInfo(LuiPersonRelationRoster lprRoster) { |
44 | 0 | if (lprRoster != null) { |
45 | 0 | this.associatedLuiIds = new ArrayList<String>(lprRoster.getAssociatedLuiIds()); |
46 | 0 | this.lprIds = new ArrayList<String>(lprRoster.getLprIds()); |
47 | |
} |
48 | 0 | } |
49 | |
|
50 | |
@Override |
51 | |
public List<String> getAssociatedLuiIds() { |
52 | 0 | return this.associatedLuiIds; |
53 | |
} |
54 | |
|
55 | |
@Override |
56 | |
public List<String> getLprIds() { |
57 | 0 | return this.lprIds; |
58 | |
} |
59 | |
|
60 | |
} |