|
||||||||||
| 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.records.FieldValue
public final class FieldValue
An element representing a value in a record field.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
FieldValue()
|
|
FieldValue(String text)
|
|
| Method Summary | |
|---|---|
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. |
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. |
| 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 FieldValue()
public FieldValue(String text)
| Method Detail |
|---|
public FieldValue id(String id)
ExtensibleData
id in class Conclusionid - The id.
public FieldValue link(String rel,
URI href)
HypermediaEnabledData
link in class Conclusionrel - The rel.href - The href.
public FieldValue link(Link link)
HypermediaEnabledData
link in class Conclusionlink - The link.
public FieldValue lang(String lang)
Conclusion
lang in class Conclusionlang - The lang.
public FieldValue confidence(URI confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public FieldValue confidence(ConfidenceLevel confidence)
Conclusion
confidence in class Conclusionconfidence - The confidence level.
public FieldValue source(SourceReference sourceReference)
Conclusion
source in class ConclusionsourceReference - The source reference.
public FieldValue source(SourceDescription source)
Conclusion
source in class Conclusionsource - The source description being referenced.
public FieldValue note(Note note)
Conclusion
note in class Conclusionnote - The note.
public FieldValue attribution(Attribution attribution)
Conclusion
attribution in class Conclusionattribution - The attribution.
public FieldValue analysis(ResourceReference analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public FieldValue analysis(Document analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public FieldValue analysis(URI analysis)
Conclusion
analysis in class Conclusionanalysis - The analysis.
public FieldValue sortKey(String sortKey)
Conclusion
sortKey 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)
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 Conclusion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||