public abstract class Conclusion extends HypermediaEnabledData implements Attributable, ReferencesSources, HasNotes
extensionElements, transientProperties| Constructor and Description |
|---|
Conclusion() |
| Modifier and Type | Method and Description |
|---|---|
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) |
Conclusion |
extensionElement(Object element) |
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.
|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientPropertypublic Conclusion id(String id)
ExtensibleDataid in class ExtensibleDataid - The id.public Conclusion extensionElement(Object element)
extensionElement in class ExtensibleDatapublic Conclusion link(String rel, URI href)
HypermediaEnabledDatalink in class HypermediaEnabledDatarel - The rel.href - The href.public Conclusion link(Link link)
HypermediaEnabledDatalink 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 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)
Copyright © 2016. All rights reserved.