com.sap.portal.suggestion.providers
Enum SuggestionProvidersConstants.SearchOption
java.lang.Object
java.lang.Enum<SuggestionProvidersConstants.SearchOption>
com.sap.portal.suggestion.providers.SuggestionProvidersConstants.SearchOption
- All Implemented Interfaces:
- Serializable, Comparable<SuggestionProvidersConstants.SearchOption>
- Enclosing class:
- SuggestionProvidersConstants
public static enum SuggestionProvidersConstants.SearchOption
- extends Enum<SuggestionProvidersConstants.SearchOption>
An enumeration that defines how the expressions in the search term should
be used CONTAINS - we want the result's title to contain the expression
STARTS_WITH - we want the result's title to start with the expression
contains
public static final SuggestionProvidersConstants.SearchOption contains
startsWith
public static final SuggestionProvidersConstants.SearchOption startsWith
values
public static SuggestionProvidersConstants.SearchOption[] 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 (SuggestionProvidersConstants.SearchOption c : SuggestionProvidersConstants.SearchOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SuggestionProvidersConstants.SearchOption 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
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
Copyright 2015 SAP AG Complete Copyright Notice