Package de.ec.sql
Enum ConditionPart.Operator
- java.lang.Object
-
- java.lang.Enum<ConditionPart.Operator>
-
- de.ec.sql.ConditionPart.Operator
-
- All Implemented Interfaces:
QueryPart,java.io.Serializable,java.lang.Comparable<ConditionPart.Operator>
- Enclosing class:
- ConditionPart<T extends Conditionable<T>>
public static enum ConditionPart.Operator extends java.lang.Enum<ConditionPart.Operator> implements QueryPart
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstring(QueryOptions options)static ConditionPart.OperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConditionPart.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ConditionPart.Operator EQUALS
-
LIKE
public static final ConditionPart.Operator LIKE
-
IN
public static final ConditionPart.Operator IN
-
IS_NULL
public static final ConditionPart.Operator IS_NULL
-
IS_NOT_NULL
public static final ConditionPart.Operator IS_NOT_NULL
-
GE
public static final ConditionPart.Operator GE
-
GT
public static final ConditionPart.Operator GT
-
LE
public static final ConditionPart.Operator LE
-
LT
public static final ConditionPart.Operator LT
-
-
Method Detail
-
values
public static ConditionPart.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConditionPart.Operator c : ConditionPart.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionPart.Operator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
string
public java.lang.String string(QueryOptions options)
-
-