public final class FieldValue extends Conclusion
extensionElements, transientProperties| Constructor and Description |
|---|
FieldValue() |
FieldValue(String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GedcomxModelVisitor visitor)
Accept a visitor.
|
FieldValue |
analysis(Document analysis)
Add a reference to the analysis for this conclusion.
|
FieldValue |
analysis(ResourceReference analysis)
Add a reference to the analysis for this conclusion.
|
FieldValue |
analysis(URI analysis)
Add a reference to the analysis for this conclusion.
|
FieldValue |
attribution(Attribution attribution)
Build up this conclusion with attribution.
|
FieldValue |
confidence(ConfidenceLevel confidence)
Build up this conclusion with a confidence level.
|
FieldValue |
confidence(URI confidence)
Build up this conclusion with a confidence level.
|
FieldValue |
datatype(URI datatype)
Build out this field value with a data type.
|
FieldValue |
extensionElement(Object element) |
URI |
getDatatype()
The datatype of the text value of the field.
|
FieldValueStatusType |
getKnownStatus()
The known type of the field.
|
FieldValueType |
getKnownType()
The known type of the field value.
|
String |
getLabelId()
The id of the label applicable to this field value.
|
URI |
getResource()
URI that resolves to the value of the field.
|
URI |
getStatus()
The status of this FieldValue.
|
String |
getText()
The text value.
|
URI |
getType()
The type of the field value.
|
FieldValue |
id(String id)
Build up this object with an id.
|
FieldValue |
labelId(String labelId)
Build out this field value with a label id.
|
FieldValue |
lang(String lang)
Build up this conclusion with a lang.
|
FieldValue |
link(Link link)
Build up this data with a link.
|
FieldValue |
link(String rel,
URI href)
Build up this data with a link.
|
FieldValue |
note(Note note)
Build up this conclusion with a note.
|
FieldValue |
resource(URI resource)
Build out this field value with a resource.
|
void |
setDatatype(URI datatype)
The datatype of the text value of the field.
|
void |
setKnownStatus(FieldValueStatusType status)
The type of the field.
|
void |
setKnownType(FieldValueType type)
The type of the field value.
|
void |
setLabelId(String labelId)
The id of the label applicable to this field value.
|
void |
setResource(URI resource)
URI that resolves to the value of the field.
|
void |
setStatus(URI status)
The status of this FieldValue.
|
void |
setText(String text)
The text value.
|
void |
setType(URI type)
The type of the field value.
|
FieldValue |
sortKey(String sortKey)
Build up this fact with a sort key.
|
FieldValue |
source(SourceDescription source)
Build up this conclusion with a source reference.
|
FieldValue |
source(SourceReference sourceReference)
Build up this conclusion with a source reference.
|
FieldValue |
text(String text)
Build out this field value with text.
|
String |
toString()
Provide a simple toString() method.
|
FieldValue |
type(FieldValueType type)
Build out this field value with a type.
|
FieldValue |
type(URI type)
Build out this field value 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 FieldValue()
public FieldValue(String text)
public FieldValue id(String id)
ExtensibleDataid in class Conclusionid - The id.public FieldValue extensionElement(Object element)
extensionElement in class Conclusionpublic FieldValue link(String rel, URI href)
HypermediaEnabledDatalink in class Conclusionrel - The rel.href - The href.public FieldValue link(Link link)
HypermediaEnabledDatalink in class Conclusionlink - The link.public FieldValue lang(String lang)
Conclusionlang in class Conclusionlang - The lang.public FieldValue confidence(URI confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public FieldValue confidence(ConfidenceLevel confidence)
Conclusionconfidence in class Conclusionconfidence - The confidence level.public FieldValue source(SourceReference sourceReference)
Conclusionsource in class ConclusionsourceReference - The source reference.public FieldValue source(SourceDescription source)
Conclusionsource in class Conclusionsource - The source description being referenced.public FieldValue note(Note note)
Conclusionnote in class Conclusionnote - The note.public FieldValue attribution(Attribution attribution)
Conclusionattribution in class Conclusionattribution - The attribution.public FieldValue analysis(ResourceReference analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public FieldValue analysis(Document analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public FieldValue analysis(URI analysis)
Conclusionanalysis in class Conclusionanalysis - The analysis.public FieldValue sortKey(String sortKey)
ConclusionsortKey in class ConclusionsortKey - The sort key.public URI getType()
public void setType(URI type)
type - The type of the field value.public FieldValue type(URI type)
type - The type.public FieldValue type(FieldValueType type)
type - The type.public FieldValueType getKnownType()
public void setKnownType(FieldValueType type)
type - The type of the field value.public String getLabelId()
public void setLabelId(String labelId)
labelId - The id of the label applicable to this field value.public FieldValue labelId(String labelId)
labelId - The label id.public String getText()
public void setText(String text)
text - The text value.public FieldValue text(String text)
text - the text.public URI getDatatype()
public void setDatatype(URI datatype)
datatype - The datatype of the text value of the field.public FieldValue datatype(URI datatype)
datatype - The data type.public URI getResource()
public void setResource(URI resource)
resource - URI that resolves to the value of the field.public FieldValue resource(URI resource)
resource - The resource.public URI getStatus()
FieldValueStatusTypepublic void setStatus(URI status)
status - The status.FieldValueStatusTypepublic FieldValueStatusType getKnownStatus()
public void setKnownStatus(FieldValueStatusType status)
status - The field value status type of the field.public void accept(GedcomxModelVisitor visitor)
visitor - The visitor to accept.public String toString()
toString in class ConclusionCopyright © 2016. All rights reserved.