Package model.enums

Enum RegionName

java.lang.Object
java.lang.Enum<RegionName>
model.enums.RegionName
All Implemented Interfaces:
Serializable, Comparable<RegionName>, java.lang.constant.Constable

public enum RegionName extends Enum<RegionName>
Enum representing geographic region name based on UN [Standard Country or Area Codes for Statistical Use (M49)].
  • Enum Constant Details

    • NORTHERN_AFRICA

      @SerializedName("Northern Africa") public static final RegionName NORTHERN_AFRICA
    • EASTERN_AFRICA

      @SerializedName("Eastern Africa") public static final RegionName EASTERN_AFRICA
    • MIDDLE_AFRICA

      @SerializedName("Middle Africa") public static final RegionName MIDDLE_AFRICA
    • SOUTHERN_AFRICA

      @SerializedName("Southern Africa") public static final RegionName SOUTHERN_AFRICA
    • WESTERN_AFRICA

      @SerializedName("Western Africa") public static final RegionName WESTERN_AFRICA
    • CARIBBEAN

      @SerializedName("Caribbean") public static final RegionName CARIBBEAN
    • CENTRAL_AMERICA

      @SerializedName("Central America") public static final RegionName CENTRAL_AMERICA
    • SOUTH_AMERICA

      @SerializedName("South America") public static final RegionName SOUTH_AMERICA
    • NORTHERN_AMERICA

      @SerializedName("Northern America") public static final RegionName NORTHERN_AMERICA
    • CENTRAL_ASIA

      @SerializedName("Central Asia") public static final RegionName CENTRAL_ASIA
    • EASTERN_ASIA

      @SerializedName("Eastern Asia") public static final RegionName EASTERN_ASIA
    • SOUTH_EASTERN_ASIA

      @SerializedName("South-eastern Asia") public static final RegionName SOUTH_EASTERN_ASIA
    • SOUTHERN_ASIA

      @SerializedName("Southern Asia") public static final RegionName SOUTHERN_ASIA
    • WESTERN_ASIA

      @SerializedName("Western Asia") public static final RegionName WESTERN_ASIA
    • EASTERN_EUROPE

      @SerializedName("Eastern Europe") public static final RegionName EASTERN_EUROPE
    • NORTHERN_EUROPE

      @SerializedName("Northern Europe") public static final RegionName NORTHERN_EUROPE
    • SOUTHERN_EUROPE

      @SerializedName("Southern Europe") public static final RegionName SOUTHERN_EUROPE
    • WESTERN_EUROPE

      @SerializedName("Western Europe") public static final RegionName WESTERN_EUROPE
    • AUSTRALIA_AND_NEW_ZEALAND

      @SerializedName("Australia and New Zealand") public static final RegionName AUSTRALIA_AND_NEW_ZEALAND
    • MELANESIA

      @SerializedName("Melanesia") public static final RegionName MELANESIA
    • MICRONESIA

      @SerializedName("Micronesia") public static final RegionName MICRONESIA
    • POLYNESIA

      @SerializedName("Polynesia") public static final RegionName POLYNESIA
  • Method Details

    • values

      public static RegionName[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RegionName 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 name
      NullPointerException - if the argument is null