public static enum Filter.Operator extends Enum<Filter.Operator>
Enum Constant and Description |
---|
EQUALS
The field value is identical to an expected value.
|
GREATER_THAN
The field value is greater than a specified value.
|
GREATER_THAN_OR_EQUAL_TO
The field value is greater than or equal to a specified value.
|
LESS_THAN
The field value is less than a specified value.
|
LESS_THAN_OR_EQUAL_TO
The field value is less than or equal to a specified value.
|
REGEX
The field value matches the provided regular expression.
|
Modifier and Type | Method and Description |
---|---|
static Filter.Operator |
fromString(String symbol)
Returns the Operator for it's specified symbol.
|
String |
getSymbol()
Returns the symbol for the operator, for example EQUALS would return
==
|
static Filter.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Filter.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Filter.Operator EQUALS
public static final Filter.Operator GREATER_THAN
public static final Filter.Operator LESS_THAN
public static final Filter.Operator GREATER_THAN_OR_EQUAL_TO
public static final Filter.Operator LESS_THAN_OR_EQUAL_TO
public static final Filter.Operator REGEX
public static Filter.Operator[] values()
for (Filter.Operator c : Filter.Operator.values()) System.out.println(c);
public static Filter.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 nullpublic static Filter.Operator fromString(String symbol)
symbol
- public String getSymbol()
Copyright © 2015 Caplin Systems.