public enum TaxonomicLevelCode extends Enum<TaxonomicLevelCode> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static TaxonomicLevelCode |
fromString(String value)
Creates an instance of TaxonomicLevelCode from
value. |
String |
getName()
Gets the underlying name of this type safe enumeration.
|
String |
getValue()
Gets the underlying value of this type safe enumeration.
|
boolean |
hasInitError() |
static List<String> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known
by this enumeration.
|
String |
toString() |
static TaxonomicLevelCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaxonomicLevelCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaxonomicLevelCode SPECIES
public static final TaxonomicLevelCode VARIETY
public static TaxonomicLevelCode[] values()
for (TaxonomicLevelCode c : TaxonomicLevelCode.values()) System.out.println(c);
public static TaxonomicLevelCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean hasInitError()
public String toString()
toString in class Enum<TaxonomicLevelCode>Object.toString()public static TaxonomicLevelCode fromString(String value)
value.value - the value to create the TaxonomicLevelCode from.public String getValue()
public String getName()
public static List<String> literals()
Copyright © 2013. All Rights Reserved.