|
||||||||||
| 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.NameForm
public class NameForm
A form of a name.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
NameForm()
|
|
NameForm(String fullText,
NamePart... parts)
|
|
| Method Summary | |
|---|---|
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 |
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. |
| 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 NameForm()
public NameForm(String fullText,
NamePart... parts)
| Method Detail |
|---|
public NameForm id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.public 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 List<Field> getFields()
getFields in interface HasFieldspublic void setFields(List<Field> fields)
setFields in interface HasFieldsfields - - List of fieldspublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||