org.forester.ws.wabi
Enum TxSearch.TAX_NAME_CLASS

java.lang.Object
  extended by java.lang.Enum<TxSearch.TAX_NAME_CLASS>
      extended by org.forester.ws.wabi.TxSearch.TAX_NAME_CLASS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TxSearch.TAX_NAME_CLASS>
Enclosing class:
TxSearch

public static enum TxSearch.TAX_NAME_CLASS
extends java.lang.Enum<TxSearch.TAX_NAME_CLASS>


Enum Constant Summary
ALL
           
COMMON_NAME
           
PREFFERED_COMMON_NAME
           
SCIENTIFIC_NAME
           
SYNONYM
           
 
Method Summary
 java.lang.String toString()
           
static TxSearch.TAX_NAME_CLASS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TxSearch.TAX_NAME_CLASS[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final TxSearch.TAX_NAME_CLASS ALL

SCIENTIFIC_NAME

public static final TxSearch.TAX_NAME_CLASS SCIENTIFIC_NAME

PREFFERED_COMMON_NAME

public static final TxSearch.TAX_NAME_CLASS PREFFERED_COMMON_NAME

COMMON_NAME

public static final TxSearch.TAX_NAME_CLASS COMMON_NAME

SYNONYM

public static final TxSearch.TAX_NAME_CLASS SYNONYM
Method Detail

values

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

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

valueOf

public static TxSearch.TAX_NAME_CLASS 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TxSearch.TAX_NAME_CLASS>