Package com.luciad.opensearch.model
Enum Class TLcdOpenSearchQuery.Role
- All Implemented Interfaces:
Serializable
,Comparable<TLcdOpenSearchQuery.Role>
,Constable
- Enclosing class:
TLcdOpenSearchQuery
- Since:
- 2017.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents a search query that can be performed to improve the result set, such as with a spelling correction.Represents a search query that can be performed to demonstrate the search engine.Represents a search query that can be performed to retrieve similar but different search results.Represents the search query that can be performed to retrieve the same set of search results.Represents a search query that will narrow the current set of search results.Represents a search query that will broaden the current set of search results. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdOpenSearchQuery.Role
toString()
static String
toValue
(TLcdOpenSearchQuery.Role aValue) value()
static TLcdOpenSearchQuery.Role
Returns the enum constant of this class with the specified name.static TLcdOpenSearchQuery.Role[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REQUEST
Represents the search query that can be performed to retrieve the same set of search results. -
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. -
CORRECTION
Represents a search query that can be performed to improve the result set, such as with a spelling correction. -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
toString
- Overrides:
toString
in classEnum<TLcdOpenSearchQuery.Role>
-
fromValue
-
toValue
-