1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
package org.kuali.student.enrollment.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.enrollment.exemption.infc.StatementOverride; |
27 | |
import org.w3c.dom.Element; |
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "StatementOverrideInfo", propOrder = { "statementId", "anchorId", |
31 | |
"_futureElements" }) |
32 | |
|
33 | |
public class StatementOverrideInfo implements StatementOverride, Serializable { |
34 | |
private static final long serialVersionUID = 1L; |
35 | |
|
36 | |
@XmlElement |
37 | |
private String statementId; |
38 | |
|
39 | |
@XmlElement |
40 | |
private String anchorId; |
41 | |
|
42 | |
@XmlAnyElement |
43 | |
private List<Element> _futureElements; |
44 | |
|
45 | |
public StatementOverrideInfo() { |
46 | 0 | super(); |
47 | 0 | statementId = null; |
48 | 0 | anchorId = null; |
49 | 0 | _futureElements = null; |
50 | 0 | } |
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
public StatementOverrideInfo(StatementOverride statementOverride) { |
59 | 0 | super(); |
60 | 0 | if (null != statementOverride) { |
61 | 0 | this.statementId = statementOverride.getStatementId(); |
62 | 0 | this.anchorId = statementOverride.getAnchorId(); |
63 | |
} |
64 | |
|
65 | 0 | _futureElements = null; |
66 | 0 | } |
67 | |
|
68 | |
@Override |
69 | |
public String getStatementId() { |
70 | 0 | return statementId; |
71 | |
} |
72 | |
|
73 | |
public void setStatementId(String statementId) { |
74 | 0 | this.statementId = statementId; |
75 | 0 | } |
76 | |
|
77 | |
@Override |
78 | |
public String getAnchorId() { |
79 | 0 | return anchorId; |
80 | |
} |
81 | |
|
82 | |
public void setAnchorId(String anchorId) { |
83 | 0 | this.anchorId = anchorId; |
84 | 0 | } |
85 | |
} |