Package org.gbif.api.vocabulary
Enum TaxonomicStatus
- java.lang.Object
-
- java.lang.Enum<TaxonomicStatus>
-
- org.gbif.api.vocabulary.TaxonomicStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<TaxonomicStatus>
public enum TaxonomicStatus extends Enum<TaxonomicStatus>
The taxonomic status of a taxon. For synonyms more detailed status values are provided which "subclass" synonym.- See Also:
- rs.gbif.org vocabulary
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
DOUBTFUL
Treated as accepted, but doubtful whether this is correct.HETEROTYPIC_SYNONYM
More specific subclass of SYNONYM.HOMOTYPIC_SYNONYM
More specific subclass of SYNONYM.MISAPPLIED
More specific subclass of SYNONYM.PROPARTE_SYNONYM
More specific subclass of SYNONYM.SYNONYM
A general synonym, the exact type is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAccepted()
boolean
isSynonym()
static TaxonomicStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaxonomicStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final TaxonomicStatus ACCEPTED
-
DOUBTFUL
public static final TaxonomicStatus DOUBTFUL
Treated as accepted, but doubtful whether this is correct.
-
SYNONYM
public static final TaxonomicStatus SYNONYM
A general synonym, the exact type is unknown.
-
HETEROTYPIC_SYNONYM
public static final TaxonomicStatus HETEROTYPIC_SYNONYM
More specific subclass of SYNONYM.
-
HOMOTYPIC_SYNONYM
public static final TaxonomicStatus HOMOTYPIC_SYNONYM
More specific subclass of SYNONYM.
-
PROPARTE_SYNONYM
public static final TaxonomicStatus PROPARTE_SYNONYM
More specific subclass of SYNONYM.
-
MISAPPLIED
public static final TaxonomicStatus MISAPPLIED
More specific subclass of SYNONYM.
-
-
Method Detail
-
values
public static TaxonomicStatus[] 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 (TaxonomicStatus c : TaxonomicStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaxonomicStatus 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
-
isSynonym
public boolean isSynonym()
-
isAccepted
public boolean isAccepted()
-
-