|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.conclusion.DisplayProperties
public class DisplayProperties
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 | |
|---|---|
DisplayProperties()
|
|
| Method Summary | |
|---|---|
void |
addFamilyAsChild(FamilyView family)
Add a family where this person is a child to the data set. |
void |
addFamilyAsParent(FamilyView family)
Add a family where this person is a parent |
DisplayProperties |
ascendancyNumber(String ascendancynumber)
Build up these properties with a ascendancy number. |
DisplayProperties |
birthDate(String birthdate)
Build up these properties with a birth date. |
DisplayProperties |
birthPlace(String birthplace)
Build up these properties with a birth place. |
DisplayProperties |
deathDate(String deathdate)
Build up these properties with a death date. |
DisplayProperties |
deathPlace(String deathplace)
Build up these properties with a death place. |
DisplayProperties |
descendancyNumber(String descendancynumber)
Build up these properties with a descendancy number. |
void |
embed(DisplayProperties data)
Embed a set of display properties. |
DisplayProperties |
gender(String gender)
Build up these properties with a gender. |
String |
getAscendancyNumber()
The context-specific ascendancy number for the person in relation to the other persons in the request. |
String |
getBirthDate()
The displayable label for the birth date of the person. |
String |
getBirthPlace()
The displayable label for the birth place of the person. |
String |
getDeathDate()
The displayable label for the death date of the person. |
String |
getDeathPlace()
The displayable label for the death place of the person. |
String |
getDescendancyNumber()
The context-specific descendancy number for the person in relation to the other persons in the request. |
List<FamilyView> |
getFamiliesAsChild()
The family views where this person is a child |
List<FamilyView> |
getFamiliesAsParent()
The family views where this person is a parent |
String |
getGender()
The displayable label for the gender of the person. |
String |
getLifespan()
The displayable label for the lifespan of the person. |
String |
getMarriageDate()
The displayable label for the marriage date of the person. |
String |
getMarriagePlace()
The displayable label for the marriage place of the person. |
String |
getName()
The displayable name of the person. |
DisplayProperties |
id(String id)
Build up this object with an id. |
DisplayProperties |
lifespan(String lifespan)
Build up these properties with a lifespan. |
DisplayProperties |
marriageDate(String marriagedate)
Build up these properties with a marriage date. |
DisplayProperties |
marriagePlace(String marriageplace)
Build up these properties with a marriage place. |
DisplayProperties |
name(String name)
Build up these properties with a name. |
void |
setAscendancyNumber(String ascendancyNumber)
The context-specific ascendancy number for the person in relation to the other persons in the request. |
void |
setBirthDate(String birthDate)
The displayable label for the birth date of the person. |
void |
setBirthPlace(String birthPlace)
The displayable label for the birth place of the person. |
void |
setDeathDate(String deathDate)
The displayable label for the death date of the person. |
void |
setDeathPlace(String deathPlace)
The displayable label for the death place of the person. |
void |
setDescendancyNumber(String descendancyNumber)
The context-specific descendancy number for the person in relation to the other persons in the request. |
void |
setFamiliesAsChild(List<FamilyView> familiesAsChild)
The family views where this person is a child |
void |
setFamiliesAsParent(List<FamilyView> familiesAsParent)
The family views where this person is a parent |
void |
setGender(String gender)
Displayable form of the gender. |
void |
setLifespan(String lifespan)
The displayable label for the lifespan of the person. |
void |
setMarriageDate(String marriageDate)
The displayable label for the marriage date of the person. |
void |
setMarriagePlace(String marriagePlace)
The displayable label for the marriage place of the person. |
void |
setName(String name)
The displayable name of the person. |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DisplayProperties()
| Method Detail |
|---|
public DisplayProperties id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public String getName()
public void setName(String name)
name - The displayable name of the person.public DisplayProperties name(String name)
name - The name.
public String getGender()
public void setGender(String gender)
gender - Displayable form of the gender.public DisplayProperties gender(String gender)
gender - The gender.
public String getLifespan()
public void setLifespan(String lifespan)
lifespan - The displayable label for the lifespan of the person.public DisplayProperties lifespan(String lifespan)
lifespan - The lifespan.
public String getBirthDate()
public void setBirthDate(String birthDate)
birthDate - The displayable label for the birth date of the person.public DisplayProperties birthDate(String birthdate)
birthdate - The birth date.
public String getBirthPlace()
public void setBirthPlace(String birthPlace)
birthPlace - The displayable label for the birth place of the person.public DisplayProperties birthPlace(String birthplace)
birthplace - The birth place.
public String getDeathDate()
public void setDeathDate(String deathDate)
deathDate - The displayable label for the death date of the person.public DisplayProperties deathDate(String deathdate)
deathdate - The death date.
public String getDeathPlace()
public void setDeathPlace(String deathPlace)
deathPlace - The displayable label for the death place of the person.public DisplayProperties deathPlace(String deathplace)
deathplace - The death place.
public String getMarriageDate()
public void setMarriageDate(String marriageDate)
marriageDate - The displayable label for the marriage date of the person.public DisplayProperties marriageDate(String marriagedate)
marriagedate - The marriage date.
public String getMarriagePlace()
public void setMarriagePlace(String marriagePlace)
marriagePlace - The displayable label for the marriage place of the person.public DisplayProperties marriagePlace(String marriageplace)
marriageplace - The marriage place.
public String getAscendancyNumber()
public void setAscendancyNumber(String ascendancyNumber)
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.public DisplayProperties ascendancyNumber(String ascendancynumber)
ascendancynumber - The ascendancy number.
public String getDescendancyNumber()
public void setDescendancyNumber(String descendancyNumber)
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.public DisplayProperties descendancyNumber(String descendancynumber)
descendancynumber - The descendancy number.
public List<FamilyView> getFamiliesAsParent()
public void setFamiliesAsParent(List<FamilyView> familiesAsParent)
familiesAsParent - The families where this person is a parentpublic void addFamilyAsParent(FamilyView family)
family - The family where this person is a parentpublic List<FamilyView> getFamiliesAsChild()
public void setFamiliesAsChild(List<FamilyView> familiesAsChild)
familiesAsChild - The families where this person is a childpublic void addFamilyAsChild(FamilyView family)
family - The family to be added.public void embed(DisplayProperties data)
data - The data to embed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||