public enum ComparisonOperator extends Enum<ComparisonOperator>
Enum Constant and Description |
---|
CONTAINING |
ENDING_WITH |
EQUALS |
EXISTS |
GREATER_THAN |
GREATER_THAN_EQUAL |
IN |
IS_NULL |
IS_TRUE |
LESS_THAN |
LESS_THAN_EQUAL |
LIKE |
MATCHES |
STARTING_WITH |
Modifier and Type | Method and Description |
---|---|
PropertyValueTransformer |
getPropertyValueTransformer() |
String |
getValue() |
boolean |
isOneOf(ComparisonOperator... these)
Deprecated.
since 3.2.3, no replacement, use an
EnumSet |
static ComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOperator EQUALS
public static final ComparisonOperator MATCHES
public static final ComparisonOperator LIKE
public static final ComparisonOperator GREATER_THAN
public static final ComparisonOperator GREATER_THAN_EQUAL
public static final ComparisonOperator LESS_THAN
public static final ComparisonOperator LESS_THAN_EQUAL
public static final ComparisonOperator IS_NULL
public static final ComparisonOperator STARTING_WITH
public static final ComparisonOperator ENDING_WITH
public static final ComparisonOperator CONTAINING
public static final ComparisonOperator IN
public static final ComparisonOperator EXISTS
public static final ComparisonOperator IS_TRUE
public static ComparisonOperator[] values()
for (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
public static ComparisonOperator 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 nullpublic String getValue()
@Deprecated public boolean isOneOf(ComparisonOperator... these)
EnumSet
these
- public PropertyValueTransformer getPropertyValueTransformer()
PropertyValueTransformer
required for this ComparisonOperator
to workCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.