|
||||||||||
| 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. |
String |
toString()
Returns a string representation of the comparison operator in SQL syntax. |
static CompareOperator |
valueOf(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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, 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 final CompareOperator[] values()
for(CompareOperator c : CompareOperator.values())
System.out.println(c);
public static CompareOperator valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic CompareOperator inverse()
public String toString()
toString in class Enum<CompareOperator>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||