public abstract class EnumeratedType extends StringValue
| Constructor and Description |
|---|
EnumeratedType(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<EnumeratedType> |
getValues(Class<? extends EnumeratedType> c)
Gets the enumerated type values for a given subclass of EnumeratedType.
|
Object |
readResolve()
Method to ensure that == works after deserialization
|
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOfpublic EnumeratedType(String name)
name - Name of this enumerated type valuepublic static List<EnumeratedType> getValues(Class<? extends EnumeratedType> c)
c - The enumerated type subclass to get values forpublic Object readResolve() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2006–2015 Apache Software Foundation. All rights reserved.