|
||||||||||
| 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
public abstract class Conclusion
A genealogical conclusion.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
Conclusion()
|
|
| Method Summary | |
|---|---|
void |
addNote(Note note)
Add a note. |
void |
addSource(SourceReference source)
Add a source reference. |
Conclusion |
analysis(Document analysis)
Add a reference to the analysis for this conclusion. |
Conclusion |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion. |
Conclusion |
analysis(URI analysis)
Add a reference to the analysis for this conclusion. |
Conclusion |
attribution(Attribution attribution)
Build up this conclusion with attribution. |
Conclusion |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level. |
Conclusion |
confidence(URI confidence)
Build up this conclusion with a confidence level. |
void |
embed(Conclusion conclusion)
|
ResourceReference |
getAnalysis()
A reference to the analysis document explaining the analysis that went into this conclusion. |
Attribution |
getAttribution()
Attribution metadata for a conclusion. |
URI |
getConfidence()
The level of confidence the contributor has about the data. |
ConfidenceLevel |
getKnownConfidenceLevel()
The value of a the known confidence level, or ConfidenceLevel.OTHER if not known. |
String |
getLang()
The language of the conclusion. |
List<Note> |
getNotes()
Notes about a person. |
String |
getSortKey()
A sort key in relation to other facts for display purposes. |
List<SourceReference> |
getSources()
The source references for a conclusion. |
Conclusion |
id(String id)
Build up this object with an id. |
Conclusion |
lang(String lang)
Build up this conclusion with a lang. |
Conclusion |
link(Link link)
Build up this data with a link. |
Conclusion |
link(String rel,
URI href)
Build up this data with a link. |
Conclusion |
note(Note note)
Build up this conclusion with a note. |
void |
setAnalysis(ResourceReference analysis)
A reference to the analysis document explaining the analysis that went into this conclusion. |
void |
setAttribution(Attribution attribution)
Attribution metadata for a conclusion. |
void |
setConfidence(URI confidence)
The level of confidence the contributor has about the data. |
void |
setKnownConfidenceLevel(ConfidenceLevel level)
Set the confidence level from a known enumeration of confidence levels. |
void |
setLang(String lang)
The language of the conclusion. |
void |
setNotes(List<Note> notes)
Notes about a person. |
void |
setSortKey(String sortKey)
A sort key in relation to other facts for display purposes. |
void |
setSources(List<SourceReference> sourceReferences)
The source references for a conclusion. |
Conclusion |
sortKey(String sortKey)
Build up this fact with a sort key. |
Conclusion |
source(SourceDescription source)
Build up this conclusion with a source reference. |
Conclusion |
source(SourceReference sourceReference)
Build up this conclusion with a source reference. |
String |
toString()
Provide a simple toString() method. |
| 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 Conclusion()
| Method Detail |
|---|
public Conclusion id(String id)
ExtensibleData
id in class ExtensibleDataid - The id.
public Conclusion link(String rel,
URI href)
HypermediaEnabledData
link in class HypermediaEnabledDatarel - The rel.href - The href.
public Conclusion link(Link link)
HypermediaEnabledData
link in class HypermediaEnabledDatalink - The link.
public String getLang()
public void setLang(String lang)
lang - The language of the conclusion.public Conclusion lang(String lang)
lang - The lang.
public URI getConfidence()
public void setConfidence(URI confidence)
confidence - The level of confidence the contributor has about the data.public Conclusion confidence(URI confidence)
confidence - The confidence level.
public Conclusion confidence(ConfidenceLevel confidence)
confidence - The confidence level.
public ConfidenceLevel getKnownConfidenceLevel()
ConfidenceLevel.OTHER if not known.
ConfidenceLevel.OTHER if not known.public void setKnownConfidenceLevel(ConfidenceLevel level)
level - The known level.public List<SourceReference> getSources()
getSources in interface ReferencesSourcespublic void setSources(List<SourceReference> sourceReferences)
setSources in interface ReferencesSourcessourceReferences - The source references for a conclusion.public Conclusion source(SourceReference sourceReference)
sourceReference - The source reference.
public Conclusion source(SourceDescription source)
source - The source description being referenced.
public void addSource(SourceReference source)
source - The source reference to be added.public List<Note> getNotes()
getNotes in interface HasNotespublic void setNotes(List<Note> notes)
setNotes in interface HasNotesnotes - Notes about a person.public Conclusion note(Note note)
note - The note.
public void addNote(Note note)
note - The note to be added.public Attribution getAttribution()
getAttribution in interface Attributablepublic void setAttribution(Attribution attribution)
setAttribution in interface Attributableattribution - Attribution metadata for a conclusion.public Conclusion attribution(Attribution attribution)
attribution - The attribution.
public ResourceReference getAnalysis()
public void setAnalysis(ResourceReference analysis)
analysis - A reference to the analysis document explaining the analysis that went into this conclusion.public Conclusion analysis(ResourceReference analysis)
analysis - The analysis.
public Conclusion analysis(URI analysis)
analysis - The analysis.
public Conclusion analysis(Document analysis)
analysis - The analysis.
public String getSortKey()
public void setSortKey(String sortKey)
sortKey - A sort key in relation to other facts for display purposes.public Conclusion sortKey(String sortKey)
sortKey - The sort key.
public String toString()
toString in class ExtensibleDatapublic void embed(Conclusion conclusion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||