Package org.gbif.api.vocabulary
Enum Class GbifRegion
- All Implemented Interfaces:
Serializable
,Comparable<GbifRegion>
,Constable
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 ConstantsEnum ConstantDescriptionAfrica: 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 TypeMethodDescriptionstatic GbifRegion
fromString
(String region) static GbifRegion
Returns the enum constant of this class with the specified name.static GbifRegion[]
values()
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
-
Enum Constant Details
-
AFRICA
Africa: IPBES regions North Africa, West Africa, Central Africa, East Africa and adjacent islands, Southern Africa. -
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. -
NORTH_AMERICA
North America: IPBES region North America. -
OCEANIA
Oceania: IPBES region Oceania. -
LATIN_AMERICA
Latin America and the Caribbean: IPBES regions Mesoamerica, Caribbean, South America. -
ANTARCTICA
Antarctica: "Excluded" IPBES regions, or GEO regions except Greenland. Includes some islands in the Southern Ocean.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromString
- Parameters:
region
- GBIF's region name- Returns:
- the matching GBIF region or null
-