Package org.gedcomx.conclusion
Class NameForm
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.conclusion.NameForm
- All Implemented Interfaces:
HasTransientProperties,HasFields,SupportsExtensionElements
A form of a name.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(GedcomxModelVisitor visitor) Accept a visitor.voidAdd a reference to the record field values being used as evidence.voidAdd a name part the list of name parts for this name form.extensionElement(Object element) Build up this name form with a field.Build up this name form with full text.Get the fields being used as evidence.The full text of the name form.getLang()The language of the conclusion.getParts()The different parts of the name form.Build up this object with an id.Build up this name form with a lang.Build up this name form with a part.part(NamePartType partType, String value) Build up this name form with a part.parts()Create a stream for the name parts.voidSet the list of fields being used as evidence.voidsetFullText(String fullText) The full text of the name form.voidThe language of the conclusion.voidThe different parts of the name form.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
-
NameForm
public NameForm() -
NameForm
-
NameForm
-
-
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
-
getLang
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/- Returns:
- The language of the conclusion.
-
setLang
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/- Parameters:
lang- The language of the conclusion.
-
lang
Build up this name form with a lang.- Parameters:
lang- The lang.- Returns:
- this.
-
getFullText
The full text of the name form.- Returns:
- The full text of the name form.
-
setFullText
The full text of the name form.- Parameters:
fullText- The full text of the name form.
-
fullText
Build up this name form with full text.- Parameters:
fullText- The full text.- Returns:
- this
-
parts
Create a stream for the name parts.- Returns:
- a stream for the name parts.
-
getParts
The different parts of the name form.- Returns:
- The different parts of the name form.
-
setParts
The different parts of the name form.- Parameters:
parts- The different parts of the name form.
-
part
Build up this name form with a part.- Parameters:
part- The part.- Returns:
- this.
-
part
Build up this name form with a part.- Parameters:
partType- The part type.value- The value.- Returns:
- this.
-
addPart
Add a name part the list of name parts for this name form.- Parameters:
part- The name part to be added.
-
getFields
Get the fields being used as evidence. -
setFields
Set the list of fields being used as evidence. -
field
Build up this name form with a field.- Parameters:
field- The field.- Returns:
- this.
-
addField
Add a reference to the record field values being used as evidence.- Parameters:
field- The field to be added.
-
accept
Accept a visitor.- Parameters:
visitor- The visitor.
-