Package org.gbif.api.vocabulary
Enum BasisOfRecord
- java.lang.Object
-
- java.lang.Enum<BasisOfRecord>
-
- org.gbif.api.vocabulary.BasisOfRecord
-
- All Implemented Interfaces:
Serializable
,Comparable<BasisOfRecord>
public enum BasisOfRecord extends Enum<BasisOfRecord>
A simple enumeration of all DarwinCore values of BasisOfRecord legal for occurrences.- See Also:
- GBIF Vocabulary
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOSSIL_SPECIMEN
An occurrence record describing a fossilized specimen.HUMAN_OBSERVATION
An occurrence record describing an observation made by one or more people.LITERATURE
Deprecated.use BasisOfRecord.OCCURRENCE instead.LIVING_SPECIMEN
An occurrence record describing a living specimen, e.g.MACHINE_OBSERVATION
An occurrence record describing an observation made by a machine.MATERIAL_CITATION
A reference to or citation of one, a part of, or multiple specimens in scholarly publications.MATERIAL_SAMPLE
An occurrence record based on samples taken from other specimens or the environment.OBSERVATION
An occurrence record describing an observation.OCCURRENCE
An existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.PRESERVED_SPECIMEN
An occurrence record describing a preserved specimen.UNKNOWN
Deprecated.replaced by BasisOfRecord.OCCURRENCE.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasisOfRecord
valueOf(String name)
Returns the enum constant of this type with the specified name.static BasisOfRecord[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESERVED_SPECIMEN
public static final BasisOfRecord PRESERVED_SPECIMEN
An occurrence record describing a preserved specimen.
-
FOSSIL_SPECIMEN
public static final BasisOfRecord FOSSIL_SPECIMEN
An occurrence record describing a fossilized specimen.
-
LIVING_SPECIMEN
public static final BasisOfRecord LIVING_SPECIMEN
An occurrence record describing a living specimen, e.g. managed animals in a zoo or cultivated plants in a garden.
-
OBSERVATION
public static final BasisOfRecord OBSERVATION
An occurrence record describing an observation.
-
HUMAN_OBSERVATION
public static final BasisOfRecord HUMAN_OBSERVATION
An occurrence record describing an observation made by one or more people.
-
MACHINE_OBSERVATION
public static final BasisOfRecord MACHINE_OBSERVATION
An occurrence record describing an observation made by a machine.
-
MATERIAL_SAMPLE
public static final BasisOfRecord MATERIAL_SAMPLE
An occurrence record based on samples taken from other specimens or the environment.
-
LITERATURE
@Deprecated public static final BasisOfRecord LITERATURE
Deprecated.use BasisOfRecord.OCCURRENCE instead.An occurrence record based on literature alone.
-
MATERIAL_CITATION
public static final BasisOfRecord MATERIAL_CITATION
A reference to or citation of one, a part of, or multiple specimens in scholarly publications.
-
OCCURRENCE
public static final BasisOfRecord OCCURRENCE
An existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.
-
UNKNOWN
@Deprecated public static final BasisOfRecord UNKNOWN
Deprecated.replaced by BasisOfRecord.OCCURRENCE.Unknown basis for the record.
-
-
Method Detail
-
values
public static BasisOfRecord[] 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 (BasisOfRecord c : BasisOfRecord.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasisOfRecord 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
-
-