Enum FieldType.FieldTypeEnum
- java.lang.Object
-
- java.lang.Enum<FieldType.FieldTypeEnum>
-
- com.stackone.stackone_client_java.models.components.FieldType.FieldTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FieldType.FieldTypeEnum>
- Enclosing class:
- FieldType
public static enum FieldType.FieldTypeEnum extends java.lang.Enum<FieldType.FieldTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANDATEEMAILLOCATIONLONG_TEXTMULTI_SELECTNUMBERPHONESCORESHORT_TEXTSINGLE_SELECTUNMAPPED_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringvalue()static FieldType.FieldTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldType.FieldTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHORT_TEXT
public static final FieldType.FieldTypeEnum SHORT_TEXT
-
LONG_TEXT
public static final FieldType.FieldTypeEnum LONG_TEXT
-
MULTI_SELECT
public static final FieldType.FieldTypeEnum MULTI_SELECT
-
SINGLE_SELECT
public static final FieldType.FieldTypeEnum SINGLE_SELECT
-
BOOLEAN
public static final FieldType.FieldTypeEnum BOOLEAN
-
NUMBER
public static final FieldType.FieldTypeEnum NUMBER
-
DATE
public static final FieldType.FieldTypeEnum DATE
-
PHONE
public static final FieldType.FieldTypeEnum PHONE
-
EMAIL
public static final FieldType.FieldTypeEnum EMAIL
-
SCORE
public static final FieldType.FieldTypeEnum SCORE
-
LOCATION
public static final FieldType.FieldTypeEnum LOCATION
-
UNMAPPED_VALUE
public static final FieldType.FieldTypeEnum UNMAPPED_VALUE
-
-
Method Detail
-
values
public static FieldType.FieldTypeEnum[] 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 (FieldType.FieldTypeEnum c : FieldType.FieldTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldType.FieldTypeEnum 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 namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
-