Package org.gedcomx.source
Class CitationField
java.lang.Object
org.gedcomx.source.CitationField
- All Implemented Interfaces:
HasJsonKey
Represents a citation field -- its name and value.
-
Constructor Summary
ConstructorsConstructorDescriptionCitationField(String name, String value) CitationField(URI name, String value) CitationField(CitationField copy) -
Method Summary
Modifier and TypeMethodDescriptionThe json key that is used define this link in a map.getName()The citation field's name.getValue()The citation field's value.booleanBuild out this citation field with a name.Build out this citation field with a name.voidsetJsonKey(String jsonKey) The json key that is used define this link in a map.voidThe citation field's name.voidsetNameValue(String name) The citation field's name.voidThe citation field's value.Build out this citation field with a value.
-
Constructor Details
-
CitationField
public CitationField() -
CitationField
-
CitationField
-
CitationField
-
-
Method Details
-
isHasUniqueKey
public boolean isHasUniqueKey()- Specified by:
isHasUniqueKeyin interfaceHasJsonKey
-
getName
The citation field's name.- Returns:
- The citation field's name.
-
setName
The citation field's name.- Parameters:
name- The citation field's name.
-
name
Build out this citation field with a name.- Parameters:
name- the name.- Returns:
- this.
-
setNameValue
The citation field's name.- Parameters:
name- The citation field's name.
-
nameValue
Build out this citation field with a name.- Parameters:
name- The name.- Returns:
- this.
-
getJsonKey
The json key that is used define this link in a map.- Specified by:
getJsonKeyin interfaceHasJsonKey- Returns:
- The json key that is used define this link in a map.
-
setJsonKey
The json key that is used define this link in a map.- Specified by:
setJsonKeyin interfaceHasJsonKey- Parameters:
jsonKey- The json key that is used define this link in a map.
-
getValue
The citation field's value.- Returns:
- The citation field's value.
-
setValue
The citation field's value.- Parameters:
value- The citation field's value.
-
value
Build out this citation field with a value.- Parameters:
value- The value.- Returns:
- this.
-