Enum ProcessValueType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<ProcessValueType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiongeneric array type - will convert value to an array of the same type as the existing valuethe strings "true" and "false" become boolean true and false.values are converted via toString() and parsing as a decimal number.values are converted via toString(), parsing as a number, and rounding to nearest integer.any input which is not already a Record or Map becomes nullvalues that are not already strings are converted via toString() -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static ProcessValueType
Returns the enum constant of this type with the specified name.static ProcessValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRING
values that are not already strings are converted via toString()If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "string". -
BOOLEAN
the strings "true" and "false" become boolean true and false. All other Strings non-empty String values are true, all numbers are true except 0, and all other non-null values are trueIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "boolean". -
DECIMAL
values are converted via toString() and parsing as a decimal number. Invalid values trigger a transition to theStateTask.failureElement
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "decimal". -
INTEGER
values are converted via toString(), parsing as a number, and rounding to nearest integer. Invalid values trigger a transition to theStateTask.failureElement
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "integer". -
RECORD
any input which is not already a Record or Map becomes nullIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "record". -
ARRAY
generic array type - will convert value to an array of the same type as the existing valueIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "array".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-