com.sap.portal.suggestion.providers

Enum SuggestionProvidersConstants.SearchOption

java.lang.Object
  extended by java.lang.Enum<SuggestionProvidersConstants.SearchOption>
      extended by 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


Enum Constant Summary
contains
           
startsWith
           
 
Method Summary
static SuggestionProvidersConstants.SearchOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SuggestionProvidersConstants.SearchOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

contains

public static final SuggestionProvidersConstants.SearchOption contains

startsWith

public static final SuggestionProvidersConstants.SearchOption startsWith
Method Detail

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
Access Rights

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