1 | |
package org.kuali.student.enrollment.lpr.dto; |
2 | |
|
3 | |
import java.io.Serializable; |
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.LprRosterEntry; |
13 | |
import org.kuali.student.r2.common.dto.RelationshipInfo; |
14 | |
import org.w3c.dom.Element; |
15 | |
|
16 | |
@XmlAccessorType(XmlAccessType.FIELD) |
17 | |
@XmlType(name = "LprRosterEntryInfo", propOrder = {"id", "typeKey", "stateKey", "effectiveDate", "expirationDate", |
18 | |
"lprRosterId", "lprId", "position", "meta", "attributes", "_futureElements"}) |
19 | |
public class LprRosterEntryInfo extends RelationshipInfo implements LprRosterEntry, Serializable { |
20 | |
|
21 | |
private static final long serialVersionUID = 1L; |
22 | |
@XmlElement |
23 | |
private String lprRosterId; |
24 | |
@XmlElement |
25 | |
private String lprId; |
26 | |
@XmlElement |
27 | |
private Integer position; |
28 | |
|
29 | |
@XmlAnyElement |
30 | |
private List<Element> _futureElements; |
31 | |
|
32 | |
public LprRosterEntryInfo() { |
33 | 0 | super(); |
34 | 0 | this.lprRosterId = null; |
35 | 0 | this.lprId = null; |
36 | 0 | this.position = null; |
37 | 0 | this._futureElements = null; |
38 | 0 | } |
39 | |
|
40 | |
public LprRosterEntryInfo(LprRosterEntry lprRosterEntry) { |
41 | 0 | super(); |
42 | 0 | this.lprRosterId = lprRosterEntry.getLprRosterId(); |
43 | 0 | this.lprId = lprRosterEntry.getLprId(); |
44 | 0 | this.position = lprRosterEntry.getPosition(); |
45 | 0 | } |
46 | |
|
47 | |
public void setLprRosterId(String lprRosterId) { |
48 | 0 | this.lprRosterId = lprRosterId; |
49 | 0 | } |
50 | |
|
51 | |
public void setLprId(String lprId) { |
52 | 0 | this.lprId = lprId; |
53 | 0 | } |
54 | |
|
55 | |
public void setPosition(Integer position) { |
56 | 0 | this.position = position; |
57 | 0 | } |
58 | |
|
59 | |
@Override |
60 | |
public String getLprRosterId() { |
61 | 0 | return lprRosterId; |
62 | |
} |
63 | |
|
64 | |
@Override |
65 | |
public String getLprId() { |
66 | 0 | return lprId; |
67 | |
} |
68 | |
|
69 | |
@Override |
70 | |
public Integer getPosition() { |
71 | 0 | return position; |
72 | |
} |
73 | |
|
74 | |
} |