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()
Value
public java.lang.String getId()
Value
public Value getParent()
Value
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.