Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


oracle.stellent.ridc.model
Enum DataResultSet.Field.Type

java.lang.Object
  extended by java.lang.Enum<DataResultSet.Field.Type>
      extended by oracle.stellent.ridc.model.DataResultSet.Field.Type

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataResultSet.Field.Type>
Enclosing class:
DataResultSet.Field

public static enum DataResultSet.Field.Type
extends java.lang.Enum<DataResultSet.Field.Type>

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.


Enum Constant Summary
BINARY
          Variable length binary data.
BLOB
          Variable length Binary locator object.
BOOLEAN
          Field holds true or false.
CHAR
          Field holds a single character.
CLOB
          Variable length Character locator object.
DATE
          Field holds a date.
DECIMAL
          Field holds a decimal number.
FLOAT
          Field holds a floating point number (The Java 'double' type is used to hold these values).
INT
          Field holds an integer.
MEMO
          Variable length Unicode string for memo field.
STRING
          Field holds a Unicode string (although the source of the string may not be Unicode).

 

Method Summary
static DataResultSet.Field.Type getTypeFromOrdinal(int i)
          This returns the Type given the ordinal value in the enum.
static DataResultSet.Field.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataResultSet.Field.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

BOOLEAN

public static final DataResultSet.Field.Type BOOLEAN
Field holds true or false.

CHAR

public static final DataResultSet.Field.Type CHAR
Field holds a single character.

INT

public static final DataResultSet.Field.Type INT
Field holds an integer.

FLOAT

public static final DataResultSet.Field.Type FLOAT
Field holds a floating point number (The Java 'double' type is used to hold these values).

DATE

public static final DataResultSet.Field.Type DATE
Field holds a date.

STRING

public static final DataResultSet.Field.Type 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

public static final DataResultSet.Field.Type BINARY
Variable length binary data.

MEMO

public static final DataResultSet.Field.Type MEMO
Variable length Unicode string for memo field.

BLOB

public static final DataResultSet.Field.Type BLOB
Variable length Binary locator object.

CLOB

public static final DataResultSet.Field.Type CLOB
Variable length Character locator object.

DECIMAL

public static final DataResultSet.Field.Type DECIMAL
Field holds a decimal number. (The Java 'BigDecimal' type is used to hold these values.)

Method Detail

values

public static DataResultSet.Field.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DataResultSet.Field.Type c : DataResultSet.Field.Type.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataResultSet.Field.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getTypeFromOrdinal

public static DataResultSet.Field.Type getTypeFromOrdinal(int i)
This returns the Type given the ordinal value in the enum. (Note that ordinal values are zero indexed, and field types are '1' indexed).

Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.