public enum NameType extends Enum<NameType>
Enum Constant and Description |
---|
BLACKLISTED
A name that has been flagged by the name parser due to the use of blacklisted epithets/words.
|
CANDIDATUS
Candidatus is a component of the taxonomic name for a bacterium that cannot be maintained in a
Bacteriology Culture Collection.
|
CULTIVAR
A cultivated plant name.
|
DOUBTFUL
Doubtful whether this is a scientific name at all.
|
HYBRID
A hybrid formula (not a hybrid name).
|
INFORMAL
A scientific name with some informal addition like "cf." or indetermined like Abies spec.
|
NO_NAME
Surely not a scientific name of any kind.
|
OTU
Operational Taxonomic Unit.
|
PLACEHOLDER
A placeholder name like "incertae sedis" or "unknown genus".
|
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.
|
Modifier and Type | Method and Description |
---|---|
static 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 |
isBackboneType() |
boolean |
isParsable() |
static NameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameType SCIENTIFIC
public static final NameType INFORMAL
public static final NameType CANDIDATUS
public static final NameType OTU
public static final NameType PLACEHOLDER
public static final NameType BLACKLISTED
public static NameType[] values()
for (NameType c : NameType.values()) System.out.println(c);
public static NameType 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 static NameType fromString(String nameType)
nameType
- case insensitive name of name typepublic boolean isBackboneType()
public boolean isParsable()
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.