@AccessLevel(value=EXTERNAL) public interface Individual extends ConcernRole
Modifier and Type | Method and Description |
---|---|
int |
calculateAge(curam.util.type.Date dateOfCalculation)
Calculates the persons age (in years) on the date of calculation passed in.
|
curam.util.exception.LocalisableString |
getAge(curam.util.type.Date dateOfCalculation)
Returns a
LocalisableString with the persons age on the date of
calculation passed in. |
curam.util.type.Date |
getDateOfBirth()
Retrieves the date of birth of the person.
|
curam.util.type.Date |
getDateOfDeath()
Gets the date of death of the person if the person is already dead.
|
curam.codetable.impl.GENDEREntry |
getGender()
Gets the gender of the person.
|
boolean |
isDateOfBirthVerified()
Retrieves the value of the dateOfBirthVerInd field.
|
boolean |
isDateOfDeathVerified()
Retrieves the value of the dateOfDeathVerInd field.
|
boolean |
isDeceased()
Determines if the person is deceased, i.e. no longer alive.
|
checkSecurity, getEmailAddress, getPrimaryAddress, getPrimaryPhoneNumber, getWebAddress, listRelationships
getComments, getConcernRoleType, getCreationDate, getEndDate, getName, getPreferredCommunicationMethod, getPreferredLanguage, getPrimaryAddressID, getPrimaryAlternateID, getPrimaryEmailAddressID, getRegisteredUserName, getRegistrationDate, getSensitivity, getStartDate, getStatusCode
getContextContainer, getID, getPersistenceEventDispatcher
getCaseRole, getMeetingAttendeeInfo
curam.util.type.Date getDateOfBirth()
Date.kZeroDate
if a
date of birth has not been set.boolean isDateOfBirthVerified()
true
if the date of birth has been verified,
false
otherwise.curam.util.type.Date getDateOfDeath()
boolean isDateOfDeathVerified()
true
if the date of death has been verified,
false
otherwise.boolean isDeceased()
true
if the person is deceased, false
otherwise.isDateOfDeathVerified()
,
getDateOfDeath()
curam.codetable.impl.GENDEREntry getGender()
int calculateAge(curam.util.type.Date dateOfCalculation)
dateOfCalculation
- The date to calculate the person's age on. This parameter is not
mandatory and if set to null
or zeroDate
the current date
is used in the calculation.isDeceased()
curam.util.exception.LocalisableString getAge(curam.util.type.Date dateOfCalculation)
LocalisableString
with the persons age on the date of
calculation passed in. If the client is deceased and the date of
calculation is after the date of death, the age at the time of death is
returned.dateOfCalculation
- The date to calculate the person's age on. This parameter is not
mandatory and if set to null
or zeroDate
the current date
is used in the calculation.isDeceased()