public static enum Filter.Operator extends java.lang.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(java.lang.String symbol)
Returns the Operator for it's specified symbol.
|
java.lang.String |
getSymbol()
Returns the symbol for the operator, for example EQUALS would return
==
|
static Filter.Operator |
valueOf(java.lang.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(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 nullpublic static Filter.Operator fromString(java.lang.String symbol)
symbol
- public java.lang.String getSymbol()
Copyright © 2019 Caplin Systems.