se.unlogic.standardutils.dao
Enum QueryOperators

java.lang.Object
  extended by java.lang.Enum<QueryOperators>
      extended by se.unlogic.standardutils.dao.QueryOperators
All Implemented Interfaces:
Serializable, Comparable<QueryOperators>

public enum QueryOperators
extends Enum<QueryOperators>


Enum Constant Summary
BIGGER_THAN
           
BIGGER_THAN_OR_EUALS
           
EQUALS
           
LIKE
           
NOT_EQUALS
           
SMALLER_THAN
           
SMALLER_THAN_OR_EUALS
           
 
Method Summary
 String getOperator()
           
static QueryOperators valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryOperators[] 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

EQUALS

public static final QueryOperators EQUALS

NOT_EQUALS

public static final QueryOperators NOT_EQUALS

BIGGER_THAN

public static final QueryOperators BIGGER_THAN

SMALLER_THAN

public static final QueryOperators SMALLER_THAN

BIGGER_THAN_OR_EUALS

public static final QueryOperators BIGGER_THAN_OR_EUALS

SMALLER_THAN_OR_EUALS

public static final QueryOperators SMALLER_THAN_OR_EUALS

LIKE

public static final QueryOperators LIKE
Method Detail

values

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

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

valueOf

public static QueryOperators 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

getOperator

public String getOperator()


Copyright © 2011. All Rights Reserved.