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>
@Deprecated public enum NomenclaturalCode extends Enum<NomenclaturalCode>
Deprecated.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) Deprecated. Please use the name parser enum instead. https://github.com/gbif/name-parser/blob/master/name-parser-api/src/main/java/org/gbif/nameparser/api/NomCode.java
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACTERIAL
Deprecated.BIOCODE
Deprecated.BOTANICAL
Deprecated.CULTIVARS
Deprecated.PHYLOCODE
Deprecated.PHYTOSOCIOLOGY
Deprecated.VIRUS
Deprecated.ZOOLOGICAL
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAcronym()
Deprecated.String
getLink()
Deprecated.String
getTitle()
Deprecated.static NomenclaturalCode
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static NomenclaturalCode[]
values()
Deprecated.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
Deprecated.
-
BOTANICAL
public static final NomenclaturalCode BOTANICAL
Deprecated.
-
BIOCODE
public static final NomenclaturalCode BIOCODE
Deprecated.
-
CULTIVARS
public static final NomenclaturalCode CULTIVARS
Deprecated.
-
PHYLOCODE
public static final NomenclaturalCode PHYLOCODE
Deprecated.
-
PHYTOSOCIOLOGY
public static final NomenclaturalCode PHYTOSOCIOLOGY
Deprecated.
-
VIRUS
public static final NomenclaturalCode VIRUS
Deprecated.
-
ZOOLOGICAL
public static final NomenclaturalCode ZOOLOGICAL
Deprecated.
-
-
Method Detail
-
values
public static NomenclaturalCode[] values()
Deprecated.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)
Deprecated.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()
Deprecated.
-
-