|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CompareOperator>
org.castor.cpa.persistence.sql.query.condition.CompareOperator
public enum CompareOperator
Enumeration of comparison operators.
Enum Constant Summary | |
---|---|
EQ
Equal comparison operator. |
|
GE
Greater than or equal comparison operator. |
|
GT
Greater than comparison operator. |
|
LE
Less than or equal comparison operator. |
|
LT
Less than comparison operator. |
|
NE
Not equal comparison operator. |
Method Summary | |
---|---|
CompareOperator |
inverse()
Returns the inverse comparison operator. |
java.lang.String |
toString()
Returns a string representation of the comparison operator in SQL syntax. |
static CompareOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompareOperator[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CompareOperator EQ
public static final CompareOperator NE
public static final CompareOperator LT
public static final CompareOperator GE
public static final CompareOperator GT
public static final CompareOperator LE
Method Detail |
---|
public static CompareOperator[] values()
for (CompareOperator c : CompareOperator.values()) System.out.println(c);
public static CompareOperator 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 name
java.lang.NullPointerException
- if the argument is nullpublic CompareOperator inverse()
public java.lang.String toString()
toString
in class java.lang.Enum<CompareOperator>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |