Package org.bonitasoft.web.client.model
Enum ContractInputType
- java.lang.Object
-
- java.lang.Enum<ContractInputType>
-
- org.bonitasoft.web.client.model.ContractInputType
-
- All Implemented Interfaces:
Serializable,Comparable<ContractInputType>
public enum ContractInputType extends Enum<ContractInputType>
the contract input type (string)
-
-
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 ContractInputTypefromValue(String value)StringgetValue()StringtoString()static ContractInputTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ContractInputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final ContractInputType TEXT
-
BOOLEAN
public static final ContractInputType BOOLEAN
-
DATE
public static final ContractInputType DATE
-
INTEGER
public static final ContractInputType INTEGER
-
DECIMAL
public static final ContractInputType DECIMAL
-
BYTE_ARRAY
public static final ContractInputType BYTE_ARRAY
-
FILE
public static final ContractInputType FILE
-
LONG
public static final ContractInputType LONG
-
LOCALDATE
public static final ContractInputType LOCALDATE
-
LOCALDATETIME
public static final ContractInputType LOCALDATETIME
-
OFFSETDATETIME
public static final ContractInputType OFFSETDATETIME
-
-
Method Detail
-
values
public static ContractInputType[] 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 (ContractInputType c : ContractInputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContractInputType 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<ContractInputType>
-
fromValue
public static ContractInputType fromValue(String value)
-
-