public static enum TLcdOpenSearchQuery.Role extends Enum<TLcdOpenSearchQuery.Role>
Enum Constant and Description |
---|
CORRECTION
Represents a search query that can be performed to improve the result set, such as with a
spelling correction.
|
EXAMPLE
Represents a search query that can be performed to demonstrate the search engine.
|
RELATED
Represents a search query that can be performed to retrieve similar but different search
results.
|
REQUEST
Represents the search query that can be performed to retrieve the same set of search results.
|
SUBSET
Represents a search query that will narrow the current set of search results.
|
SUPERSET
Represents a search query that will broaden the current set of search results.
|
Modifier and Type | Method and Description |
---|---|
static TLcdOpenSearchQuery.Role |
fromValue(String aValue) |
String |
toString() |
static String |
toValue(TLcdOpenSearchQuery.Role aValue) |
String |
value() |
static TLcdOpenSearchQuery.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdOpenSearchQuery.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdOpenSearchQuery.Role REQUEST
public static final TLcdOpenSearchQuery.Role EXAMPLE
public static final TLcdOpenSearchQuery.Role RELATED
public static final TLcdOpenSearchQuery.Role CORRECTION
public static final TLcdOpenSearchQuery.Role SUBSET
public static final TLcdOpenSearchQuery.Role SUPERSET
public static TLcdOpenSearchQuery.Role[] values()
for (TLcdOpenSearchQuery.Role c : TLcdOpenSearchQuery.Role.values()) System.out.println(c);
public static TLcdOpenSearchQuery.Role valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<TLcdOpenSearchQuery.Role>
public static TLcdOpenSearchQuery.Role fromValue(String aValue)
public static String toValue(TLcdOpenSearchQuery.Role aValue)