Package org.gbif.api.vocabulary
Enum NomenclaturalCode
- java.lang.Object
-
- java.lang.Enum<NomenclaturalCode>
-
- org.gbif.api.vocabulary.NomenclaturalCode
-
- All Implemented Interfaces:
Serializable
,Comparable<NomenclaturalCode>
public enum NomenclaturalCode extends Enum<NomenclaturalCode>
Enumeration representing the different nomenclatoral codes found in biology for scientific names. Nomenclature codes or codes of nomenclature are the various rulebooks that govern biological taxonomic nomenclature, each in their own broad field of organisms. To an end-user who only deals with names of species, with some awareness that species are assignable to families, it may not be noticeable that there is more than one code, but beyond this basic level these are rather different in the way they work.- See Also:
- Nomenclature codes (Wikipedia)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACTERIAL
BIOCODE
BOTANICAL
CULTIVARS
PHYLOCODE
PHYTOSOCIOLOGY
VIRUS
ZOOLOGICAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAcronym()
String
getLink()
String
getTitle()
static NomenclaturalCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static NomenclaturalCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACTERIAL
public static final NomenclaturalCode BACTERIAL
-
BOTANICAL
public static final NomenclaturalCode BOTANICAL
-
BIOCODE
public static final NomenclaturalCode BIOCODE
-
CULTIVARS
public static final NomenclaturalCode CULTIVARS
-
PHYLOCODE
public static final NomenclaturalCode PHYLOCODE
-
PHYTOSOCIOLOGY
public static final NomenclaturalCode PHYTOSOCIOLOGY
-
VIRUS
public static final NomenclaturalCode VIRUS
-
ZOOLOGICAL
public static final NomenclaturalCode ZOOLOGICAL
-
-
Method Detail
-
values
public static NomenclaturalCode[] 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 (NomenclaturalCode c : NomenclaturalCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NomenclaturalCode 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 nameNullPointerException
- if the argument is null
-
getAcronym
public String getAcronym()
-
-