public class FieldDescriptor extends HypermediaEnabledData
extensionElements, transientProperties| Constructor and Description |
|---|
FieldDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(TextValue description)
Add a description.
|
FieldDescriptor |
description(String description)
Build out this descriptor with a description.
|
FieldDescriptor |
description(TextValue description)
Build out this descriptor with a description.
|
FieldDescriptor |
extensionElement(Object element) |
List<TextValue> |
getDescriptions()
The description of the field.
|
String |
getOriginalLabel()
The original label for the field, as stated on the original record.
|
List<FieldValueDescriptor> |
getValues()
Descriptors of the values that are applicable to the field.
|
FieldDescriptor |
id(String id)
Build up this object with an id.
|
FieldDescriptor |
link(Link link)
Build up this data with a link.
|
FieldDescriptor |
link(String rel,
URI href)
Build up this data with a link.
|
FieldDescriptor |
originalLabel(String originalLabel)
Build out this field descriptor with an original label.
|
void |
setDescriptions(List<TextValue> descriptions)
The description of the field.
|
void |
setOriginalLabel(String originalLabel)
The original label for the field, as stated on the original record.
|
void |
setValues(List<FieldValueDescriptor> values)
Descriptors of the values that are applicable to the field.
|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, setLinksaddExtensionElement, embed, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toStringpublic FieldDescriptor id(String id)
ExtensibleDataid in class ExtensibleDataid - The id.public FieldDescriptor extensionElement(Object element)
extensionElement in class ExtensibleDatapublic FieldDescriptor link(Link link)
HypermediaEnabledDatalink in class HypermediaEnabledDatalink - The link.public FieldDescriptor link(String rel, URI href)
HypermediaEnabledDatalink in class HypermediaEnabledDatarel - The rel.href - The href.public String getOriginalLabel()
public void setOriginalLabel(String originalLabel)
originalLabel - The original label for the field, as stated on the original record.public FieldDescriptor originalLabel(String originalLabel)
originalLabel - The original label.public List<TextValue> getDescriptions()
public void setDescriptions(List<TextValue> descriptions)
descriptions - The description of the field.public FieldDescriptor description(TextValue description)
description - The description.public FieldDescriptor description(String description)
description - The description.public void addDescription(TextValue description)
description - The description to be added.public List<FieldValueDescriptor> getValues()
public void setValues(List<FieldValueDescriptor> values)
values - Descriptors of the values that are applicable to the field.Copyright © 2016. All rights reserved.