public enum ProcessValueType extends java.lang.Enum<ProcessValueType> implements ValueEnum
Enum Constant and Description |
---|
ARRAY
generic array type - will convert value to an array of the same type as the existing value
|
BOOLEAN
the strings "true" and "false" become boolean true and false.
|
DECIMAL
values are converted via toString() and parsing as a decimal number.
|
INTEGER
values are converted via toString(), parsing as a number, and rounding to nearest integer.
|
RECORD
any input which is not already a Record or Map becomes null
|
STRING
values that are not already strings are converted via toString()
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ProcessValueType |
valueOf(java.lang.String name)
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.
|
public static final ProcessValueType STRING
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "string".
public static final ProcessValueType BOOLEAN
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "boolean".
public static final ProcessValueType DECIMAL
StateTask.failureElement
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "decimal".
public static final ProcessValueType INTEGER
StateTask.failureElement
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "integer".
public static final ProcessValueType RECORD
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "record".
public static final ProcessValueType ARRAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "array".
public static ProcessValueType[] values()
for (ProcessValueType c : ProcessValueType.values()) System.out.println(c);
public static ProcessValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null