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

public class PersonDTO extends PersonBaseDTO
Autor:
geidell
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getReferenceIdentity

      public IdentityOutDTO getReferenceIdentity()
    • setReferenceIdentity

      public void setReferenceIdentity(IdentityOutDTO referenceIdentity)
    • getOtherIdentities

      public List<IdentityOutDTO> getOtherIdentities()
    • setOtherIdentities

      public void setOtherIdentities(List<IdentityOutDTO> otherIdentities)
    • getVitalStatusType

      public VitalStatusType 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

      public List<VitalStatus.Descriptor> 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. 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 Klasse PersonBaseDTO
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse PersonBaseDTO
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse PersonBaseDTO