public enum OperatorValueType extends java.lang.Enum<OperatorValueType> implements ValueEnum
Criterion
that uses this operator.Enum Constant and Description |
---|
CRITERIA
criteria should be an Array of criteria (used for logical
operators like "and"). |
CUSTOM
value should contain a value which is not necessarily the same type
as the field (used for regexp and similar operators). |
FIELD_NAME
value should be the name of another field in the record |
FIELD_TYPE
value should contain a value of the same type as the field. |
NONE
no criterion.value or other setting required (used for operators like isNull).
|
VALUE_RANGE
start and end
should contain start and end values, both of the same type as the field. |
VALUE_SET
value should contain an Array of valid field values. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static OperatorValueType |
valueOf(java.lang.String name)
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.
|
public static final OperatorValueType FIELD_TYPE
value
should contain a value of the same type as the field.public static final OperatorValueType FIELD_NAME
value
should be the name of another field in the recordpublic static final OperatorValueType NONE
public static final OperatorValueType CRITERIA
criteria
should be an Array of criteria (used for logical
operators like "and").public static final OperatorValueType VALUE_RANGE
start
and end
should contain start and end values, both of the same type as the field.public static final OperatorValueType VALUE_SET
value
should contain an Array of valid field values.public static final OperatorValueType CUSTOM
value
should contain a value which is not necessarily the same type
as the field (used for regexp and similar operators). editorType can be specified as a FormItem to use to enter a
value for the criterion.public static OperatorValueType[] values()
for (OperatorValueType c : OperatorValueType.values()) System.out.println(c);
public static OperatorValueType 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