All Implemented Interfaces:
NamedEntity

public class Person extends Agent
Human being that has certain capacities or attributes constituting personhood.
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Agent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Agent
    • getDateOfBirth

      public LocalDate getDateOfBirth()
    • getDateOfDeath

      public LocalDate getDateOfDeath()
    • getFamilyNames

      public List<FamilyName> getFamilyNames()
      Returns:
      family names (more than one when change during life, e.g. at marriage; first one is name at birth)
    • getGender

      public Gender getGender()
    • getGivenNames

      public List<GivenName> getGivenNames()
    • getPlaceOfBirth

      public GeoLocation getPlaceOfBirth()
    • getPlaceOfDeath

      public GeoLocation getPlaceOfDeath()
    • getTimeValueOfBirth

      public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfBirth()
    • getTimeValueOfDeath

      public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfDeath()
    • init

      protected void init()
      Description copied from class: UniqueObject
      Use to initialize member variables, used by default constructor and builder
      Overrides:
      init in class Agent
    • setDateOfBirth

      public void setDateOfBirth(LocalDate dateOfBirth)
    • setDateOfDeath

      public void setDateOfDeath(LocalDate dateOfDeath)
    • setFamilyNames

      public void setFamilyNames(List<FamilyName> familyNames)
    • setGender

      public void setGender(Gender gender)
    • setGivenNames

      public void setGivenNames(List<GivenName> givenNames)
    • setPlaceOfBirth

      public void setPlaceOfBirth(GeoLocation placeOfBirth)
    • setPlaceOfDeath

      public void setPlaceOfDeath(GeoLocation placeOfDeath)
    • setTimeValueOfBirth

      public void setTimeValueOfBirth(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfBirth)
    • setTimeValueOfDeath

      public void setTimeValueOfDeath(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfDeath)
    • toString

      public String toString()
      Overrides:
      toString in class Agent