1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.api.identity.name; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.text.SimpleDateFormat; |
20 | |
import java.util.Collection; |
21 | |
import java.util.Date; |
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.XmlRootElement; |
27 | |
import javax.xml.bind.annotation.XmlSchemaType; |
28 | |
import javax.xml.bind.annotation.XmlType; |
29 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 | |
|
31 | |
import org.apache.commons.lang.StringUtils; |
32 | |
import org.joda.time.DateTime; |
33 | |
import org.kuali.rice.core.api.CoreConstants; |
34 | |
import org.kuali.rice.core.api.mo.AbstractDataTransferObject; |
35 | |
import org.kuali.rice.core.api.mo.ModelBuilder; |
36 | |
import org.kuali.rice.kim.api.KimConstants; |
37 | |
import org.kuali.rice.kim.api.identity.CodedAttribute; |
38 | |
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; |
39 | |
import org.w3c.dom.Element; |
40 | |
|
41 | |
import javax.xml.bind.annotation.XmlAccessType; |
42 | |
import javax.xml.bind.annotation.XmlAccessorType; |
43 | |
import javax.xml.bind.annotation.XmlAnyElement; |
44 | |
import javax.xml.bind.annotation.XmlElement; |
45 | |
import javax.xml.bind.annotation.XmlRootElement; |
46 | |
import javax.xml.bind.annotation.XmlType; |
47 | |
import java.io.Serializable; |
48 | |
import java.util.Collection; |
49 | |
|
50 | 0 | @XmlRootElement(name = EntityName.Constants.ROOT_ELEMENT_NAME) |
51 | |
@XmlAccessorType(XmlAccessType.NONE) |
52 | |
@XmlType(name = EntityName.Constants.TYPE_NAME, propOrder = { |
53 | |
EntityName.Elements.ID, |
54 | |
EntityName.Elements.ENTITY_ID, |
55 | |
EntityName.Elements.NAME_TYPE, |
56 | |
EntityName.Elements.NAME_PREFIX, |
57 | |
EntityName.Elements.NAME_TITLE, |
58 | |
EntityName.Elements.FIRST_NAME, |
59 | |
EntityName.Elements.MIDDLE_NAME, |
60 | |
EntityName.Elements.LAST_NAME, |
61 | |
EntityName.Elements.NAME_SUFFIX, |
62 | |
EntityName.Elements.COMPOSITE_NAME, |
63 | |
EntityName.Elements.NAME_PREFIX_UNMASKED, |
64 | |
EntityName.Elements.NAME_TITLE_UNMASKED, |
65 | |
EntityName.Elements.FIRST_NAME_UNMASKED, |
66 | |
EntityName.Elements.MIDDLE_NAME_UNMASKED, |
67 | |
EntityName.Elements.LAST_NAME_UNMASKED, |
68 | |
EntityName.Elements.NAME_SUFFIX_UNMASKED, |
69 | |
EntityName.Elements.COMPOSITE_NAME_UNMASKED, |
70 | |
EntityName.Elements.NOTE_MESSAGE, |
71 | |
EntityName.Elements.NAME_CHANGED_DATE, |
72 | |
EntityName.Elements.SUPPRESS_NAME, |
73 | |
EntityName.Elements.DEFAULT_VALUE, |
74 | |
EntityName.Elements.ACTIVE, |
75 | |
CoreConstants.CommonElements.VERSION_NUMBER, |
76 | |
CoreConstants.CommonElements.OBJECT_ID, |
77 | |
CoreConstants.CommonElements.FUTURE_ELEMENTS |
78 | |
}) |
79 | 0 | public final class EntityName extends AbstractDataTransferObject |
80 | |
implements EntityNameContract |
81 | |
{ |
82 | |
|
83 | |
@XmlElement(name = Elements.NAME_SUFFIX, required = false) |
84 | |
private final String nameSuffix; |
85 | |
@XmlElement(name = Elements.ENTITY_ID, required = false) |
86 | |
private final String entityId; |
87 | |
@XmlElement(name = Elements.NAME_TYPE, required = false) |
88 | |
private final CodedAttribute nameType; |
89 | |
@XmlElement(name = Elements.FIRST_NAME, required = false) |
90 | |
private final String firstName; |
91 | |
@XmlElement(name = Elements.FIRST_NAME_UNMASKED, required = false) |
92 | |
private final String firstNameUnmasked; |
93 | |
@XmlElement(name = Elements.MIDDLE_NAME, required = false) |
94 | |
private final String middleName; |
95 | |
@XmlElement(name = Elements.MIDDLE_NAME_UNMASKED, required = false) |
96 | |
private final String middleNameUnmasked; |
97 | |
@XmlElement(name = Elements.LAST_NAME, required = false) |
98 | |
private final String lastName; |
99 | |
@XmlElement(name = Elements.LAST_NAME_UNMASKED, required = false) |
100 | |
private final String lastNameUnmasked; |
101 | |
@XmlElement(name = Elements.NAME_PREFIX, required = false) |
102 | |
private final String namePrefix; |
103 | |
@XmlElement(name = Elements.NAME_PREFIX_UNMASKED, required = false) |
104 | |
private final String namePrefixUnmasked; |
105 | |
@XmlElement(name = Elements.NAME_TITLE, required = false) |
106 | |
private final String nameTitle; |
107 | |
@XmlElement(name = Elements.NAME_TITLE_UNMASKED, required = false) |
108 | |
private final String nameTitleUnmasked; |
109 | |
@XmlElement(name = Elements.NAME_SUFFIX_UNMASKED, required = false) |
110 | |
private final String nameSuffixUnmasked; |
111 | |
@XmlElement(name = Elements.COMPOSITE_NAME, required = false) |
112 | |
private final String compositeName; |
113 | |
@XmlElement(name = Elements.COMPOSITE_NAME_UNMASKED, required = false) |
114 | |
private final String compositeNameUnmasked; |
115 | |
@XmlElement(name = Elements.NOTE_MESSAGE, required = false) |
116 | |
private final String noteMessage; |
117 | |
@XmlElement(name = Elements.NAME_CHANGED_DATE, required = false) |
118 | |
@XmlJavaTypeAdapter(DateTimeAdapter.class) |
119 | |
private final DateTime nameChangedDate; |
120 | |
@XmlElement(name = Elements.SUPPRESS_NAME, required = false) |
121 | |
private final boolean suppressName; |
122 | |
@XmlElement(name = CoreConstants.CommonElements.VERSION_NUMBER, required = false) |
123 | |
private final Long versionNumber; |
124 | |
@XmlElement(name = CoreConstants.CommonElements.OBJECT_ID, required = false) |
125 | |
private final String objectId; |
126 | |
@XmlElement(name = Elements.DEFAULT_VALUE, required = false) |
127 | |
private final boolean defaultValue; |
128 | |
@XmlElement(name = Elements.ACTIVE, required = false) |
129 | |
private final boolean active; |
130 | |
@XmlElement(name = Elements.ID, required = false) |
131 | |
private final String id; |
132 | 0 | @SuppressWarnings("unused") |
133 | |
@XmlAnyElement |
134 | |
private final Collection<Element> _futureElements = null; |
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
|
140 | 0 | private EntityName() { |
141 | 0 | this.nameSuffix = null; |
142 | 0 | this.entityId = null; |
143 | 0 | this.nameType = null; |
144 | 0 | this.firstName = null; |
145 | 0 | this.firstNameUnmasked = null; |
146 | 0 | this.middleName = null; |
147 | 0 | this.middleNameUnmasked = null; |
148 | 0 | this.lastName = null; |
149 | 0 | this.lastNameUnmasked = null; |
150 | 0 | this.namePrefix = null; |
151 | 0 | this.namePrefixUnmasked = null; |
152 | 0 | this.nameTitle = null; |
153 | 0 | this.nameTitleUnmasked = null; |
154 | 0 | this.nameSuffixUnmasked = null; |
155 | 0 | this.compositeName = null; |
156 | 0 | this.compositeNameUnmasked = null; |
157 | 0 | this.noteMessage = null; |
158 | 0 | this.nameChangedDate = null; |
159 | 0 | this.suppressName = false; |
160 | 0 | this.versionNumber = null; |
161 | 0 | this.objectId = null; |
162 | 0 | this.defaultValue = false; |
163 | 0 | this.active = false; |
164 | 0 | this.id = null; |
165 | 0 | } |
166 | |
|
167 | 0 | private EntityName(Builder builder) { |
168 | 0 | this.nameSuffix = builder.getNameSuffix(); |
169 | 0 | this.entityId = builder.getEntityId(); |
170 | 0 | this.nameType = builder.getNameType() != null ? builder.getNameType().build() : null; |
171 | 0 | this.firstName = builder.getFirstName(); |
172 | 0 | this.firstNameUnmasked = builder.getFirstNameUnmasked(); |
173 | 0 | this.middleName = builder.getMiddleName(); |
174 | 0 | this.middleNameUnmasked = builder.getMiddleNameUnmasked(); |
175 | 0 | this.lastName = builder.getLastName(); |
176 | 0 | this.lastNameUnmasked = builder.getLastNameUnmasked(); |
177 | 0 | this.namePrefix = builder.getNamePrefix(); |
178 | 0 | this.namePrefixUnmasked = builder.getNamePrefixUnmasked(); |
179 | 0 | this.nameTitle = builder.getNameTitle(); |
180 | 0 | this.nameTitleUnmasked = builder.getNameTitleUnmasked(); |
181 | 0 | this.nameSuffixUnmasked = builder.getNameSuffixUnmasked(); |
182 | 0 | this.compositeName = builder.getCompositeName(); |
183 | 0 | this.compositeNameUnmasked = builder.getCompositeNameUnmasked(); |
184 | 0 | this.noteMessage = builder.getNoteMessage(); |
185 | 0 | this.nameChangedDate = builder.getNameChangedDate(); |
186 | 0 | this.suppressName = builder.isSuppressName(); |
187 | 0 | this.versionNumber = builder.getVersionNumber(); |
188 | 0 | this.objectId = builder.getObjectId(); |
189 | 0 | this.defaultValue = builder.isDefaultValue(); |
190 | 0 | this.active = builder.isActive(); |
191 | 0 | this.id = builder.getId(); |
192 | 0 | } |
193 | |
|
194 | |
@Override |
195 | |
public String getNameSuffix() { |
196 | 0 | return this.nameSuffix; |
197 | |
} |
198 | |
|
199 | |
@Override |
200 | |
public String getEntityId() { |
201 | 0 | return this.entityId; |
202 | |
} |
203 | |
|
204 | |
@Override |
205 | |
public CodedAttribute getNameType() { |
206 | 0 | return this.nameType; |
207 | |
} |
208 | |
|
209 | |
@Override |
210 | |
public String getFirstName() { |
211 | 0 | return this.firstName; |
212 | |
} |
213 | |
|
214 | |
@Override |
215 | |
public String getFirstNameUnmasked() { |
216 | 0 | return this.firstNameUnmasked; |
217 | |
} |
218 | |
|
219 | |
@Override |
220 | |
public String getMiddleName() { |
221 | 0 | return this.middleName; |
222 | |
} |
223 | |
|
224 | |
@Override |
225 | |
public String getMiddleNameUnmasked() { |
226 | 0 | return this.middleNameUnmasked; |
227 | |
} |
228 | |
|
229 | |
@Override |
230 | |
public String getLastName() { |
231 | 0 | return this.lastName; |
232 | |
} |
233 | |
|
234 | |
@Override |
235 | |
public String getLastNameUnmasked() { |
236 | 0 | return this.lastNameUnmasked; |
237 | |
} |
238 | |
|
239 | |
@Override |
240 | |
public String getNamePrefix() { |
241 | 0 | return this.namePrefix; |
242 | |
} |
243 | |
|
244 | |
@Override |
245 | |
public String getNamePrefixUnmasked() { |
246 | 0 | return this.namePrefixUnmasked; |
247 | |
} |
248 | |
|
249 | |
@Override |
250 | |
public String getNameTitle() { |
251 | 0 | return this.nameTitle; |
252 | |
} |
253 | |
|
254 | |
@Override |
255 | |
public String getNameTitleUnmasked() { |
256 | 0 | return this.nameTitleUnmasked; |
257 | |
} |
258 | |
|
259 | |
@Override |
260 | |
public String getNameSuffixUnmasked() { |
261 | 0 | return this.nameSuffixUnmasked; |
262 | |
} |
263 | |
|
264 | |
@Override |
265 | |
public String getCompositeName() { |
266 | 0 | return this.compositeName; |
267 | |
} |
268 | |
|
269 | |
@Override |
270 | |
public String getCompositeNameUnmasked() { |
271 | 0 | return this.compositeNameUnmasked; |
272 | |
} |
273 | |
|
274 | |
@Override |
275 | |
public String getNoteMessage() { |
276 | 0 | return this.noteMessage; |
277 | |
} |
278 | |
|
279 | |
@Override |
280 | |
public DateTime getNameChangedDate() { |
281 | 0 | return this.nameChangedDate; |
282 | |
} |
283 | |
|
284 | |
@Override |
285 | |
public boolean isSuppressName() { |
286 | 0 | return this.suppressName; |
287 | |
} |
288 | |
|
289 | |
@Override |
290 | |
public Long getVersionNumber() { |
291 | 0 | return this.versionNumber; |
292 | |
} |
293 | |
|
294 | |
@Override |
295 | |
public String getObjectId() { |
296 | 0 | return this.objectId; |
297 | |
} |
298 | |
|
299 | |
@Override |
300 | |
public boolean isDefaultValue() { |
301 | 0 | return this.defaultValue; |
302 | |
} |
303 | |
|
304 | |
@Override |
305 | |
public boolean isActive() { |
306 | 0 | return this.active; |
307 | |
} |
308 | |
|
309 | |
@Override |
310 | |
public String getId() { |
311 | 0 | return this.id; |
312 | |
} |
313 | |
|
314 | |
|
315 | |
|
316 | |
|
317 | |
|
318 | |
|
319 | 0 | public final static class Builder |
320 | |
implements Serializable, ModelBuilder, EntityNameContract |
321 | |
{ |
322 | |
|
323 | |
private String nameSuffix; |
324 | |
private String entityId; |
325 | |
private CodedAttribute.Builder nameType; |
326 | |
private String firstName; |
327 | |
private String middleName; |
328 | |
private String lastName; |
329 | |
private String namePrefix; |
330 | |
private String nameTitle; |
331 | |
private String noteMessage; |
332 | |
private DateTime nameChangedDate; |
333 | |
private boolean suppressName; |
334 | |
private Long versionNumber; |
335 | |
private String objectId; |
336 | |
private boolean defaultValue; |
337 | |
private boolean active; |
338 | |
private String id; |
339 | |
|
340 | 0 | private Builder() { } |
341 | |
|
342 | |
public static Builder create() { |
343 | 0 | return new Builder(); |
344 | |
} |
345 | |
|
346 | |
public static Builder create(EntityNameContract contract) { |
347 | 0 | if (contract == null) { |
348 | 0 | throw new IllegalArgumentException("contract was null"); |
349 | |
} |
350 | 0 | Builder builder = create(); |
351 | 0 | builder.setNameSuffix(contract.getNameSuffix()); |
352 | 0 | builder.setEntityId(contract.getEntityId()); |
353 | 0 | if (contract.getNameType() != null) { |
354 | 0 | builder.setNameType(CodedAttribute.Builder.create(contract.getNameType())); |
355 | |
} |
356 | 0 | builder.setFirstName(contract.getFirstName()); |
357 | 0 | builder.setMiddleName(contract.getMiddleName()); |
358 | 0 | builder.setLastName(contract.getLastName()); |
359 | 0 | builder.setNamePrefix(contract.getNamePrefix()); |
360 | 0 | builder.setNameTitle(contract.getNameTitle()); |
361 | 0 | builder.setNoteMessage(contract.getNoteMessage()); |
362 | 0 | builder.setNameChangedDate(contract.getNameChangedDate()); |
363 | 0 | builder.setSuppressName(contract.isSuppressName()); |
364 | 0 | builder.setVersionNumber(contract.getVersionNumber()); |
365 | 0 | builder.setObjectId(contract.getObjectId()); |
366 | 0 | builder.setDefaultValue(contract.isDefaultValue()); |
367 | 0 | builder.setActive(contract.isActive()); |
368 | 0 | builder.setId(contract.getId()); |
369 | 0 | return builder; |
370 | |
} |
371 | |
|
372 | |
public EntityName build() { |
373 | 0 | return new EntityName(this); |
374 | |
} |
375 | |
|
376 | |
@Override |
377 | |
public String getNameSuffix() { |
378 | 0 | if (isSuppressName()) { |
379 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
380 | |
} |
381 | 0 | return this.nameSuffix; |
382 | |
} |
383 | |
|
384 | |
@Override |
385 | |
public String getEntityId() { |
386 | 0 | return this.entityId; |
387 | |
} |
388 | |
|
389 | |
@Override |
390 | |
public CodedAttribute.Builder getNameType() { |
391 | 0 | return this.nameType; |
392 | |
} |
393 | |
|
394 | |
@Override |
395 | |
public String getFirstName() { |
396 | 0 | if (isSuppressName()) { |
397 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
398 | |
} |
399 | 0 | return this.firstName; |
400 | |
} |
401 | |
|
402 | |
@Override |
403 | |
public String getFirstNameUnmasked() { |
404 | 0 | return this.firstName; |
405 | |
} |
406 | |
|
407 | |
@Override |
408 | |
public String getMiddleName() { |
409 | 0 | if (isSuppressName()) { |
410 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
411 | |
} |
412 | 0 | return this.middleName; |
413 | |
} |
414 | |
|
415 | |
@Override |
416 | |
public String getMiddleNameUnmasked() { |
417 | 0 | return this.middleName; |
418 | |
} |
419 | |
|
420 | |
@Override |
421 | |
public String getLastName() { |
422 | 0 | if (isSuppressName()) { |
423 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
424 | |
} |
425 | 0 | return this.lastName; |
426 | |
} |
427 | |
|
428 | |
@Override |
429 | |
public String getLastNameUnmasked() { |
430 | 0 | return this.lastName; |
431 | |
} |
432 | |
|
433 | |
@Override |
434 | |
public String getNamePrefix() { |
435 | 0 | if (isSuppressName()) { |
436 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
437 | |
} |
438 | 0 | return this.namePrefix; |
439 | |
} |
440 | |
|
441 | |
@Override |
442 | |
public String getNamePrefixUnmasked() { |
443 | 0 | return this.namePrefix; |
444 | |
} |
445 | |
|
446 | |
@Override |
447 | |
public String getNameTitle() { |
448 | 0 | if (isSuppressName()) { |
449 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
450 | |
} |
451 | 0 | return this.nameTitle; |
452 | |
} |
453 | |
|
454 | |
@Override |
455 | |
public String getNameTitleUnmasked() { |
456 | 0 | return this.nameTitle; |
457 | |
} |
458 | |
|
459 | |
@Override |
460 | |
public String getNameSuffixUnmasked() { |
461 | 0 | return this.nameSuffix; |
462 | |
} |
463 | |
|
464 | |
@Override |
465 | |
public String getCompositeName() { |
466 | 0 | if (isSuppressName()) { |
467 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
468 | |
} |
469 | 0 | return getCompositeNameUnmasked(); |
470 | |
} |
471 | |
|
472 | |
@Override |
473 | |
public String getCompositeNameUnmasked() { |
474 | 0 | return getLastName() + ", " + getFirstName() + (getMiddleName()==null?"":" " + getMiddleName()); |
475 | |
} |
476 | |
|
477 | |
@Override |
478 | |
public String getNoteMessage() { |
479 | 0 | return this.noteMessage; |
480 | |
} |
481 | |
|
482 | |
@Override |
483 | |
public DateTime getNameChangedDate() { |
484 | 0 | return this.nameChangedDate; |
485 | |
} |
486 | |
|
487 | |
@Override |
488 | |
public boolean isSuppressName() { |
489 | 0 | return this.suppressName; |
490 | |
} |
491 | |
|
492 | |
@Override |
493 | |
public Long getVersionNumber() { |
494 | 0 | return this.versionNumber; |
495 | |
} |
496 | |
|
497 | |
@Override |
498 | |
public String getObjectId() { |
499 | 0 | return this.objectId; |
500 | |
} |
501 | |
|
502 | |
@Override |
503 | |
public boolean isDefaultValue() { |
504 | 0 | return this.defaultValue; |
505 | |
} |
506 | |
|
507 | |
@Override |
508 | |
public boolean isActive() { |
509 | 0 | return this.active; |
510 | |
} |
511 | |
|
512 | |
@Override |
513 | |
public String getId() { |
514 | 0 | return this.id; |
515 | |
} |
516 | |
|
517 | |
public void setNameSuffix(String nameSuffix) { |
518 | 0 | this.nameSuffix = nameSuffix; |
519 | 0 | } |
520 | |
|
521 | |
public void setEntityId(String entityId) { |
522 | 0 | this.entityId = entityId; |
523 | 0 | } |
524 | |
|
525 | |
public void setNameType(CodedAttribute.Builder nameType) { |
526 | 0 | this.nameType = nameType; |
527 | 0 | } |
528 | |
|
529 | |
public void setFirstName(String firstName) { |
530 | 0 | this.firstName = firstName; |
531 | 0 | } |
532 | |
|
533 | |
public void setMiddleName(String middleName) { |
534 | |
|
535 | 0 | this.middleName = middleName; |
536 | 0 | } |
537 | |
|
538 | |
public void setLastName(String lastName) { |
539 | 0 | this.lastName = lastName; |
540 | 0 | } |
541 | |
|
542 | |
public void setNamePrefix(String namePrefix) { |
543 | 0 | this.namePrefix = namePrefix; |
544 | 0 | } |
545 | |
|
546 | |
public void setNameTitle(String nameTitle) { |
547 | 0 | this.nameTitle = nameTitle; |
548 | 0 | } |
549 | |
|
550 | |
public void setNoteMessage(String noteMessage) { |
551 | 0 | this.noteMessage = noteMessage; |
552 | 0 | } |
553 | |
|
554 | |
public void setNameChangedDate(DateTime nameChangedDate) { |
555 | 0 | this.nameChangedDate = nameChangedDate; |
556 | 0 | } |
557 | |
|
558 | |
private void setSuppressName(boolean suppressName) { |
559 | 0 | this.suppressName = suppressName; |
560 | 0 | } |
561 | |
|
562 | |
public void setVersionNumber(Long versionNumber) { |
563 | 0 | this.versionNumber = versionNumber; |
564 | 0 | } |
565 | |
|
566 | |
public void setObjectId(String objectId) { |
567 | 0 | this.objectId = objectId; |
568 | 0 | } |
569 | |
|
570 | |
public void setDefaultValue(boolean defaultValue) { |
571 | 0 | this.defaultValue = defaultValue; |
572 | 0 | } |
573 | |
|
574 | |
public void setActive(boolean active) { |
575 | 0 | this.active = active; |
576 | 0 | } |
577 | |
|
578 | |
public void setId(String id) { |
579 | 0 | if (StringUtils.isWhitespace(id)) { |
580 | 0 | throw new IllegalArgumentException("id is blank"); |
581 | |
} |
582 | 0 | this.id = id; |
583 | 0 | } |
584 | |
|
585 | |
} |
586 | |
|
587 | |
|
588 | |
|
589 | |
|
590 | |
|
591 | |
|
592 | 0 | static class Constants { |
593 | |
|
594 | |
final static String ROOT_ELEMENT_NAME = "entityName"; |
595 | |
final static String TYPE_NAME = "EntityNameType"; |
596 | |
} |
597 | |
|
598 | |
|
599 | |
|
600 | |
|
601 | |
|
602 | |
|
603 | 0 | static class Elements { |
604 | |
|
605 | |
final static String NAME_SUFFIX = "nameSuffix"; |
606 | |
final static String ENTITY_ID = "entityId"; |
607 | |
final static String NAME_TYPE = "nameType"; |
608 | |
final static String FIRST_NAME = "firstName"; |
609 | |
final static String FIRST_NAME_UNMASKED = "firstNameUnmasked"; |
610 | |
final static String MIDDLE_NAME = "middleName"; |
611 | |
final static String MIDDLE_NAME_UNMASKED = "middleNameUnmasked"; |
612 | |
final static String LAST_NAME = "lastName"; |
613 | |
final static String LAST_NAME_UNMASKED = "lastNameUnmasked"; |
614 | |
final static String NAME_PREFIX = "namePrefix"; |
615 | |
final static String NAME_PREFIX_UNMASKED = "namePrefixUnmasked"; |
616 | |
final static String NAME_TITLE = "nameTitle"; |
617 | |
final static String NAME_TITLE_UNMASKED = "nameTitleUnmasked"; |
618 | |
final static String NAME_SUFFIX_UNMASKED = "nameSuffixUnmasked"; |
619 | |
final static String COMPOSITE_NAME = "compositeName"; |
620 | |
final static String COMPOSITE_NAME_UNMASKED = "compositeNameUnmasked"; |
621 | |
final static String NOTE_MESSAGE = "noteMessage"; |
622 | |
final static String NAME_CHANGED_DATE= "nameChangedDate"; |
623 | |
final static String SUPPRESS_NAME = "suppressName"; |
624 | |
final static String DEFAULT_VALUE = "defaultValue"; |
625 | |
final static String ACTIVE = "active"; |
626 | |
final static String ID = "id"; |
627 | |
|
628 | |
} |
629 | |
|
630 | |
} |