Package org.gbif.api.vocabulary
Enum Class NameType
- All Implemented Interfaces:
Serializable
,Comparable<NameType>
,Constable
A short classification of scientific name strings used in Checklist Bank.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA name that has been flagged by the name parser due to the use of blacklisted epithets/words.Candidatus is a component of the taxonomic name for a bacterium that cannot be maintained in a Bacteriology Culture Collection.A cultivated plant name.Doubtful whether this is a scientific name at all.A hybrid formula (not a hybrid name).A scientific name with some informal addition like "cf." or indetermined like Abies spec.Surely not a scientific name of any kind.Operational Taxonomic Unit.A placeholder name like "incertae sedis" or "unknown genus".A scientific latin name that might contain authorship but is not any of the other name types below (virus, hybrid, cultivar, etc).A virus name. -
Method Summary
Modifier and TypeMethodDescriptionstatic NameType
fromString
(String nameType) Case insensitive lookup of a name type by its name that does not throw an exception but returns null for not found name types.boolean
boolean
static NameType
Returns the enum constant of this class with the specified name.static NameType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SCIENTIFIC
A scientific latin name that might contain authorship but is not any of the other name types below (virus, hybrid, cultivar, etc). -
VIRUS
A virus name. -
HYBRID
A hybrid formula (not a hybrid name). -
INFORMAL
A scientific name with some informal addition like "cf." or indetermined like Abies spec. -
CULTIVAR
A cultivated plant name. -
CANDIDATUS
Candidatus is a component of the taxonomic name for a bacterium that cannot be maintained in a Bacteriology Culture Collection. It is an interim taxonomic status for noncultivable organisms. An example would be "Candidatus Phytoplasma allocasuarinae". This can be abbreviated to "Ca. Phytoplasma allocasuarinae".- See Also:
-
OTU
Operational Taxonomic Unit. An OTU is a pragmatic definition to group individuals by similarity, equivalent to but not necessarily in line with classical Linnaean taxonomy or modern Evolutionary taxonomy. A OTU usually refers to clusters of organisms, grouped by DNA sequence similarity of a specific taxonomic marker gene. In other words, OTUs are pragmatic proxies for "species" at different taxonomic levels. Sequences can be clustered according to their similarity to one another, and operational taxonomic units are defined based on the similarity threshold (usually 97% similarity) set by the researcher. Typically, OTU's are based on similar 16S rRNA sequences. -
DOUBTFUL
Doubtful whether this is a scientific name at all. -
PLACEHOLDER
A placeholder name like "incertae sedis" or "unknown genus". -
NO_NAME
Surely not a scientific name of any kind. -
BLACKLISTED
A name that has been flagged by the name parser due to the use of blacklisted epithets/words.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Case insensitive lookup of a name type by its name that does not throw an exception but returns null for not found name types.- Parameters:
nameType
- case insensitive name of name type- Returns:
- the matching NameType or null
-
isBackboneType
- Returns:
- true if the type of name is included in the GBIF backbone
-
isParsable
- Returns:
- true if the GBIF name parser can parse such a name into a ParsedName instance
-