Package org.gedcomx.conclusion
Class Conclusion
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
- All Implemented Interfaces:
Attributable,HasNotes,HasTransientProperties,SupportsLinks,SupportsExtensionElements,ReferencesSources
public abstract class Conclusion
extends HypermediaEnabledData
implements Attributable, ReferencesSources, HasNotes
A genealogical conclusion.
- Author:
- Ryan Heaton
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a note.voidaddSource(SourceReference source) Add a source reference.analysis(ResourceReference analysis) Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.Add a reference to the analysis for this conclusion.attribution(Attribution attribution) Build up this conclusion with attribution.confidence(URI confidence) Build up this conclusion with a confidence level.confidence(ConfidenceLevel confidence) Build up this conclusion with a confidence level.voidembed(Conclusion conclusion) extensionElement(Object element) A reference to the analysis document explaining the analysis that went into this conclusion.Attribution metadata for a conclusion.The level of confidence the contributor has about the data.The value of a the known confidence level, orConfidenceLevel.OTHERif not known.getLang()The language of the conclusion.getNotes()Notes about a person.A sort key in relation to other facts for display purposes.The source references for a conclusion.Build up this object with an id.Build up this conclusion with a lang.Build up this data with a link.Build up this data with a link.Build up this conclusion with a note.notes()Create a stream for the notes of this conclusion.voidsetAnalysis(ResourceReference analysis) A reference to the analysis document explaining the analysis that went into this conclusion.voidsetAttribution(Attribution attribution) Attribution metadata for a conclusion.voidsetConfidence(URI confidence) The level of confidence the contributor has about the data.voidSet the confidence level from a known enumeration of confidence levels.voidThe language of the conclusion.voidNotes about a person.voidsetSortKey(String sortKey) A sort key in relation to other facts for display purposes.voidsetSources(List<SourceReference> sourceReferences) The source references for a conclusion.Build up this fact with a sort key.source(SourceDescription source) Build up this conclusion with a source reference.source(SourceReference sourceReference) Build up this conclusion with a source reference.sources()Create a stream for the sources of this conclusion.toString()Provide a simple toString() method.Methods inherited from class org.gedcomx.links.HypermediaEnabledData
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksMethods inherited from class org.gedcomx.common.ExtensibleData
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty
-
Constructor Details
-
Conclusion
protected Conclusion() -
Conclusion
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classExtensibleData- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classExtensibleData
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classHypermediaEnabledData- Parameters:
rel- The rel.href- The href.- Returns:
- this.
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classHypermediaEnabledData- Parameters:
link- The link.- Returns:
- this.
-
getLang
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/- Returns:
- The language of the conclusion.
-
setLang
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/- Parameters:
lang- The language of the conclusion.
-
lang
Build up this conclusion with a lang.- Parameters:
lang- The lang.- Returns:
- this.
-
getConfidence
The level of confidence the contributor has about the data.- Returns:
- The level of confidence the contributor has about the data.
-
setConfidence
The level of confidence the contributor has about the data.- Parameters:
confidence- The level of confidence the contributor has about the data.
-
confidence
Build up this conclusion with a confidence level.- Parameters:
confidence- The confidence level.- Returns:
- this.
-
confidence
Build up this conclusion with a confidence level.- Parameters:
confidence- The confidence level.- Returns:
- this.
-
getKnownConfidenceLevel
The value of a the known confidence level, orConfidenceLevel.OTHERif not known.- Returns:
- The value of a the known confidence level, or
ConfidenceLevel.OTHERif not known.
-
setKnownConfidenceLevel
Set the confidence level from a known enumeration of confidence levels.- Parameters:
level- The known level.
-
sources
Create a stream for the sources of this conclusion.- Returns:
- a stream for the sources of this conclusion.
-
getSources
The source references for a conclusion.- Specified by:
getSourcesin interfaceReferencesSources- Returns:
- The source references for a conclusion.
-
setSources
The source references for a conclusion.- Specified by:
setSourcesin interfaceReferencesSources- Parameters:
sourceReferences- The source references for a conclusion.
-
source
Build up this conclusion with a source reference.- Parameters:
sourceReference- The source reference.- Returns:
- this.
-
source
Build up this conclusion with a source reference.- Parameters:
source- The source description being referenced.- Returns:
- this.
-
addSource
Add a source reference.- Parameters:
source- The source reference to be added.
-
notes
Create a stream for the notes of this conclusion.- Returns:
- a stream for the notes of this conclusion.
-
getNotes
Notes about a person. -
setNotes
Notes about a person. -
note
Build up this conclusion with a note.- Parameters:
note- The note.- Returns:
- this.
-
addNote
Add a note.- Parameters:
note- The note to be added.
-
getAttribution
Attribution metadata for a conclusion.- Specified by:
getAttributionin interfaceAttributable- Returns:
- Attribution metadata for a conclusion.
-
setAttribution
Attribution metadata for a conclusion.- Specified by:
setAttributionin interfaceAttributable- Parameters:
attribution- Attribution metadata for a conclusion.
-
attribution
Build up this conclusion with attribution.- Parameters:
attribution- The attribution.- Returns:
- this.
-
getAnalysis
A reference to the analysis document explaining the analysis that went into this conclusion.- Returns:
- A reference to the analysis document explaining the analysis that went into this conclusion.
-
setAnalysis
A reference to the analysis document explaining the analysis that went into this conclusion.- Parameters:
analysis- A reference to the analysis document explaining the analysis that went into this conclusion.
-
analysis
Add a reference to the analysis for this conclusion.- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Add a reference to the analysis for this conclusion.- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Add a reference to the analysis for this conclusion.- Parameters:
analysis- The analysis.- Returns:
- this.
-
getSortKey
A sort key in relation to other facts for display purposes.- Returns:
- A sort key in relation to other facts for display purposes.
-
setSortKey
A sort key in relation to other facts for display purposes.- Parameters:
sortKey- A sort key in relation to other facts for display purposes.
-
sortKey
Build up this fact with a sort key.- Parameters:
sortKey- The sort key.- Returns:
- this.
-
toString
Provide a simple toString() method.- Overrides:
toStringin classExtensibleData
-
embed
-