Package org.bonitasoft.web.client.model
Enum InputDefinition.TypeEnum
- java.lang.Object
-
- java.lang.Enum<InputDefinition.TypeEnum>
-
- org.bonitasoft.web.client.model.InputDefinition.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<InputDefinition.TypeEnum>
- Enclosing class:
- InputDefinition
public static enum InputDefinition.TypeEnum extends Enum<InputDefinition.TypeEnum>
Gets or Sets type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANBYTE_ARRAYDATEDECIMALFILEINTEGERLOCALDATELOCALDATETIMELONGOFFSETDATETIMETEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputDefinition.TypeEnumfromValue(String value)StringgetValue()StringtoString()static InputDefinition.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static InputDefinition.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final InputDefinition.TypeEnum TEXT
-
BOOLEAN
public static final InputDefinition.TypeEnum BOOLEAN
-
DATE
public static final InputDefinition.TypeEnum DATE
-
INTEGER
public static final InputDefinition.TypeEnum INTEGER
-
DECIMAL
public static final InputDefinition.TypeEnum DECIMAL
-
BYTE_ARRAY
public static final InputDefinition.TypeEnum BYTE_ARRAY
-
FILE
public static final InputDefinition.TypeEnum FILE
-
LONG
public static final InputDefinition.TypeEnum LONG
-
LOCALDATE
public static final InputDefinition.TypeEnum LOCALDATE
-
LOCALDATETIME
public static final InputDefinition.TypeEnum LOCALDATETIME
-
OFFSETDATETIME
public static final InputDefinition.TypeEnum OFFSETDATETIME
-
-
Method Detail
-
values
public static InputDefinition.TypeEnum[] 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 (InputDefinition.TypeEnum c : InputDefinition.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputDefinition.TypeEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<InputDefinition.TypeEnum>
-
fromValue
public static InputDefinition.TypeEnum fromValue(String value)
-
-