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