1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
package org.kuali.student.r2.core.hold.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.XmlType; |
24 | |
|
25 | |
import org.kuali.student.r2.core.hold.infc.Restriction; |
26 | |
import org.kuali.student.r2.common.dto.KeyEntityInfo; |
27 | |
import org.w3c.dom.Element; |
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "RestrictionInfo", propOrder = { "key", "typeKey", "stateKey", |
31 | |
"name", "descr", "meta", "attributes", "_futureElements" }) |
32 | |
public class RestrictionInfo extends KeyEntityInfo implements Restriction, |
33 | |
Serializable { |
34 | |
private static final long serialVersionUID = 1L; |
35 | |
|
36 | |
@XmlAnyElement |
37 | |
private final List<Element> _futureElements; |
38 | |
|
39 | 0 | public RestrictionInfo() { |
40 | 0 | _futureElements = null; |
41 | 0 | } |
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
public RestrictionInfo(Restriction restriction) { |
50 | 0 | super(restriction); |
51 | 0 | _futureElements = null; |
52 | 0 | } |
53 | |
} |