ix.util
Class EnumeratedValue
java.lang.Object
ix.util.EnumeratedValue
- All Implemented Interfaces:
- SemiPrimitive, java.io.Serializable
- Direct Known Subclasses:
- AgentRelationship, End, ObjectProperty.Syntax, Priority, ReportType, Status, VariableScope, YesNo
public abstract class EnumeratedValue
- extends java.lang.Object
- implements java.io.Serializable, SemiPrimitive
Base/utility class for type-safe enumerated values.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
name
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
EnumeratedValue
public EnumeratedValue()
recordValue
protected static void recordValue(java.util.List values,
EnumeratedValue value)
getValue
protected static EnumeratedValue getValue(java.util.List values,
java.lang.String name)
getValueElseError
protected static EnumeratedValue getValueElseError(java.util.List values,
java.lang.String name)
readResolve
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
- Ensures that the correct (==) objects are obtained when
deserializing.
- Throws:
java.io.ObjectStreamException