001/*
002 * Licensed under the Apache License, Version 2.0 (the "License");
003 * you may not use this file except in compliance with the License.
004 * You may obtain a copy of the License at
005 *
006 *     http://www.apache.org/licenses/LICENSE-2.0
007 *
008 * Unless required by applicable law or agreed to in writing, software
009 * distributed under the License is distributed on an "AS IS" BASIS,
010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
011 * See the License for the specific language governing permissions and
012 * limitations under the License.
013 */
014package org.gbif.api.vocabulary;
015
016/**
017 * A simple enumeration of all DarwinCore values of BasisOfRecord legal for occurrences.
018 *
019 * @see <a href="http://rs.tdwg.org/dwc/terms/type-vocabulary/index.htm">Darwin Core Type Vocabulary</a>
020 * @see <a href="http://rs.gbif.org/vocabulary/dwc/basis_of_record.xml">GBIF Vocabulary</a>
021 */
022public enum BasisOfRecord {
023
024  /**
025   * An occurrence record describing a preserved specimen.
026   */
027  PRESERVED_SPECIMEN,
028
029  /**
030   * An occurrence record describing a fossilized specimen.
031   */
032  FOSSIL_SPECIMEN,
033
034  /**
035   * An occurrence record describing a living specimen, e.g. managed animals in a zoo
036   * or cultivated plants in a garden.
037   */
038  LIVING_SPECIMEN,
039
040  /**
041   * An occurrence record describing an observation.
042   */
043  OBSERVATION,
044
045  /**
046   * An occurrence record describing an observation made by one or more people.
047   */
048  HUMAN_OBSERVATION,
049
050  /**
051   * An occurrence record describing an observation made by a machine.
052   */
053  MACHINE_OBSERVATION,
054
055  /**
056   * An occurrence record based on samples taken from other specimens or the environment.
057   */
058  MATERIAL_SAMPLE,
059
060  /**
061   * An occurrence record based on literature alone.
062   * @deprecated use BasisOfRecord.OCCURRENCE instead.
063   */
064  @Deprecated
065  LITERATURE,
066
067  /**
068   * A reference to or citation of one, a part of, or multiple specimens in scholarly publications.
069   */
070  MATERIAL_CITATION,
071
072  /**
073   * An existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.
074   */
075  OCCURRENCE,
076
077  /**
078   * Unknown basis for the record.
079   * @deprecated replaced by BasisOfRecord.OCCURRENCE.
080   */
081  @Deprecated
082  UNKNOWN
083
084}