Enum Class Parameter.Type
- All Implemented Interfaces:
Serializable, Comparable<Parameter.Type>, Constable
- Enclosing class:
Parameter
Parameter types enum
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StringlistCountToString(int paramId, Map<Integer, BigDecimal> values) Unified representation 'listcount' parameter values as a string.static StringlistToString(int paramId, Map<Integer, String> values) Unified representation 'list' parameter values as a string.static Parameter.Typestatic StringtreeCountToString(int paramId, Map<String, BigDecimal> values) Unified representation 'treecount' parameter values as a string.static StringtreeToString(int paramId, Set<String> values) Unified representation 'tree' parameter values as a string.static Parameter.TypeReturns the enum constant of this class with the specified name.static Parameter.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDRESS
-
BLOB
-
DATE
-
DATETIME
-
EMAIL
-
FILE
-
LIST
-
LISTCOUNT
-
MONEY
-
TEXT
-
PHONE
-
TREE
-
TREECOUNT
-
-
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
-
of
-
listToString
Unified representation 'list' parameter values as a string. The logic is duplicated inParamValueSelect.paramSelectQuery(String, String, StringBuilder, StringBuilder, boolean)for process queues.- Parameters:
paramId- the parameter IDvalues- the parameter values with comments- Returns:
- string with comma-separated titles of the selected values
-
listCountToString
Unified representation 'listcount' parameter values as a string. The logic is duplicated inParamValueSelect.paramSelectQuery(String, String, StringBuilder, StringBuilder, boolean)for process queues.- Parameters:
paramId- the parameter IDvalues- the parameter values- Returns:
- string with comma-separated titles and counts of the selected values
-
treeToString
Unified representation 'tree' parameter values as a string. The logic is duplicated inParamValueSelect.paramSelectQuery(String, String, StringBuilder, StringBuilder, boolean)for process queues.- Parameters:
paramId- the parameter IDvalues- the parameter values- Returns:
- string with comma-separated titles of the selected tree values
-
treeCountToString
Unified representation 'treecount' parameter values as a string. The logic is duplicated inParamValueSelect.paramSelectQuery(String, String, StringBuilder, StringBuilder, boolean)for process queues.- Parameters:
paramId- the parameter IDvalues- the parameter values- Returns:
- string with comma-separated titles and counts of the selected tree values
-