org.sharengo.wikitty.search
Enum SearchOperand
java.lang.Object
java.lang.Enum<SearchOperand>
org.sharengo.wikitty.search.SearchOperand
- All Implemented Interfaces:
- Serializable, Comparable<SearchOperand>
public enum SearchOperand
- extends Enum<SearchOperand>
Represents the possible operands for client search. The supported type of
each AttributeSearchDto depends of its type.
|
Method Summary |
static SearchOperand |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SearchOperand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
EQUALS
public static final SearchOperand EQUALS
NOT_EQUALS
public static final SearchOperand NOT_EQUALS
LESS
public static final SearchOperand LESS
LESS_OR_EQUALS
public static final SearchOperand LESS_OR_EQUALS
GREATER
public static final SearchOperand GREATER
GREATER_OR_EQUALS
public static final SearchOperand GREATER_OR_EQUALS
BEGINS_WITH
public static final SearchOperand BEGINS_WITH
ENDS_WITH
public static final SearchOperand ENDS_WITH
CONTAINS
public static final SearchOperand CONTAINS
NOT_CONTAINS
public static final SearchOperand NOT_CONTAINS
BETWEEN
public static final SearchOperand BETWEEN
values
public static SearchOperand[] 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 (SearchOperand c : SearchOperand.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SearchOperand 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
Copyright © 2009-2010 CodeLutin. All Rights Reserved.