public enum QueryOperator extends Enum<QueryOperator>
| Enum Constant and Description |
|---|
Between |
Equal |
GreaterThan |
GreaterThanEquals |
IsNotNull |
IsNull |
LessThan |
LessThanEquals |
Like |
NotEqual |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
String |
getJpql() |
int |
getParamNum() |
static QueryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryOperator LessThan
public static final QueryOperator LessThanEquals
public static final QueryOperator GreaterThan
public static final QueryOperator GreaterThanEquals
public static final QueryOperator Like
public static final QueryOperator NotEqual
public static final QueryOperator Equal
public static final QueryOperator Between
public static final QueryOperator IsNotNull
public static final QueryOperator IsNull
public static QueryOperator[] values()
for (QueryOperator c : QueryOperator.values()) System.out.println(c);
public static QueryOperator 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 getExpression()
public String getJpql()
public int getParamNum()
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.