Enum Class BasisOfRecord

java.lang.Object
java.lang.Enum<BasisOfRecord>
org.gbif.api.vocabulary.BasisOfRecord
All Implemented Interfaces:
Serializable, Comparable<BasisOfRecord>, Constable

public enum BasisOfRecord extends Enum<BasisOfRecord>
A simple enumeration of all DarwinCore values of BasisOfRecord legal for occurrences.
See Also:
  • Enum Constant Details

    • 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 Details

    • values

      public static BasisOfRecord[] 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

      public static BasisOfRecord valueOf(String name)
      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 name
      NullPointerException - if the argument is null