1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.bo.impl; |
17 | |
|
18 | |
import org.apache.commons.lang.StringUtils; |
19 | |
import org.kuali.rice.core.util.type.KualiDecimal; |
20 | |
import org.kuali.rice.kim.api.identity.address.EntityAddress; |
21 | |
import org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation; |
22 | |
import org.kuali.rice.kim.api.identity.affiliation.EntityAffiliationContract; |
23 | |
import org.kuali.rice.kim.api.identity.email.EntityEmailContract; |
24 | |
import org.kuali.rice.kim.api.identity.employment.EntityEmployment; |
25 | |
import org.kuali.rice.kim.api.identity.entity.EntityDefault; |
26 | |
import org.kuali.rice.kim.api.identity.external.EntityExternalIdentifier; |
27 | |
import org.kuali.rice.kim.api.identity.name.EntityName; |
28 | |
import org.kuali.rice.kim.api.identity.phone.EntityPhoneContract; |
29 | |
import org.kuali.rice.kim.api.identity.principal.Principal; |
30 | |
import org.kuali.rice.kim.api.identity.type.EntityTypeDataDefault; |
31 | |
import org.kuali.rice.kim.api.services.IdentityService; |
32 | |
import org.kuali.rice.kim.api.services.KimApiServiceLocator; |
33 | |
import org.kuali.rice.kim.bo.Person; |
34 | |
import org.kuali.rice.kim.bo.entity.impl.KimEntityDefaultInfoCacheImpl; |
35 | |
import org.kuali.rice.kim.impl.identity.employment.EntityEmploymentStatusBo; |
36 | |
import org.kuali.rice.kim.impl.identity.employment.EntityEmploymentTypeBo; |
37 | |
import org.kuali.rice.kim.service.PersonService; |
38 | |
import org.kuali.rice.kim.util.KimCommonUtilsInternal; |
39 | |
import org.kuali.rice.kim.util.KimConstants; |
40 | |
import org.kuali.rice.krad.bo.TransientBusinessObjectBase; |
41 | |
|
42 | |
import java.util.ArrayList; |
43 | |
import java.util.HashMap; |
44 | |
import java.util.List; |
45 | |
import java.util.Map; |
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
public class PersonImpl extends TransientBusinessObjectBase implements Person { |
54 | |
|
55 | |
private static final long serialVersionUID = 1L; |
56 | |
|
57 | |
protected static PersonService personService; |
58 | |
protected static IdentityService identityService; |
59 | |
|
60 | |
private String lookupRoleNamespaceCode; |
61 | |
private String lookupRoleName; |
62 | |
|
63 | |
|
64 | |
protected String principalId; |
65 | |
protected String principalName; |
66 | |
protected String entityId; |
67 | |
protected String entityTypeCode; |
68 | |
|
69 | 0 | protected String firstName = ""; |
70 | 0 | protected String middleName = ""; |
71 | 0 | protected String lastName = ""; |
72 | |
|
73 | 0 | protected String name = ""; |
74 | |
|
75 | |
protected EntityAddress address; |
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | 0 | protected String emailAddress = ""; |
85 | |
|
86 | 0 | protected String phoneNumber = ""; |
87 | |
|
88 | 0 | protected boolean suppressName = false; |
89 | 0 | protected boolean suppressAddress = false; |
90 | 0 | protected boolean suppressPhone = false; |
91 | 0 | protected boolean suppressPersonal = false; |
92 | 0 | protected boolean suppressEmail = false; |
93 | |
|
94 | |
protected List<? extends EntityAffiliationContract> affiliations; |
95 | |
|
96 | 0 | protected String campusCode = ""; |
97 | |
|
98 | |
|
99 | 0 | protected Map<String,String> externalIdentifiers = null; |
100 | |
|
101 | 0 | protected String employeeStatusCode = ""; |
102 | |
protected EntityEmploymentStatusBo employeeStatus; |
103 | 0 | protected String employeeTypeCode = ""; |
104 | |
protected EntityEmploymentTypeBo employeeType; |
105 | 0 | protected String primaryDepartmentCode = ""; |
106 | 0 | protected String employeeId = ""; |
107 | |
|
108 | 0 | protected KualiDecimal baseSalaryAmount = KualiDecimal.ZERO; |
109 | 0 | protected boolean active = true; |
110 | |
|
111 | 0 | public PersonImpl() {} |
112 | |
|
113 | |
public PersonImpl( Principal principal, String personEntityTypeCode ) { |
114 | 0 | this( principal, null, personEntityTypeCode ); |
115 | 0 | } |
116 | |
|
117 | 0 | public PersonImpl( Principal principal, EntityDefault entity, String personEntityTypeCode ) { |
118 | 0 | setPrincipal( principal, entity, personEntityTypeCode ); |
119 | 0 | } |
120 | |
|
121 | |
public PersonImpl( String principalId, String personEntityTypeCode ) { |
122 | 0 | this( getIdentityService().getPrincipal(principalId), personEntityTypeCode ); |
123 | 0 | } |
124 | |
|
125 | 0 | public PersonImpl( KimEntityDefaultInfoCacheImpl p ) { |
126 | 0 | entityId = p.getEntityId(); |
127 | 0 | principalId = p.getPrincipalId(); |
128 | 0 | principalName = p.getPrincipalName(); |
129 | 0 | entityTypeCode = p.getEntityTypeCode(); |
130 | 0 | firstName = p.getFirstName(); |
131 | 0 | middleName = p.getMiddleName(); |
132 | 0 | lastName = p.getLastName(); |
133 | 0 | name = p.getName(); |
134 | 0 | campusCode = p.getCampusCode(); |
135 | 0 | primaryDepartmentCode = p.getPrimaryDepartmentCode(); |
136 | 0 | employeeId = p.getEmployeeId(); |
137 | 0 | affiliations = new ArrayList<EntityAffiliation>( 0 ); |
138 | 0 | externalIdentifiers = new HashMap<String,String>( 0 ); |
139 | 0 | } |
140 | |
|
141 | |
|
142 | |
|
143 | |
|
144 | |
public void setPrincipal(Principal principal, EntityDefault entity, String personEntityTypeCode) { |
145 | 0 | populatePrincipalInfo( principal ); |
146 | 0 | if ( entity == null ) { |
147 | 0 | entity = getIdentityService().getEntityDefault( principal.getEntityId() ); |
148 | |
} |
149 | 0 | populateEntityInfo( entity, principal, personEntityTypeCode ); |
150 | 0 | } |
151 | |
|
152 | |
|
153 | |
protected void populatePrincipalInfo( Principal principal ) { |
154 | 0 | entityId = principal.getEntityId(); |
155 | 0 | principalId = principal.getPrincipalId(); |
156 | 0 | principalName = principal.getPrincipalName(); |
157 | 0 | active = principal.isActive(); |
158 | 0 | } |
159 | |
|
160 | |
protected void populateEntityInfo( EntityDefault entity, Principal principal, String personEntityTypeCode ) { |
161 | 0 | if(entity!=null){ |
162 | 0 | populatePrivacyInfo (entity ); |
163 | 0 | EntityTypeDataDefault entityTypeDataDefault = entity.getEntityType( personEntityTypeCode ); |
164 | 0 | entityTypeCode = personEntityTypeCode; |
165 | 0 | populateNameInfo( personEntityTypeCode, entity, principal ); |
166 | 0 | populateAddressInfo( entityTypeDataDefault ); |
167 | 0 | populateEmailInfo( entityTypeDataDefault ); |
168 | 0 | populatePhoneInfo( entityTypeDataDefault ); |
169 | 0 | populateAffiliationInfo( entity ); |
170 | 0 | populateEmploymentInfo( entity ); |
171 | 0 | populateExternalIdentifiers( entity ); |
172 | |
} |
173 | 0 | } |
174 | |
|
175 | |
protected void populateNameInfo( String entityTypeCode, EntityDefault entity, Principal principal ) { |
176 | 0 | if(entity!=null){ |
177 | 0 | EntityName entityName = entity.getName(); |
178 | 0 | if ( entityName != null ) { |
179 | 0 | firstName = unNullify( entityName.getFirstName()); |
180 | 0 | middleName = unNullify( entityName.getMiddleName() ); |
181 | 0 | lastName = unNullify( entityName.getLastName() ); |
182 | 0 | if ( entityTypeCode.equals( KimConstants.EntityTypes.SYSTEM ) ) { |
183 | 0 | name = principal.getPrincipalName().toUpperCase(); |
184 | |
} else { |
185 | 0 | name = unNullify( entityName.getFormattedName() ); |
186 | 0 | if(name.equals("") || name == null){ |
187 | 0 | name = lastName + ", " + firstName; |
188 | |
} |
189 | |
} |
190 | |
} else { |
191 | 0 | firstName = ""; |
192 | 0 | middleName = ""; |
193 | 0 | if ( entityTypeCode.equals( KimConstants.EntityTypes.SYSTEM ) ) { |
194 | 0 | name = principal.getPrincipalName().toUpperCase(); |
195 | 0 | lastName = principal.getPrincipalName().toUpperCase(); |
196 | |
} else { |
197 | 0 | name = ""; |
198 | 0 | lastName = ""; |
199 | |
} |
200 | |
} |
201 | |
} |
202 | 0 | } |
203 | |
|
204 | |
protected void populatePrivacyInfo (EntityDefault entity) { |
205 | 0 | if(entity!=null) { |
206 | 0 | if (entity.getPrivacyPreferences() != null) { |
207 | 0 | suppressName = entity.getPrivacyPreferences().isSuppressName(); |
208 | 0 | suppressAddress = entity.getPrivacyPreferences().isSuppressAddress(); |
209 | 0 | suppressPhone = entity.getPrivacyPreferences().isSuppressPhone(); |
210 | 0 | suppressPersonal = entity.getPrivacyPreferences().isSuppressPersonal(); |
211 | 0 | suppressEmail = entity.getPrivacyPreferences().isSuppressEmail(); |
212 | |
} |
213 | |
} |
214 | 0 | } |
215 | |
|
216 | |
protected void populateAddressInfo( EntityTypeDataDefault entityTypeData ) { |
217 | 0 | if(entityTypeData!=null){ |
218 | 0 | EntityAddress defaultAddress = entityTypeData.getDefaultAddress(); |
219 | 0 | if ( defaultAddress != null ) { |
220 | 0 | address = defaultAddress; |
221 | |
} else { |
222 | 0 | EntityAddress.Builder builder = EntityAddress.Builder.create(); |
223 | 0 | builder.setCityName(""); |
224 | 0 | builder.setCountryCode(""); |
225 | 0 | builder.setLine1(""); |
226 | 0 | builder.setLine2(""); |
227 | 0 | builder.setLine3(""); |
228 | 0 | builder.setCityName(""); |
229 | 0 | builder.setPostalCode(""); |
230 | 0 | builder.setStateCode(""); |
231 | 0 | builder.setActive(true); |
232 | 0 | address = builder.build(); |
233 | |
} |
234 | |
} |
235 | 0 | } |
236 | |
|
237 | |
protected void populateEmailInfo( EntityTypeDataDefault entityTypeData ) { |
238 | 0 | if(entityTypeData!=null){ |
239 | 0 | EntityEmailContract entityEmail = entityTypeData.getDefaultEmailAddress(); |
240 | 0 | if ( entityEmail != null ) { |
241 | 0 | emailAddress = unNullify( entityEmail.getEmailAddressUnmasked() ); |
242 | |
} else { |
243 | 0 | emailAddress = ""; |
244 | |
} |
245 | |
} |
246 | 0 | } |
247 | |
|
248 | |
protected void populatePhoneInfo( EntityTypeDataDefault entityTypeData ) { |
249 | 0 | if(entityTypeData!=null){ |
250 | 0 | EntityPhoneContract entityPhone = entityTypeData.getDefaultPhoneNumber(); |
251 | 0 | if ( entityPhone != null ) { |
252 | 0 | phoneNumber = unNullify( entityPhone.getFormattedPhoneNumberUnmasked() ); |
253 | |
} else { |
254 | 0 | phoneNumber = ""; |
255 | |
} |
256 | |
} |
257 | 0 | } |
258 | |
|
259 | |
protected void populateAffiliationInfo(EntityDefault entity ) { |
260 | 0 | if(entity!=null){ |
261 | 0 | affiliations = entity.getAffiliations(); |
262 | 0 | EntityAffiliation defaultAffiliation = entity.getDefaultAffiliation(); |
263 | 0 | if ( defaultAffiliation != null ) { |
264 | 0 | campusCode = unNullify( defaultAffiliation.getCampusCode() ); |
265 | |
} else { |
266 | 0 | campusCode = ""; |
267 | |
} |
268 | |
} |
269 | 0 | } |
270 | |
|
271 | |
protected void populateEmploymentInfo( EntityDefault entity ) { |
272 | 0 | if(entity!=null){ |
273 | 0 | EntityEmployment employmentInformation = entity.getEmployment(); |
274 | 0 | if ( employmentInformation != null ) { |
275 | 0 | employeeStatusCode = unNullify( employmentInformation.getEmployeeStatus() != null ? employmentInformation.getEmployeeStatus().getCode() : null); |
276 | 0 | employeeTypeCode = unNullify( employmentInformation.getEmployeeType() != null ? employmentInformation.getEmployeeStatus().getCode() : null); |
277 | 0 | primaryDepartmentCode = unNullify( employmentInformation.getPrimaryDepartmentCode() ); |
278 | 0 | employeeId = unNullify( employmentInformation.getEmployeeId() ); |
279 | 0 | if ( employmentInformation.getBaseSalaryAmount() != null ) { |
280 | 0 | baseSalaryAmount = employmentInformation.getBaseSalaryAmount(); |
281 | |
} else { |
282 | 0 | baseSalaryAmount = KualiDecimal.ZERO; |
283 | |
} |
284 | |
} else { |
285 | 0 | employeeStatusCode = ""; |
286 | 0 | employeeTypeCode = ""; |
287 | 0 | primaryDepartmentCode = ""; |
288 | 0 | employeeId = ""; |
289 | 0 | baseSalaryAmount = KualiDecimal.ZERO; |
290 | |
} |
291 | |
} |
292 | 0 | } |
293 | |
|
294 | |
protected void populateExternalIdentifiers( EntityDefault entity ) { |
295 | 0 | if(entity!=null){ |
296 | 0 | List<? extends EntityExternalIdentifier> externalIds = entity.getExternalIdentifiers(); |
297 | 0 | externalIdentifiers = new HashMap<String,String>( externalIds.size() ); |
298 | 0 | for ( EntityExternalIdentifier eei : externalIds ) { |
299 | 0 | externalIdentifiers.put( eei.getExternalIdentifierTypeCode(), eei.getExternalId() ); |
300 | |
} |
301 | |
} |
302 | 0 | } |
303 | |
|
304 | |
|
305 | |
private String unNullify( String str ) { |
306 | 0 | if ( str == null ) { |
307 | 0 | return ""; |
308 | |
} |
309 | 0 | return str; |
310 | |
} |
311 | |
|
312 | |
|
313 | |
|
314 | |
|
315 | |
public String getEntityId() { |
316 | 0 | return entityId; |
317 | |
} |
318 | |
|
319 | |
|
320 | |
|
321 | |
|
322 | |
public String getPrincipalId() { |
323 | 0 | return principalId; |
324 | |
} |
325 | |
|
326 | |
|
327 | |
|
328 | |
|
329 | |
|
330 | |
|
331 | |
public String getPrincipalName() { |
332 | 0 | return principalName; |
333 | |
} |
334 | |
|
335 | |
|
336 | |
|
337 | |
|
338 | |
public String getFirstName() { |
339 | 0 | if (KimCommonUtilsInternal.isSuppressName(getEntityId())){ |
340 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
341 | |
} |
342 | 0 | return firstName; |
343 | |
} |
344 | |
|
345 | |
|
346 | |
|
347 | |
|
348 | |
public String getFirstNameUnmasked() { |
349 | 0 | return firstName; |
350 | |
} |
351 | |
|
352 | |
|
353 | |
|
354 | |
|
355 | |
public String getMiddleName() { |
356 | 0 | if (KimCommonUtilsInternal.isSuppressName(getEntityId())){ |
357 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
358 | |
} |
359 | 0 | return middleName; |
360 | |
} |
361 | |
|
362 | |
|
363 | |
|
364 | |
|
365 | |
public String getMiddleNameUnmasked() { |
366 | 0 | return middleName; |
367 | |
} |
368 | |
|
369 | |
|
370 | |
|
371 | |
|
372 | |
public String getLastName() { |
373 | 0 | if (KimCommonUtilsInternal.isSuppressName(getEntityId())){ |
374 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
375 | |
} |
376 | 0 | return lastName; |
377 | |
} |
378 | |
|
379 | |
|
380 | |
|
381 | |
|
382 | |
public String getLastNameUnmasked() { |
383 | 0 | return lastName; |
384 | |
} |
385 | |
|
386 | |
|
387 | |
|
388 | |
|
389 | |
public String getName() { |
390 | 0 | if (StringUtils.isNotBlank(getEntityId()) && KimCommonUtilsInternal.isSuppressName(getEntityId())) { |
391 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
392 | |
} |
393 | 0 | return name; |
394 | |
} |
395 | |
|
396 | |
public String getNameUnmasked() { |
397 | 0 | return this.name; |
398 | |
} |
399 | |
|
400 | |
|
401 | |
|
402 | |
|
403 | |
public String getPhoneNumber() { |
404 | 0 | if (KimCommonUtilsInternal.isSuppressPhone(getEntityId())){ |
405 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
406 | |
} |
407 | 0 | return phoneNumber; |
408 | |
} |
409 | |
|
410 | |
|
411 | |
|
412 | |
|
413 | |
public String getPhoneNumberUnmasked() { |
414 | 0 | return phoneNumber; |
415 | |
} |
416 | |
|
417 | |
|
418 | |
|
419 | |
|
420 | |
public String getEmailAddress() { |
421 | 0 | if (KimCommonUtilsInternal.isSuppressEmail(getEntityId())){ |
422 | 0 | return KimConstants.RESTRICTED_DATA_MASK; |
423 | |
} |
424 | 0 | return emailAddress; |
425 | |
} |
426 | |
|
427 | |
public String getEmailAddressUnmasked() { |
428 | 0 | return emailAddress; |
429 | |
} |
430 | |
|
431 | |
public List<? extends EntityAffiliationContract> getAffiliations() { |
432 | 0 | return affiliations; |
433 | |
} |
434 | |
|
435 | |
|
436 | |
|
437 | |
|
438 | |
|
439 | |
|
440 | |
public boolean hasAffiliationOfType(String affiliationTypeCode) { |
441 | 0 | return getCampusCodesForAffiliationOfType(affiliationTypeCode).size() > 0; |
442 | |
} |
443 | |
|
444 | |
|
445 | |
public List<String> getCampusCodesForAffiliationOfType(String affiliationTypeCode) { |
446 | 0 | ArrayList<String> campusCodes = new ArrayList<String>( 3 ); |
447 | 0 | if ( affiliationTypeCode == null ) { |
448 | 0 | return campusCodes; |
449 | |
} |
450 | 0 | for ( EntityAffiliationContract a : getAffiliations() ) { |
451 | 0 | if ( a.getAffiliationType().getCode().equals(affiliationTypeCode) ) { |
452 | 0 | campusCodes.add( a.getCampusCode() ); |
453 | |
} |
454 | |
} |
455 | 0 | return campusCodes; |
456 | |
} |
457 | |
|
458 | |
|
459 | |
|
460 | |
|
461 | |
public String getExternalId(String externalIdentifierTypeCode) { |
462 | 0 | return externalIdentifiers.get( externalIdentifierTypeCode ); |
463 | |
} |
464 | |
|
465 | |
|
466 | |
|
467 | |
|
468 | |
|
469 | |
|
470 | |
public String getCampusCode() { |
471 | 0 | return campusCode; |
472 | |
} |
473 | |
|
474 | |
|
475 | |
|
476 | |
|
477 | |
@SuppressWarnings("unchecked") |
478 | |
public static PersonService getPersonService() { |
479 | 0 | if ( personService == null ) { |
480 | 0 | personService = KimApiServiceLocator.getPersonService(); |
481 | |
} |
482 | 0 | return personService; |
483 | |
} |
484 | |
|
485 | |
|
486 | |
|
487 | |
|
488 | |
public static IdentityService getIdentityService() { |
489 | 0 | if ( identityService == null ) { |
490 | 0 | identityService = KimApiServiceLocator.getIdentityService(); |
491 | |
} |
492 | 0 | return identityService; |
493 | |
} |
494 | |
|
495 | |
|
496 | |
|
497 | |
|
498 | |
public Map<String,String> getExternalIdentifiers() { |
499 | 0 | return externalIdentifiers; |
500 | |
} |
501 | |
|
502 | |
public String getAddressLine1() { |
503 | 0 | return address.getLine1(); |
504 | |
} |
505 | |
|
506 | |
public String getAddressLine1Unmasked() { |
507 | 0 | return address.getLine1Unmasked(); |
508 | |
} |
509 | |
|
510 | |
public String getAddressLine2() { |
511 | 0 | return address.getLine2(); |
512 | |
} |
513 | |
|
514 | |
public String getAddressLine2Unmasked() { |
515 | 0 | return address.getLine2Unmasked(); |
516 | |
} |
517 | |
|
518 | |
public String getAddressLine3() { |
519 | 0 | return address.getLine3(); |
520 | |
} |
521 | |
|
522 | |
public String getAddressLine3Unmasked() { |
523 | 0 | return address.getLine3Unmasked(); |
524 | |
} |
525 | |
|
526 | |
public String getAddressCityName() { |
527 | 0 | return address.getCityName(); |
528 | |
} |
529 | |
|
530 | |
public String getAddressCityNameUnmasked() { |
531 | 0 | return address.getCityNameUnmasked(); |
532 | |
} |
533 | |
|
534 | |
public String getAddressStateCode() { |
535 | 0 | return address.getStateCode(); |
536 | |
} |
537 | |
|
538 | |
public String getAddressStateCodeUnmasked() { |
539 | 0 | return address.getStateCodeUnmasked(); |
540 | |
} |
541 | |
|
542 | |
public String getAddressPostalCode() { |
543 | 0 | return address.getPostalCode(); |
544 | |
} |
545 | |
|
546 | |
public String getAddressPostalCodeUnmasked() { |
547 | 0 | return address.getPostalCodeUnmasked(); |
548 | |
} |
549 | |
|
550 | |
public String getAddressCountryCode() { |
551 | 0 | return address.getCountryCode(); |
552 | |
} |
553 | |
|
554 | |
public String getAddressCountryCodeUnmasked() { |
555 | 0 | return address.getCountryCodeUnmasked(); |
556 | |
} |
557 | |
|
558 | |
public String getEmployeeStatusCode() { |
559 | 0 | return this.employeeStatusCode; |
560 | |
} |
561 | |
|
562 | |
public String getEmployeeTypeCode() { |
563 | 0 | return this.employeeTypeCode; |
564 | |
} |
565 | |
|
566 | |
public KualiDecimal getBaseSalaryAmount() { |
567 | 0 | return this.baseSalaryAmount; |
568 | |
} |
569 | |
|
570 | |
public String getEmployeeId() { |
571 | 0 | return this.employeeId; |
572 | |
} |
573 | |
|
574 | |
public String getPrimaryDepartmentCode() { |
575 | 0 | return this.primaryDepartmentCode; |
576 | |
} |
577 | |
|
578 | |
public String getEntityTypeCode() { |
579 | 0 | return this.entityTypeCode; |
580 | |
} |
581 | |
|
582 | |
public boolean isActive() { |
583 | 0 | return this.active; |
584 | |
} |
585 | |
|
586 | |
public void setActive(boolean active) { |
587 | 0 | this.active = active; |
588 | 0 | } |
589 | |
|
590 | |
|
591 | |
|
592 | |
|
593 | |
public String getLookupRoleNamespaceCode() { |
594 | 0 | return this.lookupRoleNamespaceCode; |
595 | |
} |
596 | |
|
597 | |
|
598 | |
|
599 | |
|
600 | |
public void setLookupRoleNamespaceCode(String lookupRoleNamespaceCode) { |
601 | 0 | this.lookupRoleNamespaceCode = lookupRoleNamespaceCode; |
602 | 0 | } |
603 | |
|
604 | |
|
605 | |
|
606 | |
|
607 | |
public String getLookupRoleName() { |
608 | 0 | return this.lookupRoleName; |
609 | |
} |
610 | |
|
611 | |
|
612 | |
|
613 | |
|
614 | |
public void setLookupRoleName(String lookupRoleName) { |
615 | 0 | this.lookupRoleName = lookupRoleName; |
616 | 0 | } |
617 | |
|
618 | |
|
619 | |
|
620 | |
|
621 | |
public void setPrincipalName(String principalName) { |
622 | 0 | this.principalName = principalName; |
623 | 0 | } |
624 | |
|
625 | |
|
626 | |
|
627 | |
|
628 | |
public void setName(String name) { |
629 | 0 | this.name = name; |
630 | 0 | } |
631 | |
|
632 | |
|
633 | |
|
634 | |
|
635 | |
|
636 | |
public EntityEmploymentStatusBo getEmployeeStatus() { |
637 | 0 | return this.employeeStatus; |
638 | |
} |
639 | |
|
640 | |
public EntityEmploymentTypeBo getEmployeeType() { |
641 | 0 | return this.employeeType; |
642 | |
} |
643 | |
} |