1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
package org.kuali.student.r2.core.exemption.dto; |
16 | |
|
17 | |
import java.io.Serializable; |
18 | |
import java.util.List; |
19 | |
|
20 | |
import javax.xml.bind.annotation.XmlAccessType; |
21 | |
import javax.xml.bind.annotation.XmlAccessorType; |
22 | |
import javax.xml.bind.annotation.XmlAnyElement; |
23 | |
import javax.xml.bind.annotation.XmlElement; |
24 | |
import javax.xml.bind.annotation.XmlType; |
25 | |
|
26 | |
import org.kuali.student.r2.core.exemption.infc.AgendaOverride; |
27 | |
import org.w3c.dom.Element; |
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "StatementOverrideInfo", propOrder = {"agendaId", "anchorId", |
31 | |
"_futureElements"}) |
32 | |
public class AgendaOverrideInfo implements AgendaOverride, Serializable { |
33 | |
|
34 | |
private static final long serialVersionUID = 1L; |
35 | |
@XmlElement |
36 | |
private String existingAgendaId; |
37 | |
@XmlElement |
38 | |
private String newAgendaId; |
39 | |
@XmlElement |
40 | |
private String anchorRefObjectUri; |
41 | |
@XmlElement |
42 | |
private String anchorRefObjectId; |
43 | |
@XmlAnyElement |
44 | |
private List<Element> _futureElements; |
45 | |
|
46 | |
public AgendaOverrideInfo() { |
47 | 0 | super(); |
48 | 0 | existingAgendaId = null; |
49 | 0 | anchorRefObjectId = null; |
50 | 0 | _futureElements = null; |
51 | 0 | } |
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
public AgendaOverrideInfo(AgendaOverride statementOverride) { |
60 | 0 | super(); |
61 | 0 | if (null != statementOverride) { |
62 | 0 | this.existingAgendaId = statementOverride.getExistingAgendaId(); |
63 | 0 | this.newAgendaId = statementOverride.getNewAgendaId(); |
64 | 0 | this.anchorRefObjectId = statementOverride.getAnchorRefObjectId(); |
65 | 0 | this.anchorRefObjectUri = statementOverride.getAnchorRefObjectUri(); |
66 | |
} |
67 | |
|
68 | 0 | _futureElements = null; |
69 | 0 | } |
70 | |
|
71 | |
@Override |
72 | |
public String getExistingAgendaId() { |
73 | 0 | return existingAgendaId; |
74 | |
} |
75 | |
|
76 | |
public void setExistingId(String existingAgendaId) { |
77 | 0 | this.existingAgendaId = existingAgendaId; |
78 | 0 | } |
79 | |
|
80 | |
@Override |
81 | |
public String getNewAgendaId() { |
82 | 0 | return newAgendaId; |
83 | |
} |
84 | |
|
85 | |
public void setNewAgendaId(String newAgendaId) { |
86 | 0 | this.newAgendaId = newAgendaId; |
87 | 0 | } |
88 | |
|
89 | |
@Override |
90 | |
public String getAnchorRefObjectUri() { |
91 | 0 | return anchorRefObjectUri; |
92 | |
} |
93 | |
|
94 | |
public void setAnchorRefObjectUri(String anchorRefObjectUri) { |
95 | 0 | this.anchorRefObjectUri = anchorRefObjectUri; |
96 | 0 | } |
97 | |
|
98 | |
@Override |
99 | |
public String getAnchorRefObjectId() { |
100 | 0 | return anchorRefObjectId; |
101 | |
} |
102 | |
|
103 | |
public void setAnchorId(String anchorRefObjectId) { |
104 | 0 | this.anchorRefObjectId = anchorRefObjectId; |
105 | 0 | } |
106 | |
} |