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 org.kuali.student.r2.common.dto.IdEntityInfo; |
19 | |
import org.kuali.student.r2.lum.lu.infc.LuCode; |
20 | |
import org.w3c.dom.Element; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
import javax.xml.bind.annotation.XmlAnyElement; |
25 | |
import javax.xml.bind.annotation.XmlElement; |
26 | |
import javax.xml.bind.annotation.XmlType; |
27 | |
import java.io.Serializable; |
28 | |
import java.util.List; |
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
@XmlAccessorType(XmlAccessType.FIELD) |
34 | |
@XmlType(name = "LuCodeInfo", propOrder = {"id", "typeKey", "stateKey", |
35 | |
"name", "descr", "value", |
36 | |
"meta", "attributes", "_futureElements"}) |
37 | |
public class LuCodeInfo extends IdEntityInfo implements LuCode, Serializable { |
38 | |
|
39 | |
private static final long serialVersionUID = 1L; |
40 | |
|
41 | |
@XmlElement |
42 | |
private String value; |
43 | |
@XmlAnyElement |
44 | |
private List<Element> _futureElements; |
45 | |
|
46 | |
|
47 | 0 | public LuCodeInfo() { |
48 | 0 | } |
49 | |
|
50 | |
public LuCodeInfo(LuCode luCode) { |
51 | 0 | super(luCode); |
52 | 0 | this.value = luCode.getValue(); |
53 | 0 | } |
54 | |
|
55 | |
public String getValue() { |
56 | 0 | return value; |
57 | |
} |
58 | |
|
59 | |
public void setValue(String value) { |
60 | 0 | this.value = value; |
61 | 0 | } |
62 | |
} |