Enum OperatorValueType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<OperatorValueType>
,Constable
Criterion
that uses this operator.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCriterion.criteria
should be an Array of criteria (used for logical operators like "and").Criterion.value
should contain a value which is not necessarily the same type as the field (used for regexp and similar operators).Criterion.value
should be the name of another field in the recordCriterion.value
should contain a value of the same type as the field.no criterion.value or other setting required (used for operators like isBlank or isNull).Criterion.start
andCriterion.end
should contain start and end values, both of the same type as the field.Criterion.value
should contain an Array of valid field values. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static OperatorValueType
Returns the enum constant of this type with the specified name.static OperatorValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIELD_TYPE
Criterion.value
should contain a value of the same type as the field.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fieldType". -
FIELD_NAME
Criterion.value
should be the name of another field in the recordIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fieldName". -
NONE
no criterion.value or other setting required (used for operators like isBlank or isNull).If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none". -
CRITERIA
Criterion.criteria
should be an Array of criteria (used for logical operators like "and").If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "criteria". -
VALUE_RANGE
Criterion.start
andCriterion.end
should contain start and end values, both of the same type as the field.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "valueRange". -
VALUE_SET
Criterion.value
should contain an Array of valid field values.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "valueSet". -
CUSTOM
Criterion.value
should contain a value which is not necessarily the same type as the field (used for regexp and similar operators).Operator.editorType
can be specified as a FormItem to use to enter a value for the criterion.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "custom".
-
-
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
-