SMILA (incubation) API documentation

org.eclipse.smila.processing.parameters
Enum SearchAnnotations.FilterMode

java.lang.Object
  extended by java.lang.Enum<SearchAnnotations.FilterMode>
      extended by org.eclipse.smila.processing.parameters.SearchAnnotations.FilterMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SearchAnnotations.FilterMode>
Enclosing class:
SearchAnnotations

public static enum SearchAnnotations.FilterMode
extends java.lang.Enum<SearchAnnotations.FilterMode>

predefined values of "mdoe" property of filter annotations.


Enum Constant Summary
ALL
          mode of "all" filters.
ANY
          mode of "any" filters.
NONE
          mode of "none" filters.
ONLY
          mode of "only" filters.
 
Method Summary
static SearchAnnotations.FilterMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SearchAnnotations.FilterMode[] 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

ANY

public static final SearchAnnotations.FilterMode ANY
mode of "any" filters.


ALL

public static final SearchAnnotations.FilterMode ALL
mode of "all" filters.


NONE

public static final SearchAnnotations.FilterMode NONE
mode of "none" filters.


ONLY

public static final SearchAnnotations.FilterMode ONLY
mode of "only" filters.

Method Detail

values

public static SearchAnnotations.FilterMode[] 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 (SearchAnnotations.FilterMode c : SearchAnnotations.FilterMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SearchAnnotations.FilterMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

SMILA (incubation) API documentation