1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.r2.lum.lu.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.List; |
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.w3c.dom.Element; |
28 | |
|
29 | |
import org.kuali.student.r2.common.dto.IdEntityInfo; |
30 | |
import org.kuali.student.r2.lum.lu.infc.LuCode; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
@XmlAccessorType(XmlAccessType.FIELD) |
36 | |
@XmlType(name = "LuCodeInfo", propOrder = { "id", "typeKey", "stateKey", |
37 | |
"name", "descr", "value", |
38 | |
"meta", "attributes", "_futureElements" }) |
39 | |
public class LuCodeInfo extends IdEntityInfo implements LuCode, Serializable { |
40 | |
|
41 | |
private static final long serialVersionUID = 1L; |
42 | |
|
43 | |
@XmlElement |
44 | |
private String value; |
45 | |
|
46 | |
@XmlAnyElement |
47 | |
private List<Element> _futureElements; |
48 | |
|
49 | |
|
50 | |
public LuCodeInfo() { |
51 | 0 | super(); |
52 | 0 | value = null; |
53 | 0 | _futureElements = null; |
54 | 0 | } |
55 | |
|
56 | |
public LuCodeInfo(LuCode luCode) { |
57 | 0 | super(luCode); |
58 | 0 | this.value = luCode.getValue(); |
59 | 0 | _futureElements = null; |
60 | 0 | } |
61 | |
|
62 | |
public String getValue() { |
63 | 0 | return value; |
64 | |
} |
65 | |
|
66 | |
public void setValue(String value) { |
67 | 0 | this.value = value; |
68 | 0 | } |
69 | |
} |