Package com.smeup.kokos.sdk.model.data
Enum Class SmeupDataCellInputSettingsKeys
java.lang.Object
java.lang.Enum<SmeupDataCellInputSettingsKeys>
com.smeup.kokos.sdk.model.data.SmeupDataCellInputSettingsKeys
- All Implemented Interfaces:
Serializable,Comparable<SmeupDataCellInputSettingsKeys>,Constable
- Author:
- mattia.bonardi This class list of all input settings keys of the cell
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable the cell to emit event to check the objectEnable the cell to emit event when user exit from fieldForce the input to be in UPPERCASE formatDefine that the field is mandatory -
Method Summary
Modifier and TypeMethodDescriptioncreateAttribute(SmeupDataCellInputSettingsKeys key, Object value) Utility method to create an attribute given its enum key and valueReturns the enum constant of this class with the specified name.static SmeupDataCellInputSettingsKeys[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANDATORY
Define that the field is mandatory -
CHECK_VALUE_ON_EXIT
Enable the cell to emit event when user exit from field -
CHECK_OBJECT
Enable the cell to emit event to check the object -
FORCE_UPPERCASE
Force the input to be in UPPERCASE format
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getAttributeName
-
createAttribute
public static Map.Entry<String,Object> createAttribute(SmeupDataCellInputSettingsKeys key, Object value) throws Exception Utility method to create an attribute given its enum key and value- Parameters:
key- the enum valuevalue- the real value- Returns:
- instance of Entry
- Throws:
Exception- Exception
-