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 * 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  LEAST_CONCERN("LC"),
029  NEAR_THREATENED("NT"),
030  VULNERABLE("VU"),
031  ENDANGERED("EN"),
032  CRITICALLY_ENDANGERED("CR"),
033  EXTINCT_IN_THE_WILD("EW"),
034  EXTINCT("EX"),
035  DATA_DEFICIENT("DD"),
036  NOT_EVALUATED("NE");
037
038  private final String code;
039
040  ThreatStatus(String code) {
041    this.code = code;
042  }
043
044  public String getCode() {
045    return code;
046  }
047
048}