public enum ObjectFieldType extends Enum<ObjectFieldType> implements FieldType
ObjectField.getFieldType()
Enum Constant and Description |
---|
BOOLEAN
This is a representation of a Yes/No Object Field.
|
COMPONENT
This is a representation of a Component Object Field, such as the lifecycle field.
|
CURRENCY
This is a representation of a Currency Object Field.
|
DATE
This is a representation of a Date Object Field.
|
DATETIME
This is a representation of a DateTime Object Field.
|
DOCUMENT_REFERENCE
This is a representation of a Document Reference Object Field.
|
FORMULA
This is a representation of a Formula Object Field.
|
ID
This is a representation of the ID Object Field.
|
LONGTEXT
This is a representation of a Long Text Object Field.
|
LOOKUP
This is a representation of a Lookup Object Field.
|
NUMBER
This is a representation of a Number Object Field.
|
OBJECT_REFERENCE
This is a representation of an Object Reference Object Field.
|
PARENT_OBJECT_REFERENCE
This is a representation of a Parent Object Reference Object Field.
|
PICKLIST
This is a representation of a Picklist Object Field.
|
RICHTEXT
This is a representation of a Rich Text Object Field.
|
STRING
This is a representation of a Text Object Field.
|
Modifier and Type | Method and Description |
---|---|
static ObjectFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectFieldType STRING
ValueType.STRING
.public static final ObjectFieldType NUMBER
ValueType.NUMBER
.public static final ObjectFieldType ID
ValueType.STRING
.public static final ObjectFieldType DATE
ValueType.DATE
.public static final ObjectFieldType DATETIME
ValueType.DATETIME
.public static final ObjectFieldType BOOLEAN
ValueType.BOOLEAN
.public static final ObjectFieldType PICKLIST
ValueType.PICKLIST_VALUES
.public static final ObjectFieldType OBJECT_REFERENCE
ValueType.STRING
.public static final ObjectFieldType PARENT_OBJECT_REFERENCE
ValueType.STRING
.public static final ObjectFieldType LOOKUP
ValueType
.public static final ObjectFieldType FORMULA
ValueType.STRING
, ValueType.NUMBER
, ValueType.BOOLEAN
,
ValueType.DATE
, or ValueType.DATETIME
.public static final ObjectFieldType CURRENCY
ValueType.NUMBER
.public static final ObjectFieldType LONGTEXT
ValueType.STRING
.public static final ObjectFieldType RICHTEXT
ValueType.STRING
.public static final ObjectFieldType DOCUMENT_REFERENCE
ValueType.STRING
.public static final ObjectFieldType COMPONENT
ValueType.STRING
.public static ObjectFieldType[] values()
for (ObjectFieldType c : ObjectFieldType.values()) System.out.println(c);
public static ObjectFieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © Veeva Systems 2017–2021. All rights reserved.