com.sap.portal.suggestion.providers

Enum SuggestionProvidersConstants.LogicalOperator

java.lang.Object
  extended by java.lang.Enum<SuggestionProvidersConstants.LogicalOperator>
      extended by com.sap.portal.suggestion.providers.SuggestionProvidersConstants.LogicalOperator
All Implemented Interfaces:
Serializable, Comparable<SuggestionProvidersConstants.LogicalOperator>
Enclosing class:
SuggestionProvidersConstants

public static enum SuggestionProvidersConstants.LogicalOperator
extends Enum<SuggestionProvidersConstants.LogicalOperator>

An enumeration that defines the logical operator between the different expressions in the search term AND - we want the result's title to include all the expressions OR - we want the result's title to include one or more expression


Enum Constant Summary
and
           
or
           
 
Method Summary
static SuggestionProvidersConstants.LogicalOperator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SuggestionProvidersConstants.LogicalOperator[] 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

and

public static final SuggestionProvidersConstants.LogicalOperator and

or

public static final SuggestionProvidersConstants.LogicalOperator or
Method Detail

values

public static SuggestionProvidersConstants.LogicalOperator[] 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.LogicalOperator c : SuggestionProvidersConstants.LogicalOperator.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.LogicalOperator 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