1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.student.enrollment.roster.dto; |
18 | |
|
19 | |
import java.io.Serializable; |
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.XmlAnyElement; |
25 | |
import javax.xml.bind.annotation.XmlElement; |
26 | |
import javax.xml.bind.annotation.XmlType; |
27 | |
|
28 | |
import org.kuali.student.enrollment.roster.infc.LprRosterEntry; |
29 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
30 | |
import org.w3c.dom.Element; |
31 | |
|
32 | |
@XmlAccessorType(XmlAccessType.FIELD) |
33 | |
@XmlType(name = "LprRosterEntryInfo", propOrder = { |
34 | |
"id", "typeKey", "stateKey", |
35 | |
"effectiveDate", "expirationDate", |
36 | |
"lprRosterId", "lprId", "position", |
37 | |
"meta", "attributes", "_futureElements"}) |
38 | |
|
39 | |
public class LprRosterEntryInfo |
40 | |
extends RelationshipInfo |
41 | |
implements LprRosterEntry, Serializable { |
42 | |
|
43 | |
private static final long serialVersionUID = 1L; |
44 | |
|
45 | |
@XmlElement |
46 | |
private String lprRosterId; |
47 | |
|
48 | |
@XmlElement |
49 | |
private String lprId; |
50 | |
|
51 | |
@XmlElement |
52 | |
private Integer position; |
53 | |
|
54 | |
@XmlAnyElement |
55 | |
private List<Element> _futureElements; |
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
|
61 | 0 | public LprRosterEntryInfo() { |
62 | 0 | } |
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
public LprRosterEntryInfo(LprRosterEntry entry) { |
71 | 0 | super(); |
72 | |
|
73 | 0 | if (entry != null) { |
74 | 0 | this.lprRosterId = entry.getLprRosterId(); |
75 | 0 | this.lprId = entry.getLprId(); |
76 | 0 | this.position = entry.getPosition(); |
77 | |
} |
78 | 0 | } |
79 | |
|
80 | |
@Override |
81 | |
public String getLprRosterId() { |
82 | 0 | return lprRosterId; |
83 | |
} |
84 | |
|
85 | |
public void setLprRosterId(String lprRosterId) { |
86 | 0 | this.lprRosterId = lprRosterId; |
87 | 0 | } |
88 | |
|
89 | |
@Override |
90 | |
public String getLprId() { |
91 | 0 | return lprId; |
92 | |
} |
93 | |
|
94 | |
public void setLprId(String lprId) { |
95 | 0 | this.lprId = lprId; |
96 | 0 | } |
97 | |
|
98 | |
@Override |
99 | |
public Integer getPosition() { |
100 | 0 | return position; |
101 | |
} |
102 | |
|
103 | |
public void setPosition(Integer position) { |
104 | 0 | this.position = position; |
105 | 0 | } |
106 | |
} |