Class Person
- java.lang.Object
-
- de.digitalcollections.model.identifiable.Identifiable
-
- de.digitalcollections.model.identifiable.entity.Entity
-
- de.digitalcollections.model.identifiable.entity.agent.Agent
-
- de.digitalcollections.model.identifiable.entity.agent.Person
-
public class Person extends Agent
Human being that has certain capacities or attributes constituting personhood.
-
-
Field Summary
-
Fields inherited from class de.digitalcollections.model.identifiable.entity.Entity
customAttributes, entityType, refId
-
Fields inherited from class de.digitalcollections.model.identifiable.Identifiable
created, description, identifiers, label, lastModified, previewImage, previewImageRenderingHints, type
-
-
Constructor Summary
Constructors Constructor Description Person()Person(LocalizedText label, Set<Identifier> identifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDategetDateOfBirth()LocalDategetDateOfDeath()List<FamilyName>getFamilyNames()GendergetGender()List<GivenName>getGivenNames()GeoLocationgetPlaceOfBirth()GeoLocationgetPlaceOfDeath()org.wikidata.wdtk.datamodel.interfaces.TimeValuegetTimeValueOfBirth()org.wikidata.wdtk.datamodel.interfaces.TimeValuegetTimeValueOfDeath()voidsetDateOfBirth(LocalDate dateOfBirth)voidsetDateOfDeath(LocalDate dateOfDeath)voidsetFamilyNames(List<FamilyName> familyNames)voidsetGender(Gender gender)voidsetGivenNames(List<GivenName> givenNames)voidsetPlaceOfBirth(GeoLocation placeOfBirth)voidsetPlaceOfDeath(GeoLocation placeOfDeath)voidsetTimeValueOfBirth(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfBirth)voidsetTimeValueOfDeath(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfDeath)-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
equals, getCustomAttribute, getCustomAttributes, getEntityType, getRefId, hashCode, setCustomAttribute, setCustomAttributes, setEntityType, setRefId
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
-
-
-
Constructor Detail
-
Person
public Person()
-
Person
public Person(LocalizedText label, Set<Identifier> identifiers)
-
-
Method Detail
-
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()
-
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()
-
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)
-
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)
-
-