public class Name extends Conclusion
extensionElements, transientProperties| Constructor and Description |
|---|
Name() |
Name(String fullText,
NamePart... parts) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
void |
addNameForm(NameForm nameForm)
Add a name form to the list of name forms.
|
Name |
analysis(Document analysis)
Add a reference to the analysis for this conclusion.
|
Name |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion.
|
Name |
analysis(URI analysis)
Add a reference to the analysis for this conclusion.
|
Name |
attribution(Attribution attribution)
Build up this conclusion with attribution.
|
Name |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level.
|
Name |
confidence(URI confidence)
Build up this conclusion with a confidence level.
|
Name |
date(Date date)
Build up this name with a date.
|
Name |
extensionElement(Object element) |
Date |
getDate()
The date the name was first applied or adopted.
|
NameType |
getKnownType()
The enum referencing the known name type, or
NameType.OTHER if not known. |
NameForm |
getNameForm()
The first name form of this name.
|
List<NameForm> |
getNameForms()
Alternate forms of the name, such as the romanized form of a non-latin name.
|
String |
getPart(NamePartType namePartType)
Gets a specific part of the name
|
Boolean |
getPreferred()
Whether the conclusion is preferred above other conclusions of the same type.
|
URI |
getType()
The type of the name.
|
Name |
id(String id)
Build up this object with an id.
|
Name |
lang(String lang)
Build up this conclusion with a lang.
|
Name |
link(Link link)
Build up this data with a link.
|
Name |
link(String rel,
URI href)
Build up this data with a link.
|
Name |
nameForm(NameForm nameForm)
Build up this name with a name form.
|
Name |
note(Note note)
Build up this conclusion with a note.
|
Name |
preferred(Boolean preferred)
Build up this name with a preferred flag.
|
void |
setDate(Date date)
The date the name was first applied or adopted.
|
void |
setKnownType(NameType knownType)
Set the name type from an enumeration of known name types.
|
void |
setNameForms(List<NameForm> nameForms)
Alternate forms of the name, such as the romanized form of a non-latin name.
|
void |
setPreferred(Boolean preferred)
Whether the conclusion is preferred above other conclusions of the same type.
|
void |
setType(URI type)
The type of the name.
|
Name |
sortKey(String sortKey)
Build up this fact with a sort key.
|
Name |
source(SourceDescription source)
Build up this conclusion with a source reference.
|
Name |
source(SourceReference sourceReference)
Build up this conclusion with a source reference.
|
String |
toString()
Provide a simple toString() method.
|
Name |
type(NameType type)
Build up this name with a type.
|
Name |
type(URI type)
Build up this name with a type.
|
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSourcesaddLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientPropertypublic Name id(String id)
ExtensibleDataid in class Conclusionid - The id.public Name extensionElement(Object element)
extensionElement in class Conclusionpublic Name link(String rel, URI href)
HypermediaEnabledDatalink in class Conclusionrel - The rel.href - The href.public Name link(Link link)
HypermediaEnabledDatalink in class Conclusionlink - The link.public Name lang(String lang)
Conclusionlang in class Conclusionlang - The lang.public Name confidence(URI confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public Name confidence(ConfidenceLevel confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public Name source(SourceReference sourceReference)
Conclusionsource in class ConclusionsourceReference - The source reference.public Name source(SourceDescription source)
Conclusionsource in class Conclusionsource - The source description being referenced.public Name note(Note note)
Conclusionnote in class Conclusionnote - The note.public Name attribution(Attribution attribution)
Conclusionattribution in class Conclusionattribution - The attribution.public Name analysis(ResourceReference analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Name analysis(Document analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Name analysis(URI analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public Name sortKey(String sortKey)
ConclusionsortKey in class ConclusionsortKey - The sort key.public URI getType()
public void setType(URI type)
type - The type of the name.public Name type(URI type)
type - The type.public Name type(NameType type)
type - The type.public NameType getKnownType()
NameType.OTHER if not known.NameType.OTHER if not known.public void setKnownType(NameType knownType)
knownType - The known type.public Date getDate()
public void setDate(Date date)
date - The date the name was first applied or adopted.public Name date(Date date)
date - The date.public List<NameForm> getNameForms()
public NameForm getNameForm()
public void setNameForms(List<NameForm> nameForms)
nameForms - Alternate forms of the name, such as the romanized form of a non-latin name.public Name nameForm(NameForm nameForm)
nameForm - The name form.public void addNameForm(NameForm nameForm)
nameForm - The name form to be added.public Boolean getPreferred()
public void setPreferred(Boolean preferred)
preferred - Whether the conclusion is preferred above other conclusions of the same type. Useful, for example, for display purposes.public Name preferred(Boolean preferred)
preferred - The preferred flag.public String getPart(NamePartType namePartType)
namePartType - specific part of the name to retrievepublic String toString()
ConclusiontoString in class Conclusionpublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.Copyright © 2016. All rights reserved.