Package org.gbif.api.vocabulary
Enum DatasetSubtype
- java.lang.Object
-
- java.lang.Enum<DatasetSubtype>
-
- org.gbif.api.vocabulary.DatasetSubtype
-
- All Implemented Interfaces:
Serializable
,Comparable<DatasetSubtype>
public enum DatasetSubtype extends Enum<DatasetSubtype>
Enumeration for all possible dataset subtypes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DERIVED_FROM_OCCURRENCE
A taxonomic checklist that has been derived from data that was originally occurrence data.GLOBAL_SPECIES_DATASET
A taxonomic checklist with a global, spatial coverage.INVENTORY_REGIONAL
A regional checklist that has a regional commonality in grouping names, e.g.INVENTORY_THEMATIC
A thematic checklist that has a theme for grouping names, e.g.NOMENCLATOR_AUTHORITY
A nomenclatoral checklist that is authoritative in the pure names and publication information.OBSERVATION
Observation data.SPECIMEN
Specimen data.TAXONOMIC_AUTHORITY
A taxonomic checklist that is authoritative in its classification and synonymy.
-
Field Summary
Fields Modifier and Type Field Description static Set<DatasetSubtype>
CHECKLIST_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType CHECKLIST.static Set<DatasetSubtype>
OCCURRENCE_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType OCCURRENCE.static Set<DatasetSubtype>
SAMPLING_EVENT_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType SAMPLING_EVENT.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatasetSubtype
fromString(String datasetSubType)
static DatasetSubtype
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatasetSubtype[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAXONOMIC_AUTHORITY
public static final DatasetSubtype TAXONOMIC_AUTHORITY
A taxonomic checklist that is authoritative in its classification and synonymy.
-
NOMENCLATOR_AUTHORITY
public static final DatasetSubtype NOMENCLATOR_AUTHORITY
A nomenclatoral checklist that is authoritative in the pure names and publication information.
-
INVENTORY_THEMATIC
public static final DatasetSubtype INVENTORY_THEMATIC
A thematic checklist that has a theme for grouping names, e.g. parasites of elephants.
-
INVENTORY_REGIONAL
public static final DatasetSubtype INVENTORY_REGIONAL
A regional checklist that has a regional commonality in grouping names, e.g. species in a protected area.
-
GLOBAL_SPECIES_DATASET
public static final DatasetSubtype GLOBAL_SPECIES_DATASET
A taxonomic checklist with a global, spatial coverage. This subtype is used in particular by the catalogue of life to assemble its aggregated checklist.
-
DERIVED_FROM_OCCURRENCE
public static final DatasetSubtype DERIVED_FROM_OCCURRENCE
A taxonomic checklist that has been derived from data that was originally occurrence data.
-
SPECIMEN
public static final DatasetSubtype SPECIMEN
Specimen data. Possible museum collection.
-
OBSERVATION
public static final DatasetSubtype OBSERVATION
Observation data. Possible monitoring and field observations.
-
-
Field Detail
-
OCCURRENCE_DATASET_SUBTYPES
public static final Set<DatasetSubtype> OCCURRENCE_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType OCCURRENCE.- See Also:
DatasetType.OCCURRENCE
-
SAMPLING_EVENT_DATASET_SUBTYPES
public static final Set<DatasetSubtype> SAMPLING_EVENT_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType SAMPLING_EVENT.- See Also:
DatasetType.SAMPLING_EVENT
-
CHECKLIST_DATASET_SUBTYPES
public static final Set<DatasetSubtype> CHECKLIST_DATASET_SUBTYPES
A set of all DatasetSubtype that belong to DatasetType CHECKLIST.- See Also:
DatasetType.CHECKLIST
-
-
Method Detail
-
values
public static DatasetSubtype[] 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 (DatasetSubtype c : DatasetSubtype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasetSubtype 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
-
fromString
public static DatasetSubtype fromString(String datasetSubType)
- Returns:
- the matching DatasetSubtype or null
-
-