All Implemented Interfaces:
Agent, Person, Entity, Identifiable

public class PersonImpl
extends AgentImpl
implements Person
  • Constructor Details

    • PersonImpl

      public PersonImpl()
    • PersonImpl

      public PersonImpl​(LocalizedText label, java.util.Set<Identifier> identifiers)
  • Method Details

    • getDateOfBirth

      public java.time.LocalDate getDateOfBirth()
      Specified by:
      getDateOfBirth in interface Person
    • getDateOfDeath

      public java.time.LocalDate getDateOfDeath()
      Specified by:
      getDateOfDeath in interface Person
    • getGender

      public Gender getGender()
      Specified by:
      getGender in interface Person
    • getPlaceOfBirth

      public GeoLocation getPlaceOfBirth()
      Specified by:
      getPlaceOfBirth in interface Person
    • getPlaceOfDeath

      public GeoLocation getPlaceOfDeath()
      Specified by:
      getPlaceOfDeath in interface Person
    • getTimeValueOfBirth

      public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfBirth()
      Specified by:
      getTimeValueOfBirth in interface Person
    • getTimeValueOfDeath

      public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfDeath()
      Specified by:
      getTimeValueOfDeath in interface Person
    • setDateOfBirth

      public void setDateOfBirth​(java.time.LocalDate dateOfBirth)
      Specified by:
      setDateOfBirth in interface Person
    • setDateOfDeath

      public void setDateOfDeath​(java.time.LocalDate dateOfDeath)
      Specified by:
      setDateOfDeath in interface Person
    • setGender

      public void setGender​(Gender gender)
      Specified by:
      setGender in interface Person
    • setPlaceOfBirth

      public void setPlaceOfBirth​(GeoLocation placeOfBirth)
      Specified by:
      setPlaceOfBirth in interface Person
    • setPlaceOfDeath

      public void setPlaceOfDeath​(GeoLocation placeOfDeath)
      Specified by:
      setPlaceOfDeath in interface Person
    • setTimeValueOfBirth

      public void setTimeValueOfBirth​(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfBirth)
      Specified by:
      setTimeValueOfBirth in interface Person
    • setTimeValueOfDeath

      public void setTimeValueOfDeath​(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfDeath)
      Specified by:
      setTimeValueOfDeath in interface Person