org.iternine.jeppetto.dao.jdbc
Enum JDBCCondition

java.lang.Object
  extended by java.lang.Enum<JDBCCondition>
      extended by org.iternine.jeppetto.dao.jdbc.JDBCCondition
All Implemented Interfaces:
Serializable, Comparable<JDBCCondition>

public enum JDBCCondition
extends Enum<JDBCCondition>


Enum Constant Summary
Between
           
Equal
           
GreaterThan
           
GreaterThanEqual
           
IsNotNull
           
IsNull
           
LessThan
           
LessThanEqual
           
NotEqual
           
NotWithin
           
Within
           
 
Method Summary
 Object buildConstraint(Iterator argsIterator)
           
static JDBCCondition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JDBCCondition[] 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

NotEqual

public static final JDBCCondition NotEqual

GreaterThanEqual

public static final JDBCCondition GreaterThanEqual

LessThanEqual

public static final JDBCCondition LessThanEqual

Equal

public static final JDBCCondition Equal

GreaterThan

public static final JDBCCondition GreaterThan

LessThan

public static final JDBCCondition LessThan

NotWithin

public static final JDBCCondition NotWithin

Within

public static final JDBCCondition Within

Between

public static final JDBCCondition Between

IsNull

public static final JDBCCondition IsNull

IsNotNull

public static final JDBCCondition IsNotNull
Method Detail

values

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

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

valueOf

public static JDBCCondition valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

buildConstraint

public Object buildConstraint(Iterator argsIterator)


Copyright © 2012. All Rights Reserved.