Package org.forester.ws.wabi
Enum TxSearch.TAX_NAME_CLASS
- java.lang.Object
-
- java.lang.Enum<TxSearch.TAX_NAME_CLASS>
-
- 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
Enum Constants Enum Constant Description ALL
COMMON_NAME
PREFFERED_COMMON_NAME
SCIENTIFIC_NAME
SYNONYM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TxSearch.TAX_NAME_CLASS>
-
-