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.RestrictionOverride; |
27 | |
import org.w3c.dom.Element; |
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "RestrictionOverrideInfo", propOrder = { "restrictionKey", "_futureElements" }) |
31 | |
|
32 | |
public class RestrictionOverrideInfo implements RestrictionOverride, Serializable { |
33 | |
private static final long serialVersionUID = 1L; |
34 | |
|
35 | |
@XmlElement |
36 | |
private String restrictionKey; |
37 | |
|
38 | |
@XmlAnyElement |
39 | |
private List<Element> _futureElements; |
40 | |
|
41 | |
public RestrictionOverrideInfo() { |
42 | 0 | super(); |
43 | 0 | restrictionKey = null; |
44 | 0 | _futureElements = null; |
45 | 0 | } |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public RestrictionOverrideInfo(RestrictionOverride restrictionOverride) { |
54 | 0 | super(); |
55 | 0 | if (null != restrictionOverride) { |
56 | 0 | this.restrictionKey = restrictionOverride.getRestrictionKey(); |
57 | |
} |
58 | |
|
59 | 0 | _futureElements = null; |
60 | 0 | } |
61 | |
|
62 | |
@Override |
63 | |
public String getRestrictionKey() { |
64 | 0 | return restrictionKey; |
65 | |
} |
66 | |
|
67 | |
public void setRestrictionKey(String restrictionKey) { |
68 | 0 | this.restrictionKey = restrictionKey; |
69 | 0 | } |
70 | |
} |