public enum Operator extends Enum<Operator>
Enum Constant and Description |
---|
CHANGED_IN_LAST
True when the property (date) is a value between (now) and (now - X hours), where the number of hours
is the given integer value.
|
CONTAINS
True when the property (list of values) contains the given (single) value.
|
CONTAINS_ANY
True when the property (list of values) contains ANY of the values in the given list of values.
|
EQUALS
True when the property value is equal to the given value.
|
EQUALS_CASE_INSENSITIVE
True when the property (string) equals the given string value, ignoring case.
|
GREATER
True when the property value is greater than the given value.
|
GREATER_OR_EQUAL
True when the property value is greater than or equal to the given value.
|
IN
True when the property (single value) is one of the values in a given list.
|
IN_IGNORE_CASE
True when the property (single string value) is one of the values in a given list, ignoring case.
|
IS_NULL
Unary operator.
|
LESS
True when the property value is less then the given value.
|
LESS_OR_EQUAL
True when the property value is less than or equal to the given value.
|
LIKE
True when the property (string) equals the given string value, using the '%' char as a wildcard.
|
LIKE_CASE_INSENSITIVE
True when the property (string) equals the given string value, using the '%' char as a wildcard, ignoring case.
|
NOT_EQUALS
True when the property value is not equal to the given value.
|
OCCURS_AFTER_HOURS
True when the property (date) is a value outside the (now) and (now + X hours) range, where the number of hours
is the given integer value.
|
OCCURS_WITHIN_HOURS
True when the property (date) is a value between the (now) and (now + X hours) range, where the number of hours
is the given integer value.
|
UNCHANGED_IN_LAST
True when the property (date) is a value outside the (now) and (now - X hours) range, where the number of hours
is the given integer value.
|
Modifier and Type | Method and Description |
---|---|
static Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator IS_NULL
public static final Operator EQUALS
public static final Operator NOT_EQUALS
public static final Operator GREATER
public static final Operator GREATER_OR_EQUAL
public static final Operator LESS
public static final Operator LESS_OR_EQUAL
public static final Operator IN
@NotFinalAPI public static final Operator IN_IGNORE_CASE
public static final Operator CONTAINS
public static final Operator CONTAINS_ANY
public static final Operator EQUALS_CASE_INSENSITIVE
public static final Operator LIKE
public static final Operator LIKE_CASE_INSENSITIVE
@NotFinalAPI public static final Operator CHANGED_IN_LAST
@NotFinalAPI public static final Operator UNCHANGED_IN_LAST
public static final Operator OCCURS_WITHIN_HOURS
public static final Operator OCCURS_AFTER_HOURS
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.