|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.OrdinalType
This is the base class of all TWS ordinal types, and wraps a character value, which has been chosen to convert ordinal types to values that can be easily serialized into a database or file system. Each subclass of OrdinalType exposes its own instances as public static constants that can be used to handle allowed values for that class.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
protected |
OrdinalType(java.lang.String className,
char charValue)
Creates an instance of OrdinalType that wraps the specified character. |
Method Summary | |
---|---|
char |
getCharValue()
Returns the character representation of the ordinal value associated to this object. |
static OrdinalType |
getInstance(java.lang.String className,
char charValue)
Returns a reference to the instance of OrdinalType that is associated to the specified character. |
protected java.lang.String |
toString(java.lang.String className)
Returns a string representation of this OrdinalType object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
protected OrdinalType(java.lang.String className, char charValue)
className
- The name of the subclass that is calling this constructor.charValue
- The character representation of one of the values exposed by the subclass.getCharValue()
Method Detail |
public static OrdinalType getInstance(java.lang.String className, char charValue)
className
- The name of the subclass that is calling this method.charValue
- The character representation of one of the values exposed by the subclass.
getCharValue()
public char getCharValue()
protected java.lang.String toString(java.lang.String className)
className
- The name of the subclass that is calling this method.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |