Interface EnumerationDescription
- All Superinterfaces:
NamedElement
- All Known Implementing Classes:
EnumerationDescription.AbstractBase, EnumerationDescription.ForLoadedEnumeration, EnumerationDescription.Latent
Describes an enumeration value. Note that the
Object.toString() method always returns the
value as if the method was not overridden, i.e. the name of the enumeration constant.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn adapter implementation of an enumeration description.static classAn enumeration description representing a loaded enumeration.static classA latent description of an enumeration value.Nested classes/interfaces inherited from interface NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName -
Field Summary
Fields inherited from interface NamedElement
EMPTY_NAME, NO_NAME -
Method Summary
Methods inherited from interface NamedElement
getActualName
-
Method Details
-
getValue
String getValue()Returns the name of this instance's enumeration value.- Returns:
- The name of this enumeration constant.
-
getEnumerationType
TypeDescription getEnumerationType()Returns the type of this enumeration.- Returns:
- The type of this enumeration.
-
load
-