Class PersonImpl
java.lang.Object
de.digitalcollections.model.impl.identifiable.IdentifiableImpl
de.digitalcollections.model.impl.identifiable.entity.EntityImpl
de.digitalcollections.model.impl.identifiable.entity.agent.AgentImpl
de.digitalcollections.model.impl.identifiable.entity.agent.PersonImpl
- All Implemented Interfaces:
Agent,Person,Entity,Identifiable
public class PersonImpl extends AgentImpl implements Person
-
Field Summary
Fields inherited from class de.digitalcollections.model.impl.identifiable.entity.EntityImpl
customAttributes, entityType, refIdFields inherited from class de.digitalcollections.model.impl.identifiable.IdentifiableImpl
created, description, identifiers, label, lastModified, previewImage, previewImageRenderingHints, type -
Constructor Summary
Constructors Constructor Description PersonImpl()PersonImpl(LocalizedText label, java.util.Set<Identifier> identifiers) -
Method Summary
Modifier and Type Method Description java.time.LocalDategetDateOfBirth()java.time.LocalDategetDateOfDeath()GendergetGender()GeoLocationgetPlaceOfBirth()GeoLocationgetPlaceOfDeath()org.wikidata.wdtk.datamodel.interfaces.TimeValuegetTimeValueOfBirth()org.wikidata.wdtk.datamodel.interfaces.TimeValuegetTimeValueOfDeath()voidsetDateOfBirth(java.time.LocalDate dateOfBirth)voidsetDateOfDeath(java.time.LocalDate dateOfDeath)voidsetGender(Gender gender)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.impl.identifiable.entity.EntityImpl
equals, getCustomAttributes, getEntityType, getRefId, hashCode, setCustomAttribute, setCustomAttributes, setEntityType, setRefIdMethods inherited from class de.digitalcollections.model.impl.identifiable.IdentifiableImpl
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.digitalcollections.model.api.identifiable.entity.Entity
getCustomAttribute, getCustomAttributes, getEntityType, getRefId, hasCustomAttribute, setCustomAttribute, setCustomAttributes, setEntityType, setRefIdMethods inherited from interface de.digitalcollections.model.api.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
Constructor Details
-
PersonImpl
public PersonImpl() -
PersonImpl
-
-
Method Details
-
getDateOfBirth
public java.time.LocalDate getDateOfBirth()- Specified by:
getDateOfBirthin interfacePerson
-
getDateOfDeath
public java.time.LocalDate getDateOfDeath()- Specified by:
getDateOfDeathin interfacePerson
-
getGender
-
getPlaceOfBirth
- Specified by:
getPlaceOfBirthin interfacePerson
-
getPlaceOfDeath
- Specified by:
getPlaceOfDeathin interfacePerson
-
getTimeValueOfBirth
public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfBirth()- Specified by:
getTimeValueOfBirthin interfacePerson
-
getTimeValueOfDeath
public org.wikidata.wdtk.datamodel.interfaces.TimeValue getTimeValueOfDeath()- Specified by:
getTimeValueOfDeathin interfacePerson
-
setDateOfBirth
public void setDateOfBirth(java.time.LocalDate dateOfBirth)- Specified by:
setDateOfBirthin interfacePerson
-
setDateOfDeath
public void setDateOfDeath(java.time.LocalDate dateOfDeath)- Specified by:
setDateOfDeathin interfacePerson
-
setGender
-
setPlaceOfBirth
- Specified by:
setPlaceOfBirthin interfacePerson
-
setPlaceOfDeath
- Specified by:
setPlaceOfDeathin interfacePerson
-
setTimeValueOfBirth
public void setTimeValueOfBirth(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfBirth)- Specified by:
setTimeValueOfBirthin interfacePerson
-
setTimeValueOfDeath
public void setTimeValueOfDeath(org.wikidata.wdtk.datamodel.interfaces.TimeValue timeValueOfDeath)- Specified by:
setTimeValueOfDeathin interfacePerson
-