|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.identity.personal.EntityBioDemographicsHistory.Builder
public static final class EntityBioDemographicsHistory.Builder
A builder which can be used to construct EntityBioDemographicsHistory
instances. Enforces the constraints of the EntityBioDemographicsContract
.
Field Summary |
---|
Fields inherited from interface org.kuali.rice.kim.api.identity.personal.EntityBioDemographicsContract |
---|
BIRTH_DATE_FORMAT, DECEASED_DATE_FORMAT |
Method Summary | |
---|---|
EntityBioDemographicsHistory |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityBioDemographicsHistory.Builder |
create(EntityBioDemographicsHistoryContract contract)
|
static EntityBioDemographicsHistory.Builder |
create(String entityId,
String genderCode)
|
org.joda.time.DateTime |
getActiveFromDate()
Gets the date for which the record become active. |
org.joda.time.DateTime |
getActiveToDate()
Gets the date for which the record become inactive. |
Integer |
getAge()
Gets this EntityBioDemographicsContract 's current age based on birth date if present. |
String |
getBirthCity()
Gets this EntityBioDemographicsContract 's city of birth. |
String |
getBirthCityUnmasked()
Gets this EntityBioDemographicsContract 's unmasked city of birth. |
String |
getBirthCountry()
Gets this EntityBioDemographicsContract 's country of birth code. |
String |
getBirthCountryUnmasked()
Gets this EntityBioDemographicsContract 's unmasked country of birth code. |
String |
getBirthDate()
Gets this EntityBioDemographicsContract 's birth date. |
String |
getBirthDateUnmasked()
Gets this EntityBioDemographicsContract 's unmasked birth date. |
String |
getBirthStateProvinceCode()
Gets this EntityBioDemographicsContract 's birth state or extra-state jurisdiction code. |
String |
getBirthStateProvinceCodeUnmasked()
Gets this EntityBioDemographicsContract 's unmasked birth state or extra-state jurisdiction code. |
String |
getDeceasedDate()
Gets this EntityBioDemographicsContract 's deceased date. |
List<EntityDisabilityHistory.Builder> |
getDisabilities()
Get the EntityBioDemographicsContract 's disabilities |
String |
getEntityId()
Gets this EntityBioDemographicsContract 's identity id. |
String |
getGenderChangeCode()
Get the EntityBioDemographicsContract 's gender change code
Corresponds to PESC GenderChangeCode |
String |
getGenderChangeCodeUnmasked()
Get the EntityBioDemographicsContract 's gender change code
Corresponds to PESC GenderChangeCode |
String |
getGenderCode()
Gets this EntityBioDemographicsContract 's gender code. |
String |
getGenderCodeUnmasked()
Gets this EntityBioDemographicsContract 's unmasked gender code. |
String |
getGeographicOrigin()
Gets this EntityBioDemographicsContract 's geographic origin. |
String |
getGeographicOriginUnmasked()
Gets this EntityBioDemographicsContract 's unmasked geographic origin. |
Long |
getHistoryId()
|
String |
getMaritalStatusCode()
Gets this EntityBioDemographicsContract 's marital status code. |
String |
getMaritalStatusCodeUnmasked()
Gets this EntityBioDemographicsContract 's unmasked martial status code. |
List<EntityMilitaryHistory.Builder> |
getMilitaryRecords()
Returns if the EntityBioDemographicsContract 's entity is disabled. |
String |
getNoteMessage()
Get the note associated with this EntityBioDemographicsContract
Corresponds to PESC NoteMessage |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getPrimaryLanguageCode()
Gets this EntityBioDemographicsContract 's primary language code. |
String |
getPrimaryLanguageCodeUnmasked()
Gets this EntityBioDemographicsContract 's unmasked primary language code. |
String |
getSecondaryLanguageCode()
Gets this EntityBioDemographicsContract 's secondary language code. |
String |
getSecondaryLanguageCodeUnmasked()
Gets this EntityBioDemographicsContract 's unmasked secondary language code. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isActive(org.joda.time.DateTime activeAsOf)
Returns if the record is active for a given Time. |
boolean |
isActiveNow()
|
boolean |
isDisabled()
Returns an indicator that signifies if the EntityBioDemographicsContract 's entity is disabled. |
boolean |
isSuppressPersonal()
Returns a boolean value that determines if personal fields should be suppressed. |
boolean |
isVeteran()
Returns an indicator that signifies if the EntityBioDemographicsContract 's entity is a veteran. |
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setBirthCity(String birthCity)
|
void |
setBirthCountry(String birthCountry)
|
void |
setBirthDate(Date birthDate)
|
void |
setBirthDate(String birthDate)
|
void |
setBirthStateProvinceCode(String birthStateProvinceCode)
|
void |
setDeceasedDate(Date deceasedDate)
|
void |
setDeceasedDate(String deceasedDate)
|
void |
setDisabilities(List<EntityDisabilityHistory.Builder> disabilities)
|
void |
setEntityId(String entityId)
|
void |
setGenderChangeCode(String genderChangeCode)
|
void |
setGenderCode(String genderCode)
|
void |
setGeographicOrigin(String geographicOrigin)
|
void |
setHistoryId(Long historyId)
|
void |
setMaritalStatusCode(String maritalStatusCode)
|
void |
setMilitaryRecords(List<EntityMilitaryHistory.Builder> militaryRecords)
|
void |
setObjectId(String objectId)
|
void |
setPrimaryLanguageCode(String primaryLanguageCode)
|
void |
setSecondaryLanguageCode(String secondaryLanguageCode)
|
void |
setVersionNumber(Long versionNumber)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EntityBioDemographicsHistory.Builder create(String entityId, String genderCode)
public static EntityBioDemographicsHistory.Builder create(EntityBioDemographicsHistoryContract contract)
public EntityBioDemographicsHistory build()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityBioDemographicsContract
EntityBioDemographicsContract
's identity id.
getEntityId
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getDeceasedDate()
EntityBioDemographicsContract
EntityBioDemographicsContract
's deceased date.
getDeceasedDate
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthDate()
EntityBioDemographicsContract
EntityBioDemographicsContract
's birth date.
getBirthDate
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public Integer getAge()
EntityBioDemographicsContract
EntityBioDemographicsContract
's current age based on birth date if present. Age calculation uses
deceased date if present.
getAge
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if EntityBioDemographicsContract.getBirthDate()
is unpresent, suppressed, or there is a calculation error.public String getGenderCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's gender code.
getGenderCode
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getGenderChangeCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's gender change code
Corresponds to PESC GenderChangeCode
getGenderChangeCode
in interface EntityBioDemographicsContract
public String getMaritalStatusCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's marital status code.
getMaritalStatusCode
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getPrimaryLanguageCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's primary language code.
getPrimaryLanguageCode
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getSecondaryLanguageCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's secondary language code.
getSecondaryLanguageCode
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthCountry()
EntityBioDemographicsContract
EntityBioDemographicsContract
's country of birth code.
Corresponds to PESC BirthCountry.
getBirthCountry
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthStateProvinceCode()
EntityBioDemographicsContract
EntityBioDemographicsContract
's birth state or extra-state jurisdiction code. Corresponds to PESC BirthStateProvinceCode.
getBirthStateProvinceCode
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthCity()
EntityBioDemographicsContract
EntityBioDemographicsContract
's city of birth. Corresponds to PESC BirthCity.
getBirthCity
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getGeographicOrigin()
EntityBioDemographicsContract
EntityBioDemographicsContract
's geographic origin.
getGeographicOrigin
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthDateUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked birth date.
getBirthDateUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getGenderCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked gender code.
getGenderCodeUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getGenderChangeCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's gender change code
Corresponds to PESC GenderChangeCode
getGenderChangeCodeUnmasked
in interface EntityBioDemographicsContract
public String getMaritalStatusCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked martial status code.
getMaritalStatusCodeUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getPrimaryLanguageCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked primary language code.
getPrimaryLanguageCodeUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getSecondaryLanguageCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked secondary language code.
getSecondaryLanguageCodeUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthCountryUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked country of birth code.
getBirthCountryUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthStateProvinceCodeUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked birth state or extra-state jurisdiction code. Corresponds to PESC BirthStateProvinceCode.
getBirthStateProvinceCodeUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getBirthCityUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked city of birth. Corresponds to PESC BirthCity.
getBirthCityUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getGeographicOriginUnmasked()
EntityBioDemographicsContract
EntityBioDemographicsContract
's unmasked geographic origin.
getGeographicOriginUnmasked
in interface EntityBioDemographicsContract
EntityBioDemographicsContract
, or null if none has been assigned.public String getNoteMessage()
EntityBioDemographicsContract
EntityBioDemographicsContract
Corresponds to PESC NoteMessage
getNoteMessage
in interface EntityBioDemographicsContract
public boolean isSuppressPersonal()
EntityBioDemographicsContract
isSuppressPersonal
in interface EntityBioDemographicsContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isVeteran()
EntityBioDemographicsContract
EntityBioDemographicsContract
's entity is a veteran.
This value is determined by the contents of the EntityBioDemographicsContract
's military values
isVeteran
in interface EntityBioDemographicsContract
public boolean isDisabled()
EntityBioDemographicsContract
EntityBioDemographicsContract
's entity is disabled.
This value is determined by the contents of the EntityBioDemographicsContract
's disabilities values
isDisabled
in interface EntityBioDemographicsContract
public List<EntityDisabilityHistory.Builder> getDisabilities()
EntityBioDemographicsHistoryContract
EntityBioDemographicsContract
's disabilities
getDisabilities
in interface EntityBioDemographicsContract
getDisabilities
in interface EntityBioDemographicsHistoryContract
public List<EntityMilitaryHistory.Builder> getMilitaryRecords()
EntityBioDemographicsHistoryContract
EntityBioDemographicsContract
's entity is disabled.
This value is determined by the contents of the EntityBioDemographicsContract
's disabilities values
getMilitaryRecords
in interface EntityBioDemographicsContract
getMilitaryRecords
in interface EntityBioDemographicsHistoryContract
public Long getHistoryId()
getHistoryId
in interface Historical
public boolean isActiveNow()
isActiveNow
in interface Historical
public boolean isActive(org.joda.time.DateTime activeAsOf)
InactivatableFromTo
isActive
in interface InactivatableFromTo
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate
in interface InactivatableFromTo
public org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate
in interface InactivatableFromTo
public void setHistoryId(Long historyId)
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public void setEntityId(String entityId)
public void setDeceasedDate(String deceasedDate)
public void setBirthDate(String birthDate)
public void setDeceasedDate(Date deceasedDate)
public void setBirthDate(Date birthDate)
public void setGenderCode(String genderCode)
public void setGenderChangeCode(String genderChangeCode)
public void setMaritalStatusCode(String maritalStatusCode)
public void setPrimaryLanguageCode(String primaryLanguageCode)
public void setSecondaryLanguageCode(String secondaryLanguageCode)
public void setBirthCountry(String birthCountry)
public void setBirthStateProvinceCode(String birthStateProvinceCode)
public void setBirthCity(String birthCity)
public void setGeographicOrigin(String geographicOrigin)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setDisabilities(List<EntityDisabilityHistory.Builder> disabilities)
public void setMilitaryRecords(List<EntityMilitaryHistory.Builder> militaryRecords)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |