001/*
002 * Copyright 2020 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 * The IUCN threat status.
020 * The IUCN Red List Categories and Criteria are intended to be an easily and widely understood system
021 * for classifying species at high risk of global extinction. The general aim of the system is to provide an explicit,
022 * objective framework for the classification of the broadest range of species according to their extinction risk.
023 *
024 * @see <a href="http://rs.gbif.org/vocabulary/iucn/threat_status.xml">rs.gbif.org vocabulary</a>
025 */
026public enum ThreatStatus {
027
028  /**
029   * A taxon is Extinct when there is no reasonable doubt that the last individual has died. A taxon is presumed Extinct
030   * when exhaustive surveys in known and/or expected habitat, at appropriate times (diurnal, seasonal, annual),
031   * throughout its historic range have failed to record an individual. Surveys should be over a time frame appropriate
032   * to the taxon's life cycle and life form.
033   */
034  EXTINCT("EX"),
035
036  /**
037   * A taxon is Extinct in the Wild when it is known only to survive in cultivation, in captivity or as a naturalized
038   * population (or populations) well outside the past range. A taxon is presumed Extinct in the Wild when exhaustive
039   * surveys in known and/or expected habitat, at appropriate times (diurnal, seasonal, annual), throughout its historic
040   * range have failed to record an individual. Surveys should be over a time frame appropriate to the taxon's life
041   * cycle and life form.
042   */
043  EXTINCT_IN_THE_WILD("EW"),
044
045  /**
046   * Category for a taxon when there is no reasonable doubt that the last individual potentially capable of reproduction
047   * within the region has died or has disappeared from the wild in the region, or when, if it is a former visiting
048   * taxon, the last individual has died or disappeared in the wild from the region. The setting of any time limit for
049   * listing under RE is left to the discretion of the regional Red List authority, but should not normally pre-date
050   * 1500 AD.
051   */
052  REGIONALLY_EXTINCT("RE"),
053
054  /**
055   * A taxon is Critically Endangered when the best available evidence indicates that it meets any of the criteria A to
056   * E for Critically Endangered (see Section V), and it is therefore considered to be facing an extremely high risk of
057   * extinction in the wild.
058   */
059  CRITICALLY_ENDANGERED("CR"),
060
061  /**
062   * A taxon is Endangered when the best available evidence indicates that it meets any of the criteria A to E for
063   * Endangered (see Section V), and it is therefore considered to be facing a very high risk of extinction in the wild.
064   */
065  ENDANGERED("EN"),
066
067  /**
068   * A taxon is Vulnerable when the best available evidence indicates that it meets any of the criteria A to E for
069   * Vulnerable (see Section V), and it is therefore considered to be facing a high risk of extinction in the wild.
070   */
071  VULNERABLE("VU"),
072
073  /**
074   * A taxon is Near Threatened when it has been evaluated against the criteria but does not qualify for Critically
075   * Endangered, Endangered or Vulnerable now, but is close to qualifying for or is likely to qualify for a threatened
076   * category in the near future.
077   */
078  NEAR_THREATENED("NT"),
079
080  /**
081   * A taxon is Least Concern when it has been evaluated against the criteria and does not qualify for Critically
082   * Endangered, Endangered, Vulnerable or Near Threatened. Widespread and abundant taxa are included in this category.
083   */
084  LEAST_CONCERN("LC"),
085
086  /**
087   * A taxon is Data Deficient when there is inadequate information to make a direct, or indirect, assessment of its
088   * risk of extinction based on its distribution and/or population status. A taxon in this category may be well
089   * studied, and its biology well known, but appropriate data on abundance and/or distribution are lacking. Data
090   * Deficient is therefore not a category of threat. Listing of taxa in this category indicates that more information
091   * is required and acknowledges the possibility that future research will show that threatened classification is
092   * appropriate. It is important to make positive use of whatever data are available. In many cases great care should
093   * be exercised in choosing between DD and a threatened status. If the range of a taxon is suspected to be relatively
094   * circumscribed, and a considerable period of time has elapsed since the last record of the taxon, threatened status
095   * may well be justified.
096   */
097  DATA_DEFICIENT("DD"),
098
099  /**
100   * Category for a taxon deemed to be ineligible for assessment at a regional level. A taxon may be NA because it is
101   * not a wild population or not within its natural range in the region, or because it is a vagrant to the region. It
102   * may also be NA because it occurs at very low numbers in the region (i.e. when the regional Red List authority has
103   * decided to use a filter to exclude taxa before the assessment procedure) or the taxon may be classified at a lower
104   * taxonomic level (e.g. below the level of species or subspecies) than considered eligible by the regional Red List
105   * authority. In contrast to other Red List Categories, it is not mandatory to use NA for all taxa to which it
106   * applies; but is recommended for taxa where its use is informative.
107   */
108  NOT_APPLICABLE("NA"),
109
110  /**
111   * A taxon is Not Evaluated when it is has not yet been evaluated against the criteria.
112   */
113  NOT_EVALUATED("NE");
114
115  private final String code;
116
117  ThreatStatus(String code) {
118    this.code = code;
119  }
120
121  public String getCode() {
122    return code;
123  }
124}