Package org.gedcomx.conclusion
Class DisplayProperties
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.conclusion.DisplayProperties
- All Implemented Interfaces:
HasTransientProperties,SupportsExtensionElements
A set of display properties for the convenience of quick display, such as for
a Web-based application. All display properties are provided in the default locale for the current
application context and are NOT considered canonical for the purposes of data exchange.
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFamilyAsChild(FamilyView family) Add a family where this person is a child to the data set.voidaddFamilyAsParent(FamilyView family) Add a family where this person is a parentascendancyNumber(String ascendancynumber) Build up these properties with a ascendancy number.Build up these properties with a birth date.birthPlace(String birthplace) Build up these properties with a birth place.Build up these properties with a death date.deathPlace(String deathplace) Build up these properties with a death place.descendancyNumber(String descendancynumber) Build up these properties with a descendancy number.voidembed(DisplayProperties data) Embed a set of display properties.extensionElement(Object element) Build up these properties with a gender.The context-specific ascendancy number for the person in relation to the other persons in the request.The displayable label for the birth date of the person.The displayable label for the birth place of the person.The displayable label for the death date of the person.The displayable label for the death place of the person.The context-specific descendancy number for the person in relation to the other persons in the request.The family views where this person is a childThe family views where this person is a parentThe displayable label for the gender of the person.The displayable label for the lifespan of the person.The displayable label for the marriage date of the person.The displayable label for the marriage place of the person.getName()The displayable name of the person.The context-specific relationship description for the person in relation to the root person in the request.getRole()The role of this person in the current display context.Build up this object with an id.Build up these properties with a lifespan.marriageDate(String marriagedate) Build up these properties with a marriage date.marriagePlace(String marriageplace) Build up these properties with a marriage place.Build up these properties with a name.relationship(String relationshipDescription) Build up these properties with a relationship description.Set the role.voidsetAscendancyNumber(String ascendancyNumber) The context-specific ascendancy number for the person in relation to the other persons in the request.voidsetBirthDate(String birthDate) The displayable label for the birth date of the person.voidsetBirthPlace(String birthPlace) The displayable label for the birth place of the person.voidsetDeathDate(String deathDate) The displayable label for the death date of the person.voidsetDeathPlace(String deathPlace) The displayable label for the death place of the person.voidsetDescendancyNumber(String descendancyNumber) The context-specific descendancy number for the person in relation to the other persons in the request.voidsetFamiliesAsChild(List<FamilyView> familiesAsChild) The family views where this person is a childvoidsetFamiliesAsParent(List<FamilyView> familiesAsParent) The family views where this person is a parentvoidDisplayable form of the gender.voidsetLifespan(String lifespan) The displayable label for the lifespan of the person.voidsetMarriageDate(String marriageDate) The displayable label for the marriage date of the person.voidsetMarriagePlace(String marriagePlace) The displayable label for the marriage place of the person.voidThe displayable name of the person.voidsetRelationshipDescription(String relationshipDescription) The context-specific relationship description for the person in relation to the root person in the request.voidThe role of this person in the current display context.Methods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString
-
Constructor Details
-
DisplayProperties
public DisplayProperties() -
DisplayProperties
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classExtensibleData- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classExtensibleData
-
getName
The displayable name of the person.- Returns:
- The displayable name of the person.
-
setName
The displayable name of the person.- Parameters:
name- The displayable name of the person.
-
name
Build up these properties with a name.- Parameters:
name- The name.- Returns:
- this.
-
getGender
The displayable label for the gender of the person.- Returns:
- The displayable label for the gender of the person.
-
setGender
Displayable form of the gender.- Parameters:
gender- Displayable form of the gender.
-
gender
Build up these properties with a gender.- Parameters:
gender- The gender.- Returns:
- this.
-
getLifespan
The displayable label for the lifespan of the person.- Returns:
- The displayable label for the lifespan of the person.
-
setLifespan
The displayable label for the lifespan of the person.- Parameters:
lifespan- The displayable label for the lifespan of the person.
-
lifespan
Build up these properties with a lifespan.- Parameters:
lifespan- The lifespan.- Returns:
- this.
-
getBirthDate
The displayable label for the birth date of the person.- Returns:
- The displayable label for the birth date of the person.
-
setBirthDate
The displayable label for the birth date of the person.- Parameters:
birthDate- The displayable label for the birth date of the person.
-
birthDate
Build up these properties with a birth date.- Parameters:
birthdate- The birth date.- Returns:
- this.
-
getBirthPlace
The displayable label for the birth place of the person.- Returns:
- The displayable label for the birth place of the person.
-
setBirthPlace
The displayable label for the birth place of the person.- Parameters:
birthPlace- The displayable label for the birth place of the person.
-
birthPlace
Build up these properties with a birth place.- Parameters:
birthplace- The birth place.- Returns:
- this.
-
getDeathDate
The displayable label for the death date of the person.- Returns:
- The displayable label for the death date of the person.
-
setDeathDate
The displayable label for the death date of the person.- Parameters:
deathDate- The displayable label for the death date of the person.
-
deathDate
Build up these properties with a death date.- Parameters:
deathdate- The death date.- Returns:
- this.
-
getDeathPlace
The displayable label for the death place of the person.- Returns:
- The displayable label for the death place of the person.
-
setDeathPlace
The displayable label for the death place of the person.- Parameters:
deathPlace- The displayable label for the death place of the person.
-
deathPlace
Build up these properties with a death place.- Parameters:
deathplace- The death place.- Returns:
- this.
-
getMarriageDate
The displayable label for the marriage date of the person.- Returns:
- The displayable label for the marriage date of the person.
-
setMarriageDate
The displayable label for the marriage date of the person.- Parameters:
marriageDate- The displayable label for the marriage date of the person.
-
marriageDate
Build up these properties with a marriage date.- Parameters:
marriagedate- The marriage date.- Returns:
- this.
-
getMarriagePlace
The displayable label for the marriage place of the person.- Returns:
- The displayable label for the marriage place of the person.
-
setMarriagePlace
The displayable label for the marriage place of the person.- Parameters:
marriagePlace- The displayable label for the marriage place of the person.
-
marriagePlace
Build up these properties with a marriage place.- Parameters:
marriageplace- The marriage place.- Returns:
- this.
-
getAscendancyNumber
The context-specific ascendancy number for the person in relation to the other persons in the request. The ancestry number is defined using the Ahnentafel numbering system.- Returns:
- The context-specific ascendancy number for the person in relation to the other persons in the request. The ancestry number is defined using the Ahnentafel numbering system.
-
setAscendancyNumber
The context-specific ascendancy number for the person in relation to the other persons in the request. The ancestry number is defined using the Ahnentafel numbering system.- Parameters:
ascendancyNumber- The context-specific ascendancy number for the person in relation to the other persons in the request. The ancestry number is defined using the Ahnentafel numbering system.
-
ascendancyNumber
Build up these properties with a ascendancy number.- Parameters:
ascendancynumber- The ascendancy number.- Returns:
- this.
-
getDescendancyNumber
The context-specific descendancy number for the person in relation to the other persons in the request. The descendancy number is defined using the d'Aboville numbering system.- Returns:
- The context-specific descendancy number for the person in relation to the other persons in the request. The descendancy number is defined using the d'Aboville numbering system.
-
setDescendancyNumber
The context-specific descendancy number for the person in relation to the other persons in the request. The descendancy number is defined using the d'Aboville numbering system.- Parameters:
descendancyNumber- The context-specific descendancy number for the person in relation to the other persons in the request. The descendancy number is defined using the d'Aboville numbering system.
-
descendancyNumber
Build up these properties with a descendancy number.- Parameters:
descendancynumber- The descendancy number.- Returns:
- this.
-
getRelationshipDescription
The context-specific relationship description for the person in relation to the root person in the request.- Returns:
- The context-specific relationship description for the person in relation to the root person in the request.
-
setRelationshipDescription
The context-specific relationship description for the person in relation to the root person in the request.- Parameters:
relationshipDescription- The context-specific relationship description for the person in relation to the root person in the request.
-
relationship
Build up these properties with a relationship description.- Parameters:
relationshipDescription- The relationship description.- Returns:
- this.
-
getFamiliesAsParent
The family views where this person is a parent- Returns:
- The family views where this person is a parent.
-
setFamiliesAsParent
The family views where this person is a parent- Parameters:
familiesAsParent- The families where this person is a parent
-
addFamilyAsParent
Add a family where this person is a parent- Parameters:
family- The family where this person is a parent
-
getFamiliesAsChild
The family views where this person is a child- Returns:
- The family views where this person is a child
-
setFamiliesAsChild
The family views where this person is a child- Parameters:
familiesAsChild- The families where this person is a child
-
addFamilyAsChild
Add a family where this person is a child to the data set.- Parameters:
family- The family to be added.
-
getRole
The role of this person in the current display context.- Returns:
- The role of this person in the current display context.
-
setRole
The role of this person in the current display context.- Parameters:
role- The role of this person in the current display context.
-
role
Set the role.- Parameters:
role- The role.- Returns:
- this
-
embed
Embed a set of display properties.- Parameters:
data- The data to embed.
-