|
||||||||||
| 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.records.FieldValueDescriptor
public class FieldValueDescriptor
A way a field is to be displayed to a user.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.common.ExtensibleData |
|---|
extensionElements, transientProperties |
| Constructor Summary | |
|---|---|
FieldValueDescriptor()
|
|
| Method Summary | |
|---|---|
List<TextValue> |
getDisplayLabels()
The labels to be used for display purposes. |
FieldValueType |
getKnownType()
The known type of the field value. |
String |
getLabelId()
The id of the label applicable to the field value. |
Boolean |
getOptional()
Whether the treatment of the field value is optional. |
URI |
getType()
The type of the field value. |
void |
setDisplayLabels(List<TextValue> displayLabels)
The labels to be used for display purposes. |
void |
setKnownType(FieldValueType type)
The type of the field value. |
void |
setLabelId(String labelId)
The language of this display information. |
void |
setOptional(Boolean optional)
Whether the treatment of the field value is optional. |
void |
setType(URI type)
The type of the field value. |
| Methods inherited from class org.gedcomx.links.HypermediaEnabledData |
|---|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, link, link, setLinks |
| Methods inherited from class org.gedcomx.common.ExtensibleData |
|---|
addExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, id, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldValueDescriptor()
| Method Detail |
|---|
public String getLabelId()
public void setLabelId(String labelId)
labelId - The language of this display information.public URI getType()
public void setType(URI type)
type - The type of the field value.public FieldValueType getKnownType()
public void setKnownType(FieldValueType type)
type - The type of the field value.public Boolean getOptional()
public void setOptional(Boolean optional)
optional - Whether the treatment of the field value is optional. Used to determine whether it should be displayed even if the value is empty.public List<TextValue> getDisplayLabels()
public void setDisplayLabels(List<TextValue> displayLabels)
displayLabels - The labels to be used for display purposes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||