Package org.gbif.api.vocabulary
Enum GbifRegion
- java.lang.Object
-
- java.lang.Enum<GbifRegion>
-
- org.gbif.api.vocabulary.GbifRegion
-
- All Implemented Interfaces:
Serializable
,Comparable<GbifRegion>
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:
- The GBIF Network
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFRICA
Africa: IPBES regions North Africa, West Africa, Central Africa, East Africa and adjacent islands, Southern Africa.ANTARCTICA
Antarctica: "Excluded" IPBES regions, or GEO regions except Greenland.ASIA
Asia: IPBES regions Western Asia, South Asia, North-East Asia, South-East Asia.EUROPE
Europe and Central Asia: IPBES regions Central and Western Europe, Eastern Europe, Central Asia.LATIN_AMERICA
Latin America and the Caribbean: IPBES regions Mesoamerica, Caribbean, South America.NORTH_AMERICA
North America: IPBES region North America.OCEANIA
Oceania: IPBES region Oceania.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GbifRegion
fromString(String region)
static GbifRegion
valueOf(String name)
Returns the enum constant of this type with the specified name.static GbifRegion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static GbifRegion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GbifRegion c : GbifRegion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GbifRegion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- 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
-
-