public class DynamicEnumeration extends Object implements Enumeration
TypeDictionary.| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicEnumeration.Builder
Builder for the
DynamicEnumeration. |
| Modifier and Type | Method and Description |
|---|---|
static DynamicEnumeration.Builder |
builder(EnumerationSpecification specification)
Creates a new builder with the given specification.
|
boolean |
equals(Object obj) |
int |
getValue()
Returns the Enumeration value as integer.
|
String |
getValueAsString()
Returns the Enumeration value as String.
|
int |
hashCode() |
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
Enumeration.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
String |
toString() |
static DynamicEnumeration |
valueOf(int value)
Deprecated.
should not be used, see text of the javadocs.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescriptionpublic static DynamicEnumeration.Builder builder(EnumerationSpecification specification)
EnumerationSpecification.toEnumerationBuilder().@Deprecated public static DynamicEnumeration valueOf(int value)
DynamicEnumeration with the given value. String value will be null. NOTE!
this method exists for serialization purposes and should not be called manually. Instead the
DynamicEnumeration should be obtained from EnumerationSpecification.public int getValue()
getValue in interface Enumerationpublic String getValueAsString()
getValueAsString in interface Enumerationpublic EnumerationSpecification specification()
EnumerationEnumeration.specification in interface Enumerationpublic Enumeration.Builder toBuilder()
EnumerationEnumeration.toBuilder in interface EnumerationCopyright © 2026. All rights reserved.