to.etc.webapp.query
Enum QOperation

java.lang.Object
  extended by java.lang.Enum<QOperation>
      extended by to.etc.webapp.query.QOperation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QOperation>

public enum QOperation
extends java.lang.Enum<QOperation>

AN enum representing all operations.

Author:
Frits Jalvingh Created on Jul 14, 2009

Enum Constant Summary
AND
           
BETWEEN
           
EQ
           
EXISTS_SUBQUERY
           
GE
           
GT
           
ILIKE
           
ISNOTNULL
           
ISNULL
           
LE
           
LIKE
           
LITERAL
           
LT
           
NE
           
OR
           
ORDER
           
PARAM
           
PROP
           
SELECTION_SUBQUERY
           
SQL
           
 
Method Summary
static QOperation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QOperation[] 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

AND

public static final QOperation AND

OR

public static final QOperation OR

EQ

public static final QOperation EQ

NE

public static final QOperation NE

LE

public static final QOperation LE

GE

public static final QOperation GE

LT

public static final QOperation LT

GT

public static final QOperation GT

ILIKE

public static final QOperation ILIKE

LIKE

public static final QOperation LIKE

BETWEEN

public static final QOperation BETWEEN

PROP

public static final QOperation PROP

PARAM

public static final QOperation PARAM

LITERAL

public static final QOperation LITERAL

ORDER

public static final QOperation ORDER

ISNULL

public static final QOperation ISNULL

ISNOTNULL

public static final QOperation ISNOTNULL

SQL

public static final QOperation SQL

EXISTS_SUBQUERY

public static final QOperation EXISTS_SUBQUERY

SELECTION_SUBQUERY

public static final QOperation SELECTION_SUBQUERY
Method Detail

values

public static QOperation[] 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 (QOperation c : QOperation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QOperation 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 name
java.lang.NullPointerException - if the argument is null