1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.HashMap; |
20 | |
import java.util.Map; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAccessType; |
23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
24 | |
import javax.xml.bind.annotation.XmlAttribute; |
25 | |
import javax.xml.bind.annotation.XmlElement; |
26 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
27 | |
|
28 | |
import org.kuali.student.common.dto.Idable; |
29 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
@XmlAccessorType(XmlAccessType.FIELD) |
35 | 0 | public class CluIdentifierInfo implements Serializable, Idable { |
36 | |
|
37 | |
private static final long serialVersionUID = 1L; |
38 | |
|
39 | |
@XmlElement |
40 | |
private String code; |
41 | |
|
42 | |
@XmlElement |
43 | |
private String shortName; |
44 | |
|
45 | |
@XmlElement |
46 | |
private String longName; |
47 | |
|
48 | |
@XmlElement |
49 | |
private String level; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String division; |
53 | |
|
54 | |
@XmlElement |
55 | |
private String variation; |
56 | |
|
57 | |
@XmlElement |
58 | |
private String suffixCode; |
59 | |
|
60 | |
@XmlElement |
61 | |
private String orgId; |
62 | |
|
63 | |
@XmlAttribute |
64 | |
private String type; |
65 | |
|
66 | |
@XmlAttribute |
67 | |
private String state; |
68 | |
|
69 | |
@XmlAttribute |
70 | |
private String id; |
71 | |
|
72 | |
@XmlElement |
73 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
74 | |
private Map<String, String> attributes; |
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
public String getCode() { |
80 | 0 | return code; |
81 | |
} |
82 | |
|
83 | |
public void setCode(String code) { |
84 | 0 | this.code = code; |
85 | 0 | } |
86 | |
|
87 | |
|
88 | |
|
89 | |
|
90 | |
public String getShortName() { |
91 | 0 | return shortName; |
92 | |
} |
93 | |
|
94 | |
public void setShortName(String shortName) { |
95 | 0 | this.shortName = shortName; |
96 | 0 | } |
97 | |
|
98 | |
public String getLongName() { |
99 | 0 | return longName; |
100 | |
} |
101 | |
|
102 | |
public void setLongName(String longName) { |
103 | 0 | this.longName = longName; |
104 | 0 | } |
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
public String getLevel() { |
110 | 0 | return level; |
111 | |
} |
112 | |
|
113 | |
public void setLevel(String level) { |
114 | 0 | this.level = level; |
115 | 0 | } |
116 | |
|
117 | |
|
118 | |
|
119 | |
|
120 | |
public String getDivision() { |
121 | 0 | return division; |
122 | |
} |
123 | |
|
124 | |
public void setDivision(String division) { |
125 | 0 | this.division = division; |
126 | 0 | } |
127 | |
|
128 | |
|
129 | |
|
130 | |
|
131 | |
public String getSuffixCode() { |
132 | 0 | return suffixCode; |
133 | |
} |
134 | |
|
135 | |
public void setSuffixCode(String suffixCode) { |
136 | 0 | this.suffixCode = suffixCode; |
137 | 0 | } |
138 | |
|
139 | |
|
140 | |
|
141 | |
|
142 | |
public String getVariation() { |
143 | 0 | return variation; |
144 | |
} |
145 | |
|
146 | |
public void setVariation(String variation) { |
147 | 0 | this.variation = variation; |
148 | 0 | } |
149 | |
|
150 | |
|
151 | |
|
152 | |
|
153 | |
public String getOrgId() { |
154 | 0 | return orgId; |
155 | |
} |
156 | |
|
157 | |
public void setOrgId(String orgId) { |
158 | 0 | this.orgId = orgId; |
159 | 0 | } |
160 | |
|
161 | |
|
162 | |
|
163 | |
|
164 | |
public String getType() { |
165 | 0 | return type; |
166 | |
} |
167 | |
|
168 | |
public void setType(String type) { |
169 | 0 | this.type = type; |
170 | 0 | } |
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
public String getState() { |
176 | 0 | return state; |
177 | |
} |
178 | |
|
179 | |
public void setState(String state) { |
180 | 0 | this.state = state; |
181 | 0 | } |
182 | |
|
183 | |
|
184 | |
|
185 | |
|
186 | |
public String getId() { |
187 | 0 | return id; |
188 | |
} |
189 | |
|
190 | |
public void setId(String id) { |
191 | 0 | this.id = id; |
192 | 0 | } |
193 | |
|
194 | |
public Map<String, String> getAttributes() { |
195 | 0 | if (attributes == null) { |
196 | 0 | attributes = new HashMap<String, String>(); |
197 | |
} |
198 | |
|
199 | 0 | return attributes; |
200 | |
} |
201 | |
|
202 | |
public void setAttributes(Map<String, String> attributes) { |
203 | 0 | this.attributes = attributes; |
204 | 0 | } |
205 | |
} |