public final class EnumEnumType extends Object implements EnumType<Enum<?>>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
private Enum<?> |
value |
Constructor and Description |
---|
EnumEnumType(Enum<?> value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Enum<?> |
getValue()
This method returns the raw value of this datatype.
|
String |
toString()
|
private static final long serialVersionUID
private Enum<?> value
getValue()
public Enum<?> getValue()
String
, Character
, Boolean
, any type of Number
, any type of
java.time.LocalDate
, etc.).getValue
in interface AttributeReadValue<Enum<?>>
getValue
in interface SimpleDatatype<Enum<?>>
public String toString()
String
representation of this Datatype
. While the general contract
of Object.toString()
is very weak and mainly used for debugging, the contract here is very
strong. The returned String
has to be suitable for end-users and official output to any kind of
sink. NlsMessage
for this purpose and implement
NlsObject
if you want to support I18N/L10N.Copyright © 2001–2014 mmm-Team. All rights reserved.