|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CqFieldValue.ValueType>
CqFieldValue.ValueType
public static enum CqFieldValue.ValueType
An enumeration of the possible types of values that can be stored in a record field. This enumeration is more precise than the StpProperty.Type enumeration in specifying the type of a field value.
Enum Constant Summary | |
---|---|
ATTACHMENT_LIST
A field containing attachments |
|
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 |
|
JOURNAL
A field recording events in the history of the record |
|
MULTILINE_STRING
An arbitrarily long string of characters, possibly containing one or more newline characters. |
|
RECORD_TYPE
A field containing the record's record type name |
|
RESOURCE
A proxy for a Resource of a specific ResourceValueType. |
|
RESOURCE_LIST
A list of proxies for a Resource of a specific ResourceValueType |
|
SHORT_STRING
A single-line of text up to 254 characters. |
|
STATE
A field containing the name of the record's current state |
|
STATE_TYPE
A field containing the type of the record's current state |
|
UNKNOWN
An initial value for ValueType variables |
Method Summary | |
---|---|
static CqFieldValue.ValueType |
fromPropertyType(StpProperty.Type type)
Returns the ValueType that exactly matches a given PropertyType; otherwise UNKNOWN. |
CqQuery.DisplayField.FieldType |
toFieldType()
The CqQuery.DisplayField.FieldType that corresponds to this field type. |
StpProperty.Type |
toPropertyType()
The StpProperty.Type that corresponds to this field type. |
static CqFieldValue.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CqFieldValue.ValueType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
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 |
---|
public static final CqFieldValue.ValueType ATTACHMENT_LIST
public static final CqFieldValue.ValueType DATE_TIME
public static final CqFieldValue.ValueType DBID
public static final CqFieldValue.ValueType FLOAT
public static final CqFieldValue.ValueType ID
public static final CqFieldValue.ValueType INTEGER
public static final CqFieldValue.ValueType JOURNAL
public static final CqFieldValue.ValueType MULTILINE_STRING
public static final CqFieldValue.ValueType RECORD_TYPE
public static final CqFieldValue.ValueType RESOURCE
public static final CqFieldValue.ValueType RESOURCE_LIST
public static final CqFieldValue.ValueType SHORT_STRING
public static final CqFieldValue.ValueType STATE
public static final CqFieldValue.ValueType STATE_TYPE
public static final CqFieldValue.ValueType UNKNOWN
Method Detail |
---|
public static CqFieldValue.ValueType fromPropertyType(StpProperty.Type type)
type
- a Type enumerator
public CqQuery.DisplayField.FieldType toFieldType()
public StpProperty.Type toPropertyType()
public static CqFieldValue.ValueType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static final CqFieldValue.ValueType[] values()
for(CqFieldValue.ValueType c : CqFieldValue.ValueType.values()) System.out.println(c);
|
Generated Tue 22-May-2012 12:04 PM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |