|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
org.gedcomx.conclusion.Name
public class Name
A name conclusion.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Name()
|
|
Name(String fullText,
NamePart... parts)
|
|
| Method Summary | |
|---|---|
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. |
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. |
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. |
| Methods inherited from class org.gedcomx.conclusion.Conclusion |
|---|
addNote, addSource, embed, getAnalysis, getAttribution, getConfidence, getKnownConfidenceLevel, getLang, getNotes, getSortKey, getSources, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources |
| Methods inherited from class org.gedcomx.links.HypermediaEnabledData |
|---|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinks |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Name()
public Name(String fullText,
NamePart... parts)
| Method Detail |
|---|
public Name id(String id)
ExtensibleData
id in class Conclusionid - The id.
public Name link(String rel,
URI href)
HypermediaEnabledData
link in class Conclusionrel - The rel.href - The href.
public Name link(Link link)
HypermediaEnabledData
link in class Conclusionlink - The link.
public Name lang(String lang)
Conclusion
lang in class Conclusionlang - The lang.
public Name confidence(URI confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Name confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public Name source(SourceReference sourceReference)
Conclusion
source in class ConclusionsourceReference - The source reference.
public Name source(SourceDescription source)
Conclusion
source in class Conclusionsource - The source description being referenced.
public Name note(Note note)
Conclusion
note in class Conclusionnote - The note.
public Name attribution(Attribution attribution)
Conclusion
attribution in class Conclusionattribution - The attribution.
public Name analysis(ResourceReference analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Name analysis(Document analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Name analysis(URI analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public Name sortKey(String sortKey)
Conclusion
sortKey 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 toString()
Conclusion
toString in class Conclusionpublic void accept(GedcomxModelVisitor visitor)
visitor - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||