Class EnumeratedType

  • All Implemented Interfaces:
    Serializable, IClusterable
    Direct Known Subclasses:
    TimeOfDay.Meridian

    public abstract class EnumeratedType
    extends StringValue
    A base class for defining enumerated types. Since this class extends StringValue, every enumerated type subclass is a StringValue that can be manipulated, converted and displayed in useful ways. In addition to constructing a type with the given name, lists are kept of all enumeration values by subclass. The list of available values in the enumeration represented by a given subclass can be retrieved by calling getValues(Class).
    Author:
    Jonathan Locke
    See Also:
    Serialized Form