public enum Operator extends Enum<Operator>
Operators that can be used in a FieldSearchQuery.| Enum Constant and Description |
|---|
CONTAINS |
EQUALS |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
| Modifier and Type | Method and Description |
|---|---|
static Operator |
fromAbbreviation(String abbreviation) |
String |
getAbbreviation() |
String |
getSymbol() |
String |
toString() |
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 EQUALS
public static final Operator CONTAINS
public static final Operator GREATER_THAN
public static final Operator GREATER_OR_EQUAL
public static final Operator LESS_THAN
public static final Operator LESS_OR_EQUAL
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 nullpublic String getSymbol()
public String getAbbreviation()
public static Operator fromAbbreviation(String abbreviation) throws InvalidOperatorException
InvalidOperatorExceptionCopyright © 2013 DuraSpace. All Rights Reserved.