Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqQuery.DisplayField.FieldType

Object
  extended by Enum<CqQuery.DisplayField.FieldType>
      extended by CqQuery.DisplayField.FieldType
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CqQuery.DisplayField.FieldType>
Enclosing interface:
CqQuery.DisplayField

public static enum CqQuery.DisplayField.FieldType
extends Enum<CqQuery.DisplayField.FieldType>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

The value types for result set rows


Enum Constant Summary
BINARY
          An arbitrarily large string of uninterpreted data bits
DATE_TIME
          A GMT date/time between 12:00:01 AM January 1, 1970 and 11:59:59 PM January 18, 2038.
DBID
          A database id (integer) field
FLOAT
          A floating point value
ID
          A record id (alphanumeric) field
INTEGER
          An integer in the range -9999999999 to 9999999999
MULTILINE_STRING
          An arbitrarily long string of characters, possibly containing one or more newline characters.
RECORD_TYPE
          A record's record type name
REFERENCE
          A reference field
SHORT_STRING
          A single-line of text up to 254 characters.
STATE
          The name of a record's current state
STATE_TYPE
          The type of a record's current state
UNKNOWN
          An initial value for ValueType variables
 
Method Summary
static CqQuery.DisplayField.FieldType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqQuery.DisplayField.FieldType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 CqFieldValue.ValueType valueType()
           
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BINARY

public static final CqQuery.DisplayField.FieldType BINARY
An arbitrarily large string of uninterpreted data bits


DATE_TIME

public static final CqQuery.DisplayField.FieldType DATE_TIME
A GMT date/time between 12:00:01 AM January 1, 1970 and 11:59:59 PM January 18, 2038.


DBID

public static final CqQuery.DisplayField.FieldType DBID
A database id (integer) field


FLOAT

public static final CqQuery.DisplayField.FieldType FLOAT
A floating point value


ID

public static final CqQuery.DisplayField.FieldType ID
A record id (alphanumeric) field


INTEGER

public static final CqQuery.DisplayField.FieldType INTEGER
An integer in the range -9999999999 to 9999999999


MULTILINE_STRING

public static final CqQuery.DisplayField.FieldType MULTILINE_STRING
An arbitrarily long string of characters, possibly containing one or more newline characters.


RECORD_TYPE

public static final CqQuery.DisplayField.FieldType RECORD_TYPE
A record's record type name


REFERENCE

public static final CqQuery.DisplayField.FieldType REFERENCE
A reference field


SHORT_STRING

public static final CqQuery.DisplayField.FieldType SHORT_STRING
A single-line of text up to 254 characters. Leading and trailing whitespace is trimmed when stored in a record.


STATE

public static final CqQuery.DisplayField.FieldType STATE
The name of a record's current state


STATE_TYPE

public static final CqQuery.DisplayField.FieldType STATE_TYPE
The type of a record's current state


UNKNOWN

public static final CqQuery.DisplayField.FieldType UNKNOWN
An initial value for ValueType variables

Method Detail

valueOf

public static CqQuery.DisplayField.FieldType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

values

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

Returns:
an array containing the constants of this enum type, in the order they're declared

valueType

public CqFieldValue.ValueType valueType()
Returns:
The CqFieldValue.ValueType to which this DisplayField.FieldType equates; ValueType.UNKNOWN if there is no equivalent ValueType.

Generated Fri 14-Dec-2012 12:56 AM

Copyright © IBM 2012. All rights reserved.