org.jboss.dna.common.jdbc.model.api
Enum SearchabilityType

java.lang.Object
  extended by java.lang.Enum<SearchabilityType>
      extended by org.jboss.dna.common.jdbc.model.api.SearchabilityType
All Implemented Interfaces:
Serializable, Comparable<SearchabilityType>

public enum SearchabilityType
extends Enum<SearchabilityType>

Provides RDBMS supported search ability as enumeration set.

Author:
Sergiy Litsenko

Enum Constant Summary
BASIC
           
NOT_SUPPORTED
           
SEARCHABLE
           
WHERE_LIKE
           
 
Method Summary
 String getName()
           
 int getSearchability()
           
static SearchabilityType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchabilityType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_SUPPORTED

public static final SearchabilityType NOT_SUPPORTED

WHERE_LIKE

public static final SearchabilityType WHERE_LIKE

BASIC

public static final SearchabilityType BASIC

SEARCHABLE

public static final SearchabilityType SEARCHABLE
Method Detail

values

public static final SearchabilityType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SearchabilityType c : SearchabilityType.values())
    System.out.println(c);

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

valueOf

public static SearchabilityType 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

getSearchability

public int getSearchability()

getName

public String getName()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.