public class NameForm extends ExtensibleData implements HasFields
extensionElements, transientProperties| Constructor and Description |
|---|
NameForm() |
NameForm(String fullText,
NamePart... parts) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
void |
addField(Field field)
Add a reference to the record field values being used as evidence.
|
void |
addPart(NamePart part)
Add a name part the list of name parts for this name form.
|
NameForm |
extensionElement(Object element) |
NameForm |
field(Field field)
Build up this name form with a field.
|
NameForm |
fullText(String fullText)
Build up this name form with full text.
|
List<Field> |
getFields()
Get the fields being used as evidence.
|
String |
getFullText()
The full text of the name form.
|
String |
getLang()
The language of the conclusion.
|
List<NamePart> |
getParts()
The different parts of the name form.
|
NameForm |
id(String id)
Build up this object with an id.
|
NameForm |
lang(String lang)
Build up this name form with a lang.
|
NameForm |
part(NamePart part)
Build up this name form with a part.
|
NameForm |
part(NamePartType partType,
String value)
Build up this name form with a part.
|
void |
setFields(List<Field> fields)
Set the list of fields being used as evidence.
|
void |
setFullText(String fullText)
The full text of the name form.
|
void |
setLang(String lang)
The language of the conclusion.
|
void |
setParts(List<NamePart> parts)
The different parts of the name form.
|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toStringpublic NameForm id(String id)
ExtensibleDataid in class ExtensibleDataid - The id.public NameForm extensionElement(Object element)
extensionElement in class ExtensibleDatapublic String getLang()
public void setLang(String lang)
lang - The language of the conclusion.public NameForm lang(String lang)
lang - The lang.public String getFullText()
public void setFullText(String fullText)
fullText - The full text of the name form.public NameForm fullText(String fullText)
fullText - The full text.public List<NamePart> getParts()
public void setParts(List<NamePart> parts)
parts - The different parts of the name form.public NameForm part(NamePart part)
part - The part.public NameForm part(NamePartType partType, String value)
partType - The part type.value - The value.public void addPart(NamePart part)
part - The name part to be added.public NameForm field(Field field)
field - The field.public void addField(Field field)
field - The field to be added.public void accept(GedcomxModelVisitor visitor)
visitor - The visitor.Copyright © 2016. All rights reserved.