1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.core.person.dto; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.ArrayList; |
20 |
|
import java.util.Date; |
21 |
|
import java.util.HashMap; |
22 |
|
import java.util.List; |
23 |
|
import java.util.Map; |
24 |
|
|
25 |
|
import javax.xml.bind.annotation.XmlAccessType; |
26 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
27 |
|
import javax.xml.bind.annotation.XmlAttribute; |
28 |
|
import javax.xml.bind.annotation.XmlElement; |
29 |
|
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 |
|
|
31 |
|
import org.kuali.student.common.dto.HasAttributes; |
32 |
|
import org.kuali.student.common.dto.Idable; |
33 |
|
import org.kuali.student.common.dto.MetaInfo; |
34 |
|
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
|
|
| 0% |
Uncovered Elements: 124 (124) |
Complexity: 55 |
Complexity Density: 0.89 |
|
40 |
|
public class PersonInfo implements Serializable, Idable, HasAttributes { |
41 |
|
|
42 |
|
private static final long serialVersionUID = 1L; |
43 |
|
|
44 |
|
@XmlElement |
45 |
|
private List<String> personTypeKeyList; |
46 |
|
|
47 |
|
@XmlElement |
48 |
|
private List<PersonNameInfo> personNameInfoList; |
49 |
|
|
50 |
|
@XmlElement |
51 |
|
private List<PersonCitizenshipInfo> personCitizenshipInfoList; |
52 |
|
|
53 |
|
@XmlElement |
54 |
|
private List<PersonVisaInfo> personVisaInfoList; |
55 |
|
|
56 |
|
@XmlElement |
57 |
|
private List<PersonResidencyInfo> personResidencyInfoList; |
58 |
|
|
59 |
|
@XmlElement |
60 |
|
private List<PersonEthnicityInfo> personEthnicityInfoList; |
61 |
|
|
62 |
|
@XmlElement |
63 |
|
private Date birthDate; |
64 |
|
|
65 |
|
@XmlElement |
66 |
|
private Boolean isTestPerson; |
67 |
|
|
68 |
|
@XmlElement |
69 |
|
private String gender; |
70 |
|
|
71 |
|
@XmlElement |
72 |
|
private String photo; |
73 |
|
|
74 |
|
@XmlElement |
75 |
|
private Date deceasedDate; |
76 |
|
|
77 |
|
@XmlElement |
78 |
|
private String maritalStatusCode; |
79 |
|
|
80 |
|
@XmlElement |
81 |
|
private String primaryLanguageCode; |
82 |
|
|
83 |
|
@XmlElement |
84 |
|
private String secondaryLanguageCode; |
85 |
|
|
86 |
|
@XmlElement |
87 |
|
private String countryofBirthCode; |
88 |
|
|
89 |
|
@XmlElement |
90 |
|
private String stateofBirth; |
91 |
|
|
92 |
|
@XmlElement |
93 |
|
private String cityofBirth; |
94 |
|
|
95 |
|
@XmlElement |
96 |
|
private String geographicOrigin; |
97 |
|
|
98 |
|
@XmlElement |
99 |
|
private Date effectiveDate; |
100 |
|
|
101 |
|
@XmlElement |
102 |
|
private Date expirationDate; |
103 |
|
|
104 |
|
@XmlElement |
105 |
|
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
106 |
|
private Map<String, String> attributes; |
107 |
|
|
108 |
|
@XmlElement |
109 |
|
private MetaInfo metaInfo; |
110 |
|
|
111 |
|
@XmlElement |
112 |
|
private String state; |
113 |
|
|
114 |
|
@XmlAttribute |
115 |
|
private String id; |
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
120 |
0
|
public List<String> getPersonTypeKeyList() {... |
121 |
0
|
if (personTypeKeyList == null) { |
122 |
0
|
personTypeKeyList = new ArrayList<String>(); |
123 |
|
} |
124 |
0
|
return personTypeKeyList; |
125 |
|
} |
126 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
0
|
public void setPersonTypeKeyList(List<String> personTypeKeyList) {... |
128 |
0
|
this.personTypeKeyList = personTypeKeyList; |
129 |
|
} |
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
134 |
0
|
public List<PersonNameInfo> getPersonNameInfoList() {... |
135 |
0
|
if (personNameInfoList == null) { |
136 |
0
|
personNameInfoList = new ArrayList<PersonNameInfo>(); |
137 |
|
} |
138 |
0
|
return personNameInfoList; |
139 |
|
} |
140 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
141 |
0
|
public void setPersonNameInfoList(List<PersonNameInfo> personNameInfoList) {... |
142 |
0
|
this.personNameInfoList = personNameInfoList; |
143 |
|
} |
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
148 |
0
|
public List<PersonCitizenshipInfo> getPersonCitizenshipInfoList() {... |
149 |
0
|
if (personCitizenshipInfoList == null) { |
150 |
0
|
personCitizenshipInfoList = new ArrayList<PersonCitizenshipInfo>(); |
151 |
|
} |
152 |
0
|
return personCitizenshipInfoList; |
153 |
|
} |
154 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
155 |
0
|
public void setPersonCitizenshipInfoList(List<PersonCitizenshipInfo> personCitizenshipInfoList) {... |
156 |
0
|
this.personCitizenshipInfoList = personCitizenshipInfoList; |
157 |
|
} |
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
162 |
0
|
public List<PersonVisaInfo> getPersonVisaInfoList() {... |
163 |
0
|
if (personVisaInfoList == null) { |
164 |
0
|
personVisaInfoList = new ArrayList<PersonVisaInfo>(); |
165 |
|
} |
166 |
0
|
return personVisaInfoList; |
167 |
|
} |
168 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
169 |
0
|
public void setPersonVisaInfoList(List<PersonVisaInfo> personVisaInfoList) {... |
170 |
0
|
this.personVisaInfoList = personVisaInfoList; |
171 |
|
} |
172 |
|
|
173 |
|
|
174 |
|
|
175 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
176 |
0
|
public List<PersonResidencyInfo> getPersonResidencyInfoList() {... |
177 |
0
|
if (personResidencyInfoList == null) { |
178 |
0
|
personResidencyInfoList = new ArrayList<PersonResidencyInfo>(); |
179 |
|
} |
180 |
0
|
return personResidencyInfoList; |
181 |
|
} |
182 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
183 |
0
|
public void setPersonResidencyInfoList(List<PersonResidencyInfo> personResidencyInfoList) {... |
184 |
0
|
this.personResidencyInfoList = personResidencyInfoList; |
185 |
|
} |
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
190 |
0
|
public List<PersonEthnicityInfo> getPersonEthnicityInfoList() {... |
191 |
0
|
if (personEthnicityInfoList == null) { |
192 |
0
|
personEthnicityInfoList = new ArrayList<PersonEthnicityInfo>(); |
193 |
|
} |
194 |
0
|
return personEthnicityInfoList; |
195 |
|
} |
196 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
197 |
0
|
public void setPersonEthnicityInfoList(List<PersonEthnicityInfo> personEthnicityInfoList) {... |
198 |
0
|
this.personEthnicityInfoList = personEthnicityInfoList; |
199 |
|
} |
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
204 |
0
|
public Date getBirthDate() {... |
205 |
0
|
return birthDate; |
206 |
|
} |
207 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
208 |
0
|
public void setBirthDate(Date birthDate) {... |
209 |
0
|
this.birthDate = birthDate; |
210 |
|
} |
211 |
|
|
212 |
|
|
213 |
|
|
214 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
215 |
0
|
public Boolean getIsTestPerson() {... |
216 |
0
|
return isTestPerson; |
217 |
|
} |
218 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
219 |
0
|
public void setIsTestPerson(Boolean isTestPerson) {... |
220 |
0
|
this.isTestPerson = isTestPerson; |
221 |
|
} |
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
226 |
0
|
public String getGender() {... |
227 |
0
|
return gender; |
228 |
|
} |
229 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
230 |
0
|
public void setGender(String gender) {... |
231 |
0
|
this.gender = gender; |
232 |
|
} |
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
237 |
0
|
public String getPhoto() {... |
238 |
0
|
return photo; |
239 |
|
} |
240 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
241 |
0
|
public void setPhoto(String photo) {... |
242 |
0
|
this.photo = photo; |
243 |
|
} |
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
248 |
0
|
public Date getDeceasedDate() {... |
249 |
0
|
return deceasedDate; |
250 |
|
} |
251 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
252 |
0
|
public void setDeceasedDate(Date deceasedDate) {... |
253 |
0
|
this.deceasedDate = deceasedDate; |
254 |
|
} |
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
259 |
0
|
public String getMaritalStatusCode() {... |
260 |
0
|
return maritalStatusCode; |
261 |
|
} |
262 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
263 |
0
|
public void setMaritalStatusCode(String maritalStatusCode) {... |
264 |
0
|
this.maritalStatusCode = maritalStatusCode; |
265 |
|
} |
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
270 |
0
|
public String getPrimaryLanguageCode() {... |
271 |
0
|
return primaryLanguageCode; |
272 |
|
} |
273 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
274 |
0
|
public void setPrimaryLanguageCode(String primaryLanguageCode) {... |
275 |
0
|
this.primaryLanguageCode = primaryLanguageCode; |
276 |
|
} |
277 |
|
|
278 |
|
|
279 |
|
|
280 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
281 |
0
|
public String getSecondaryLanguageCode() {... |
282 |
0
|
return secondaryLanguageCode; |
283 |
|
} |
284 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
285 |
0
|
public void setSecondaryLanguageCode(String secondaryLanguageCode) {... |
286 |
0
|
this.secondaryLanguageCode = secondaryLanguageCode; |
287 |
|
} |
288 |
|
|
289 |
|
|
290 |
|
|
291 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
292 |
0
|
public String getCountryofBirthCode() {... |
293 |
0
|
return countryofBirthCode; |
294 |
|
} |
295 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
296 |
0
|
public void setCountryofBirthCode(String countryofBirthCode) {... |
297 |
0
|
this.countryofBirthCode = countryofBirthCode; |
298 |
|
} |
299 |
|
|
300 |
|
|
301 |
|
|
302 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
303 |
0
|
public String getStateofBirth() {... |
304 |
0
|
return stateofBirth; |
305 |
|
} |
306 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
307 |
0
|
public void setStateofBirth(String stateofBirth) {... |
308 |
0
|
this.stateofBirth = stateofBirth; |
309 |
|
} |
310 |
|
|
311 |
|
|
312 |
|
|
313 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
314 |
0
|
public String getCityofBirth() {... |
315 |
0
|
return cityofBirth; |
316 |
|
} |
317 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
318 |
0
|
public void setCityofBirth(String cityofBirth) {... |
319 |
0
|
this.cityofBirth = cityofBirth; |
320 |
|
} |
321 |
|
|
322 |
|
|
323 |
|
|
324 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
325 |
0
|
public String getGeographicOrigin() {... |
326 |
0
|
return geographicOrigin; |
327 |
|
} |
328 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
329 |
0
|
public void setGeographicOrigin(String geographicOrigin) {... |
330 |
0
|
this.geographicOrigin = geographicOrigin; |
331 |
|
} |
332 |
|
|
333 |
|
|
334 |
|
|
335 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
336 |
0
|
public Date getEffectiveDate() {... |
337 |
0
|
return effectiveDate; |
338 |
|
} |
339 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
340 |
0
|
public void setEffectiveDate(Date effectiveDate) {... |
341 |
0
|
this.effectiveDate = effectiveDate; |
342 |
|
} |
343 |
|
|
344 |
|
|
345 |
|
|
346 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
347 |
0
|
public Date getExpirationDate() {... |
348 |
0
|
return expirationDate; |
349 |
|
} |
350 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
351 |
0
|
public void setExpirationDate(Date expirationDate) {... |
352 |
0
|
this.expirationDate = expirationDate; |
353 |
|
} |
354 |
|
|
355 |
|
|
356 |
|
|
357 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
358 |
0
|
public Map<String, String> getAttributes() {... |
359 |
0
|
if (attributes == null) { |
360 |
0
|
attributes = new HashMap<String, String>(); |
361 |
|
} |
362 |
0
|
return attributes; |
363 |
|
} |
364 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
365 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
366 |
0
|
this.attributes = attributes; |
367 |
|
} |
368 |
|
|
369 |
|
|
370 |
|
|
371 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
372 |
0
|
public MetaInfo getMetaInfo() {... |
373 |
0
|
return metaInfo; |
374 |
|
} |
375 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
376 |
0
|
public void setMetaInfo(MetaInfo metaInfo) {... |
377 |
0
|
this.metaInfo = metaInfo; |
378 |
|
} |
379 |
|
|
380 |
|
|
381 |
|
|
382 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
383 |
0
|
public String getState() {... |
384 |
0
|
return state; |
385 |
|
} |
386 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
387 |
0
|
public void setState(String state) {... |
388 |
0
|
this.state = state; |
389 |
|
} |
390 |
|
|
391 |
|
|
392 |
|
|
393 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
394 |
0
|
public String getId() {... |
395 |
0
|
return id; |
396 |
|
} |
397 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
398 |
0
|
public void setId(String id) {... |
399 |
0
|
this.id = id; |
400 |
|
} |
401 |
|
} |