|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OperatorType>
org.eobjects.metamodel.query.OperatorType
public enum OperatorType
Defines the types of operators that can be used in filters.
FilterItem| Enum Constant Summary | |
|---|---|
DIFFERENT_FROM
|
|
EQUALS_TO
|
|
GREATER_THAN
|
|
HIGHER_THAN
Deprecated. use GREATER_THAN instead. |
|
IN
|
|
LESS_THAN
|
|
LIKE
|
|
LOWER_THAN
Deprecated. use LESS_THAN instead. |
|
| Method Summary | |
|---|---|
static OperatorType |
convertOperatorType(String sqlType)
Converts from SQL string literals to an OperatorType. |
String |
toSql()
|
static OperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OperatorType EQUALS_TO
public static final OperatorType DIFFERENT_FROM
public static final OperatorType LIKE
public static final OperatorType GREATER_THAN
public static final OperatorType LESS_THAN
public static final OperatorType IN
@Deprecated public static final OperatorType LOWER_THAN
LESS_THAN instead.@Deprecated public static final OperatorType HIGHER_THAN
GREATER_THAN instead.| Method Detail |
|---|
public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toSql()
public static OperatorType convertOperatorType(String sqlType)
sqlType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||