public enum CustomFieldDataType extends Enum<CustomFieldDataType>
Java class for CustomFieldDataType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomFieldDataType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="STRING"/>
<enumeration value="NUMBER"/>
<enumeration value="TOGGLE"/>
<enumeration value="DROP_DOWN"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DROP_DOWN
A drop-down field.
|
NUMBER
A number field.
|
STRING
A string field.
|
TOGGLE
A boolean field.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomFieldDataType |
fromValue(String v) |
String |
value() |
static CustomFieldDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomFieldDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomFieldDataType STRING
public static final CustomFieldDataType NUMBER
public static final CustomFieldDataType TOGGLE
public static final CustomFieldDataType DROP_DOWN
CustomFieldOption objects.public static final CustomFieldDataType UNKNOWN
public static CustomFieldDataType[] values()
for (CustomFieldDataType c : CustomFieldDataType.values()) System.out.println(c);
public static CustomFieldDataType 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 nullpublic String value()
public static CustomFieldDataType fromValue(String v)
Copyright © 2018. All Rights Reserved.