public class FieldValue extends PropertyContainer
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
FieldValue()
Creates
FieldValue instance. |
FieldValue(java.lang.Long id,
java.lang.String value)
Creates
FieldValue instance from id and its value. |
| Modifier and Type | Method and Description |
|---|---|
FieldValue |
clone() |
java.lang.String |
elementName() |
java.lang.Long |
getId() |
java.lang.String |
getValue() |
FieldValue |
setId(java.lang.Long id)
Sets the field identifier.
|
FieldValue |
setValue(java.lang.String value)
Sets the field value.
|
FieldValue |
withId(java.lang.Long id)
Sets the field identifier and return itself.
|
FieldValue |
withValue(java.lang.String value)
Sets the field value.
|
appendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic FieldValue()
FieldValue instance.public FieldValue(java.lang.Long id,
java.lang.String value)
FieldValue instance from id and its value.id - the given field id.value - the given field value.public java.lang.Long getId()
public FieldValue setId(java.lang.Long id)
id - the given field identifier to set.public FieldValue withId(java.lang.Long id)
id - the given field identifier to set.public java.lang.String getValue()
public FieldValue setValue(java.lang.String value)
value - the given field value to set.public FieldValue withValue(java.lang.String value)
value - the given field value to set.public FieldValue clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainer