public enum QueryOperation extends java.lang.Enum<QueryOperation>
Enum Constant and Description |
---|
AND |
EQUALS |
GREATER_THAN |
GREATER_THAN_OR_EQUALS |
LESS_THAN_OR_EQUALS |
LIKE |
NOT |
NOT_LIKE |
OR |
Modifier and Type | Method and Description |
---|---|
static QueryOperation |
getByLabel(java.lang.String operation) |
java.lang.String |
getJdoOp() |
java.lang.String |
getLabel() |
void |
setJdoOp(java.lang.String jdoOp) |
void |
setLabel(java.lang.String label) |
static QueryOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryOperation EQUALS
public static final QueryOperation GREATER_THAN
public static final QueryOperation GREATER_THAN_OR_EQUALS
public static final QueryOperation LESS_THAN_OR_EQUALS
public static final QueryOperation AND
public static final QueryOperation OR
public static final QueryOperation NOT
public static final QueryOperation LIKE
public static final QueryOperation NOT_LIKE
public static QueryOperation[] values()
for (QueryOperation c : QueryOperation.values()) System.out.println(c);
public static QueryOperation 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 java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getJdoOp()
public void setJdoOp(java.lang.String jdoOp)
public static QueryOperation getByLabel(java.lang.String operation)