public class AllowedValue extends PropertyContainer
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
AllowedValue()
Creates
AllowedValue instance. |
| Modifier and Type | Method and Description |
|---|---|
AllowedValue |
clone() |
java.lang.String |
elementName() |
java.lang.String |
getExtValue() |
java.lang.String |
getLabel() |
java.lang.Integer |
getOrder() |
java.lang.Long |
getValue() |
java.lang.Boolean |
isActive() |
java.lang.Boolean |
isDefault() |
protected boolean |
isVisible(java.lang.String key) |
AllowedValue |
setActive(java.lang.Boolean active)
Sets the allowed value active flag.
|
AllowedValue |
setDefault(java.lang.Boolean isDefault)
Sets the default flag.
|
AllowedValue |
setExtValue(java.lang.String value)
Sets the allowed external value.
|
AllowedValue |
setLabel(java.lang.String label)
Sets the allowed value lable.
|
AllowedValue |
setOrder(java.lang.Integer order)
Sets allowed value order.
|
AllowedValue |
setValue(java.lang.Long value)
Sets the allowed value.
|
java.lang.String |
toString() |
AllowedValue |
withActive(java.lang.Boolean active)
Sets the allowed value active flag.
|
AllowedValue |
withDefault(java.lang.Boolean isDefault)
Sets the default flag value and return itself.
|
AllowedValue |
withExtValue(java.lang.String value)
Sets the allowed external value and return itself.
|
AllowedValue |
withLabel(java.lang.String label)
Sets the allowed value label and return the itself.
|
AllowedValue |
withOrder(java.lang.Integer order)
Sets the allowed value order and return itself.
|
AllowedValue |
withValue(java.lang.Long value)
Sets the allowed value and return itself.
|
appendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, jsonElementName, removeProperty, setPropertiesFrom, setProperty, toJsonpublic AllowedValue()
AllowedValue instance.public java.lang.Long getValue()
public AllowedValue setValue(java.lang.Long value)
value - the given allowed value to set.public AllowedValue withValue(java.lang.Long value)
value - the given allowed value to set.public java.lang.String getExtValue()
public AllowedValue setExtValue(java.lang.String value)
value - the given allowed external value to set.public AllowedValue withExtValue(java.lang.String value)
value - the given allowed external value to set.public java.lang.String getLabel()
public AllowedValue setLabel(java.lang.String label)
label - the given allowed value label to set.public AllowedValue withLabel(java.lang.String label)
label - the given allowed value label to set.public java.lang.Integer getOrder()
public AllowedValue setOrder(java.lang.Integer order)
order - the given allowed value order to set.public AllowedValue withOrder(java.lang.Integer order)
order - the given allowed value order to set.public java.lang.Boolean isDefault()
public AllowedValue setDefault(java.lang.Boolean isDefault)
isDefault - the default flag value to set.public AllowedValue withDefault(java.lang.Boolean isDefault)
isDefault - the given default flag value to set.public java.lang.Boolean isActive()
public AllowedValue setActive(java.lang.Boolean active)
active - the given active flag to set.public AllowedValue withActive(java.lang.Boolean active)
active - the given active flag to set.protected boolean isVisible(java.lang.String key)
isVisible in class PropertyContainerkey - property keypublic AllowedValue clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String toString()
toString in class PropertyContainer