public enum SearchCriteriaType extends java.lang.Enum<SearchCriteriaType>
Enum Constant and Description |
---|
EXACT_MATCH |
PARTIAL_MATCH |
Modifier and Type | Method and Description |
---|---|
static boolean |
filter(SearchCriteriaType searchCriteriaType,
java.lang.String filter,
java.lang.String value) |
static SearchCriteriaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchCriteriaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchCriteriaType EXACT_MATCH
public static final SearchCriteriaType PARTIAL_MATCH
public static SearchCriteriaType[] values()
for (SearchCriteriaType c : SearchCriteriaType.values()) System.out.println(c);
public static SearchCriteriaType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean filter(SearchCriteriaType searchCriteriaType, java.lang.String filter, java.lang.String value)