se.unlogic.standardutils.dao
Enum QueryOperators
java.lang.Object
java.lang.Enum<QueryOperators>
se.unlogic.standardutils.dao.QueryOperators
- All Implemented Interfaces:
- Serializable, Comparable<QueryOperators>
public enum QueryOperators
- extends Enum<QueryOperators>
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
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.