org.rhq.enterprise.server.search.common
Enum SearchQueryGenerationUtility.ValueFilter

java.lang.Object
  extended by java.lang.Enum<SearchQueryGenerationUtility.ValueFilter>
      extended by org.rhq.enterprise.server.search.common.SearchQueryGenerationUtility.ValueFilter
All Implemented Interfaces:
Serializable, Comparable<SearchQueryGenerationUtility.ValueFilter>
Enclosing class:
SearchQueryGenerationUtility

public static enum SearchQueryGenerationUtility.ValueFilter
extends Enum<SearchQueryGenerationUtility.ValueFilter>


Enum Constant Summary
ENDS_WITH
           
EXACT_MATCH
           
INDEX_OF
           
STARTS_WITH
           
 
Method Summary
static SearchQueryGenerationUtility.ValueFilter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchQueryGenerationUtility.ValueFilter[] 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

STARTS_WITH

public static final SearchQueryGenerationUtility.ValueFilter STARTS_WITH

ENDS_WITH

public static final SearchQueryGenerationUtility.ValueFilter ENDS_WITH

INDEX_OF

public static final SearchQueryGenerationUtility.ValueFilter INDEX_OF

EXACT_MATCH

public static final SearchQueryGenerationUtility.ValueFilter EXACT_MATCH
Method Detail

values

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

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

valueOf

public static SearchQueryGenerationUtility.ValueFilter 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


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.