Package oracle.stellent.ridc.model
Enum Class DataResultSet.Field.Type
- All Implemented Interfaces:
Serializable,Comparable<DataResultSet.Field.Type>,java.lang.constant.Constable
- Enclosing class:
- DataResultSet.Field
All available types of field.
Using hard constants to simplify coding.
DO NOT change the order of the fields in the enum, as it mirrors the order in the FieldInfo in CS.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVariable length binary data.Variable length Binary locator object.Field holds true or false.Field holds a single character.Variable length Character locator object.Field holds a date.Field holds a decimal number.Field holds a floating point number (The Java 'double' type is used to hold these values).Field holds an integer.Variable length Unicode string for memo field.Field holds a Unicode string (although the source of the string may not be Unicode). -
Method Summary
Modifier and TypeMethodDescriptionstatic DataResultSet.Field.TypegetTypeFromOrdinal(int i) This returns the Type given the ordinal value in the enum.static DataResultSet.Field.TypeReturns the enum constant of this class with the specified name.static DataResultSet.Field.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Field holds true or false. -
CHAR
Field holds a single character. -
INT
Field holds an integer. -
FLOAT
Field holds a floating point number (The Java 'double' type is used to hold these values). -
DATE
Field holds a date. -
STRING
Field holds a Unicode string (although the source of the string may not be Unicode). If m_isFixedLen is set to false then it is a variable length string. -
BINARY
Variable length binary data. -
MEMO
Variable length Unicode string for memo field. -
BLOB
Variable length Binary locator object. -
CLOB
Variable length Character locator object. -
DECIMAL
Field holds a decimal number. (The Java 'BigDecimal' type is used to hold these values.)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getTypeFromOrdinal
This returns the Type given the ordinal value in the enum. (Note that ordinal values are zero indexed, and field types are '1' indexed).
-