public interface EnumerationDescription extends NamedElement
Object.toString()
method always returns the
value as if the method was not overridden, i.e. the name of the enumeration constant.Modifier and Type | Interface and Description |
---|---|
static class |
EnumerationDescription.AbstractBase
An adapter implementation of an enumeration description.
|
static class |
EnumerationDescription.ForLoadedEnumeration
An enumeration description representing a loaded enumeration.
|
static class |
EnumerationDescription.Latent
A latent description of an enumeration value.
|
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
EMPTY_NAME, NO_NAME
Modifier and Type | Method and Description |
---|---|
TypeDescription |
getEnumerationType()
Returns the type of this enumeration.
|
String |
getValue()
Returns the name of this instance's enumeration value.
|
<T extends Enum<T>> |
load(Class<T> type)
Prepares this enumeration value to be loaded.
|
getActualName
String getValue()
TypeDescription getEnumerationType()
Copyright © 2014–2020. All rights reserved.