Enum Class GbifRegion

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

public enum GbifRegion extends Enum<GbifRegion>

An enumeration for all GBIF Regions. These are based on IPBES regions.

This is a political division, part of GBIF's governance structure. For a geographical division, see Continent.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Africa: IPBES regions North Africa, West Africa, Central Africa, East Africa and adjacent islands, Southern Africa.
    Antarctica: "Excluded" IPBES regions, or GEO regions except Greenland.
    Asia: IPBES regions Western Asia, South Asia, North-East Asia, South-East Asia.
    Europe and Central Asia: IPBES regions Central and Western Europe, Eastern Europe, Central Asia.
    Latin America and the Caribbean: IPBES regions Mesoamerica, Caribbean, South America.
    North America: IPBES region North America.
    Oceania: IPBES region Oceania.
  • Method Summary

    Modifier and Type
    Method
    Description
    static GbifRegion
     
    static GbifRegion
    Returns the enum constant of this class with the specified name.
    static GbifRegion[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • AFRICA

      public static final GbifRegion AFRICA
      Africa: IPBES regions North Africa, West Africa, Central Africa, East Africa and adjacent islands, Southern Africa.
    • ASIA

      public static final GbifRegion ASIA
      Asia: IPBES regions Western Asia, South Asia, North-East Asia, South-East Asia.
    • EUROPE

      public static final GbifRegion EUROPE
      Europe and Central Asia: IPBES regions Central and Western Europe, Eastern Europe, Central Asia.
    • NORTH_AMERICA

      public static final GbifRegion NORTH_AMERICA
      North America: IPBES region North America.
    • OCEANIA

      public static final GbifRegion OCEANIA
      Oceania: IPBES region Oceania.
    • LATIN_AMERICA

      public static final GbifRegion LATIN_AMERICA
      Latin America and the Caribbean: IPBES regions Mesoamerica, Caribbean, South America.
    • ANTARCTICA

      public static final GbifRegion ANTARCTICA
      Antarctica: "Excluded" IPBES regions, or GEO regions except Greenland. Includes some islands in the Southern Ocean.
  • Method Details

    • values

      public static GbifRegion[] 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 GbifRegion 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
    • fromString

      public static GbifRegion fromString(String region)
      Parameters:
      region - GBIF's region name
      Returns:
      the matching GBIF region or null