1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.lui.dto;
18
19 import java.io.Serializable;
20 import java.util.List;
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
28 import org.kuali.student.enrollment.lui.infc.LuiIdentifier;
29 import org.kuali.student.r2.common.dto.IdNamelessEntityInfo;
30 import org.w3c.dom.Element;
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "LuiIdentifierInfo", propOrder = { "id", "typeKey", "stateKey",
34 "code", "shortName", "longName", "level", "division", "variation", "suffixCode",
35 "orgId", "meta", "attributes", "_futureElements" })
36 public class LuiIdentifierInfo
37 extends IdNamelessEntityInfo
38 implements LuiIdentifier, Serializable {
39
40 private static final long serialVersionUID = 1L;
41
42 @XmlElement
43 private String code;
44
45 @XmlElement
46 private String shortName;
47
48 @XmlElement
49 private String longName;
50
51 @XmlElement
52 private String level;
53
54 @XmlElement
55 private String division;
56
57 @XmlElement
58 private String variation;
59
60 @XmlElement
61 private String suffixCode;
62
63 @XmlElement
64 private String orgId;
65
66 @XmlAnyElement
67 private List<Element> _futureElements;
68
69
70
71
72
73 public LuiIdentifierInfo() {
74 }
75
76
77
78
79
80
81 public LuiIdentifierInfo(LuiIdentifier luiIdentifier) {
82 super(luiIdentifier);
83
84 if(null == luiIdentifier) {
85 return;
86 }
87 this.code = luiIdentifier.getCode();
88 this.shortName = luiIdentifier.getShortName();
89 this.longName = luiIdentifier.getLongName();
90 this.level = luiIdentifier.getLevel();
91 this.division = luiIdentifier.getDivision();
92 this.suffixCode = luiIdentifier.getSuffixCode();
93 this.variation = luiIdentifier.getVariation();
94 this.orgId = luiIdentifier.getOrgId();
95 }
96
97 @Override
98 public String getCode() {
99 return code;
100 }
101
102 public void setCode(String code) {
103 this.code = code;
104 }
105
106 @Override
107 public String getShortName() {
108 return shortName;
109 }
110
111 public void setShortName(String shortName) {
112 this.shortName = shortName;
113 }
114
115 @Override
116 public String getLongName() {
117 return longName;
118 }
119
120 public void setLongName(String longName) {
121 this.longName = longName;
122 }
123
124 @Override
125 public String getLevel() {
126 return level;
127 }
128
129 public void setLevel(String level) {
130 this.level = level;
131 }
132
133 @Override
134 public String getDivision() {
135 return division;
136 }
137
138 public void setDivision(String division) {
139 this.division = division;
140 }
141
142 @Override
143 public String getSuffixCode() {
144 return suffixCode;
145 }
146
147 public void setSuffixCode(String suffixCode) {
148 this.suffixCode = suffixCode;
149 }
150
151 @Override
152 public String getVariation() {
153 return variation;
154 }
155
156 public void setVariation(String variation) {
157 this.variation = variation;
158 }
159
160 @Override
161 public String getOrgId() {
162 return orgId;
163 }
164
165 public void setOrgId(String orgId) {
166 this.orgId = orgId;
167 }
168 }