Klasse PersonDTO
java.lang.Object
org.emau.icmvc.ttp.epix.common.model.PersonBaseDTO
org.emau.icmvc.ttp.epix.common.model.PersonDTO
- Alle implementierten Schnittstellen:
Serializable
- Autor:
- geidell
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungPersonDTO
(PersonBaseDTO superDTO, IdentityOutDTO referenceIdentity, List<IdentityOutDTO> otherIdentities) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
getConflictingVitalStatuses
(boolean includeUnknown) Returns a sorted list with distinct vital status descriptors of other identities than the reference identity having a different vital status than the reference identity.org.apache.commons.collections4.SetValuedMap
<VitalStatus.Descriptor, IdentityOutDTO> getIdentitiesWithConflictingVitalStatus
(boolean includeUnknown) Returns a map with (distinct) conflicting vital status descriptors of other identities as keys and sets of corresponding identities as values.Returns the vital status type of the person which is derived from the reference identity and the other identities as follows: If the reference identity or any of the other identities is DEAD, then the person's vital status type is DEAD, otherwise if the reference identity or any of the other identities is ALIVE, then the person's vital status type is ALIVE, otherwise the vital status type of the person is UNKNOWN.int
hashCode()
void
setOtherIdentities
(List<IdentityOutDTO> otherIdentities) void
setReferenceIdentity
(IdentityOutDTO referenceIdentity) toString()
Von Klasse geerbte Methoden org.emau.icmvc.ttp.epix.common.model.PersonBaseDTO
getDomainName, getMpiId, getPersonCreated, getPersonId, getPersonLastEdited, isDeactivated, setDeactivated, setDomainName, setMpiId, setPersonCreated, setPersonId, setPersonLastEdited
-
Konstruktordetails
-
PersonDTO
public PersonDTO() -
PersonDTO
public PersonDTO(PersonBaseDTO superDTO, IdentityOutDTO referenceIdentity, List<IdentityOutDTO> otherIdentities) -
PersonDTO
-
-
Methodendetails
-
getReferenceIdentity
-
setReferenceIdentity
-
getOtherIdentities
-
setOtherIdentities
-
getVitalStatusType
Returns the vital status type of the person which is derived from the reference identity and the other identities as follows: If the reference identity or any of the other identities is DEAD, then the person's vital status type is DEAD, otherwise if the reference identity or any of the other identities is ALIVE, then the person's vital status type is ALIVE, otherwise the vital status type of the person is UNKNOWN.- Gibt zurück:
- the vital status type of the person
-
getIdentitiesWithConflictingVitalStatus
public org.apache.commons.collections4.SetValuedMap<VitalStatus.Descriptor,IdentityOutDTO> getIdentitiesWithConflictingVitalStatus(boolean includeUnknown) Returns a map with (distinct) conflicting vital status descriptors of other identities as keys and sets of corresponding identities as values. Conflicting vital statuses are those statuses of other identities having a different vital status than the reference identity (including date of death if dead).- Parameter:
includeUnknown
- true to include identities with unknown vital status type- Gibt zurück:
- a map with conflicting vital status descriptors as keys and the corresponding identities as values.
-
getConflictingVitalStatuses
Returns a sorted list with distinct vital status descriptors of other identities than the reference identity having a different vital status than the reference identity. The order guarantees to list DEAD statuses with a non-null date of death first, then the DEAD status without a date of death, followed by ALIVE and then UNKNOWN (if present).- Parameter:
includeUnknown
- true to include identities with unknown vital status type- Gibt zurück:
- a sorted list with distinct conflicting vital status descriptors of other identities
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlassePersonBaseDTO
-
equals
- Setzt außer Kraft:
equals
in KlassePersonBaseDTO
-
toString
- Setzt außer Kraft:
toString
in KlassePersonBaseDTO
-