public class EnumerationValue extends java.lang.Object implements Value
| Modifier | Constructor and Description |
|---|---|
protected |
EnumerationValue()
A constructor required by JAXB.
|
|
EnumerationValue(java.lang.String constant,
EnumerationType type)
A public constructor for creation of an enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the id of this value, if any.
|
Value |
getParent()
Returns the parent of this value.
|
java.lang.Object |
toObject()
Converts this value to an appropriate object.
|
java.lang.String |
toString() |
protected EnumerationValue()
public EnumerationValue(java.lang.String constant,
EnumerationType type)
constant - type - public java.lang.Object toObject()
Valuepublic java.lang.String getId()
Valuepublic Value getParent()
Valuepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.