Package org.gedcomx.records
Class FieldValue
java.lang.Object
org.gedcomx.common.ExtensibleData
org.gedcomx.links.HypermediaEnabledData
org.gedcomx.conclusion.Conclusion
org.gedcomx.records.FieldValue
- All Implemented Interfaces:
Attributable,HasNotes,HasTransientProperties,SupportsLinks,SupportsExtensionElements,ReferencesSources
An element representing a value in a record field.
-
Field Summary
Fields inherited from class org.gedcomx.common.ExtensibleData
extensionElements, transientProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(GedcomxModelVisitor visitor) Accept a visitor.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.Build out this field value with a data type.booleanextensionElement(Object element) The datatype of the text value of the field.The known type of the field.The known type of the field value.The id of the label applicable to this field value.URI that resolves to the value of the field.The status of this FieldValue.getText()The text value.getType()The type of the field value.inthashCode()Build up this object with an id.Build out this field value with a label 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.Build out this field value with a resource.voidsetDatatype(URI datatype) The datatype of the text value of the field.voidsetKnownStatus(FieldValueStatusType status) The type of the field.voidsetKnownType(FieldValueType type) The type of the field value.voidsetLabelId(String labelId) The id of the label applicable to this field value.voidsetResource(URI resource) URI that resolves to the value of the field.voidThe status of this FieldValue.voidThe text value.voidThe type of the field value.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.Build out this field value with text.toString()Provide a simple toString() method.Build out this field value with a type.type(FieldValueType 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, notes, setAnalysis, setAttribution, setConfidence, setKnownConfidenceLevel, setLang, setNotes, setSortKey, setSources, sourcesMethods 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
-
FieldValue
public FieldValue() -
FieldValue
-
FieldValue
-
-
Method Details
-
id
Description copied from class:ExtensibleDataBuild up this object with an id.- Overrides:
idin classConclusion- Parameters:
id- The id.- Returns:
- this.
-
extensionElement
- Overrides:
extensionElementin classConclusion
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classConclusion- Parameters:
rel- The rel.href- The href.- Returns:
- this.
-
link
Description copied from class:HypermediaEnabledDataBuild up this data with a link.- Overrides:
linkin classConclusion- Parameters:
link- The link.- Returns:
- this.
-
lang
Description copied from class:ConclusionBuild up this conclusion with a lang.- Overrides:
langin classConclusion- Parameters:
lang- The lang.- Returns:
- this.
-
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classConclusion- Parameters:
confidence- The confidence level.- Returns:
- this.
-
confidence
Description copied from class:ConclusionBuild up this conclusion with a confidence level.- Overrides:
confidencein classConclusion- Parameters:
confidence- The confidence level.- Returns:
- this.
-
source
Description copied from class:ConclusionBuild up this conclusion with a source reference.- Overrides:
sourcein classConclusion- Parameters:
sourceReference- The source reference.- Returns:
- this.
-
source
Description copied from class:ConclusionBuild up this conclusion with a source reference.- Overrides:
sourcein classConclusion- Parameters:
source- The source description being referenced.- Returns:
- this.
-
note
Description copied from class:ConclusionBuild up this conclusion with a note.- Overrides:
notein classConclusion- Parameters:
note- The note.- Returns:
- this.
-
attribution
Description copied from class:ConclusionBuild up this conclusion with attribution.- Overrides:
attributionin classConclusion- Parameters:
attribution- The attribution.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
analysis
Description copied from class:ConclusionAdd a reference to the analysis for this conclusion.- Overrides:
analysisin classConclusion- Parameters:
analysis- The analysis.- Returns:
- this.
-
sortKey
Description copied from class:ConclusionBuild up this fact with a sort key.- Overrides:
sortKeyin classConclusion- Parameters:
sortKey- The sort key.- Returns:
- this.
-
getType
The type of the field value.- Returns:
- The type of the field value.
-
setType
The type of the field value.- Parameters:
type- The type of the field value.
-
type
Build out this field value with a type.- Parameters:
type- The type.- Returns:
- this.
-
type
Build out this field value with a type.- Parameters:
type- The type.- Returns:
- this.
-
getKnownType
The known type of the field value.- Returns:
- The type of the field value.
-
setKnownType
The type of the field value.- Parameters:
type- The type of the field value.
-
getLabelId
The id of the label applicable to this field value.- Returns:
- The id of the label applicable to this field value.
-
setLabelId
The id of the label applicable to this field value.- Parameters:
labelId- The id of the label applicable to this field value.
-
labelId
Build out this field value with a label id.- Parameters:
labelId- The label id.- Returns:
- this.
-
getText
The text value.- Returns:
- The text value.
-
setText
The text value.- Parameters:
text- The text value.
-
text
Build out this field value with text.- Parameters:
text- the text.- Returns:
- this.
-
getDatatype
The datatype of the text value of the field.- Returns:
- The datatype of the text value of the field.
-
setDatatype
The datatype of the text value of the field.- Parameters:
datatype- The datatype of the text value of the field.
-
datatype
Build out this field value with a data type.- Parameters:
datatype- The data type.- Returns:
- this
-
getResource
URI that resolves to the value of the field.- Returns:
- URI that resolves to the value of the field.
-
setResource
URI that resolves to the value of the field.- Parameters:
resource- URI that resolves to the value of the field.
-
resource
Build out this field value with a resource.- Parameters:
resource- The resource.- Returns:
- this.
-
getStatus
The status of this FieldValue.- Returns:
- URI of the field value status type of this field value.
- See Also:
-
setStatus
The status of this FieldValue.- Parameters:
status- The status.- See Also:
-
getKnownStatus
The known type of the field.- Returns:
- The type of the field.
-
setKnownStatus
The type of the field.- Parameters:
status- The field value status type of the field.
-
accept
Accept a visitor.- Parameters:
visitor- The visitor to accept.
-
toString
Provide a simple toString() method.- Overrides:
toStringin classConclusion
-
equals
-
hashCode
public int hashCode()
-