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.core.type.dto.TypeInfo; |
19 | |
import org.kuali.student.r2.lum.lu.infc.LuLuRelationType; |
20 | |
|
21 | |
import javax.xml.bind.Element; |
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.util.List; |
28 | |
|
29 | |
@XmlAccessorType(XmlAccessType.FIELD) |
30 | |
@XmlType(name = "LuLuRelationTypeInfo", propOrder = { |
31 | |
"revName", "revDescr", "_futureElements"}) |
32 | |
public class LuLuRelationTypeInfo extends TypeInfo implements LuLuRelationType { |
33 | |
|
34 | |
private static final long serialVersionUID = 1L; |
35 | |
|
36 | |
@XmlElement |
37 | |
private String revName; |
38 | |
|
39 | |
@XmlElement |
40 | |
private String revDescr; |
41 | |
|
42 | |
@XmlAnyElement |
43 | |
private List<Element> _futureElements; |
44 | |
|
45 | 0 | public LuLuRelationTypeInfo() { |
46 | |
|
47 | 0 | } |
48 | |
|
49 | |
public LuLuRelationTypeInfo(LuLuRelationType luLuRelationType) { |
50 | 0 | super(luLuRelationType); |
51 | 0 | if (null != luLuRelationType) { |
52 | 0 | this.revName = luLuRelationType.getRevName(); |
53 | 0 | this.revDescr = luLuRelationType.getRevDescr(); |
54 | |
} |
55 | 0 | } |
56 | |
|
57 | |
@Override |
58 | |
public String getRevName() { |
59 | 0 | return revName; |
60 | |
} |
61 | |
|
62 | |
public void setRevName(String revName) { |
63 | 0 | this.revName = revName; |
64 | 0 | } |
65 | |
|
66 | |
@Override |
67 | |
public String getRevDescr() { |
68 | 0 | return revDescr; |
69 | |
} |
70 | |
|
71 | |
public void setRevDescr(String revDesc) { |
72 | 0 | this.revDescr = revDescr; |
73 | 0 | } |
74 | |
} |