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 | |
import java.util.ArrayList; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlAccessType; |
22 | |
import javax.xml.bind.annotation.XmlAccessorType; |
23 | |
import javax.xml.bind.annotation.XmlAnyElement; |
24 | |
import javax.xml.bind.annotation.XmlElement; |
25 | |
import javax.xml.bind.annotation.XmlType; |
26 | |
|
27 | |
import org.kuali.student.r2.core.exemption.infc.LearningResultOverride; |
28 | |
import org.w3c.dom.Element; |
29 | |
|
30 | |
@XmlAccessorType(XmlAccessType.FIELD) |
31 | |
@XmlType(name = "LearningResultOverrideInfo", propOrder = { "lrrIds", |
32 | |
"_futureElements" }) |
33 | |
|
34 | |
public class LearningResultOverrideInfo implements LearningResultOverride, Serializable { |
35 | |
private static final long serialVersionUID = 1L; |
36 | |
|
37 | |
@XmlElement |
38 | |
private List<String> lrrIds; |
39 | |
|
40 | |
@XmlAnyElement |
41 | |
private List<Element> _futureElements; |
42 | |
|
43 | |
public LearningResultOverrideInfo() { |
44 | 0 | super(); |
45 | 0 | lrrIds = null; |
46 | 0 | _futureElements = null; |
47 | 0 | } |
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
public LearningResultOverrideInfo(LearningResultOverride learningResultOverride) { |
56 | 0 | super(); |
57 | 0 | if (null != learningResultOverride) { |
58 | 0 | this.lrrIds = new ArrayList(learningResultOverride.getLrrIds()); |
59 | |
} |
60 | |
|
61 | 0 | _futureElements = null; |
62 | 0 | } |
63 | |
|
64 | |
@Override |
65 | |
public List<String> getLrrIds() { |
66 | 0 | return lrrIds; |
67 | |
} |
68 | |
|
69 | |
public void setLrrIds(List<String> lrrIds) { |
70 | 0 | this.lrrIds = lrrIds; |
71 | 0 | } |
72 | |
} |