Package model.enums
Enum RegionName
- All Implemented Interfaces:
Serializable,Comparable<RegionName>,java.lang.constant.Constable
Enum representing geographic region name based on UN [Standard Country or Area Codes for Statistical Use (M49)].
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic RegionNameReturns the enum constant of this type with the specified name.static RegionName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORTHERN_AFRICA
-
EASTERN_AFRICA
-
MIDDLE_AFRICA
-
SOUTHERN_AFRICA
-
WESTERN_AFRICA
-
CARIBBEAN
-
CENTRAL_AMERICA
-
SOUTH_AMERICA
-
NORTHERN_AMERICA
-
CENTRAL_ASIA
-
EASTERN_ASIA
-
SOUTH_EASTERN_ASIA
-
SOUTHERN_ASIA
-
WESTERN_ASIA
-
EASTERN_EUROPE
-
NORTHERN_EUROPE
-
SOUTHERN_EUROPE
-
WESTERN_EUROPE
-
AUSTRALIA_AND_NEW_ZEALAND
@SerializedName("Australia and New Zealand") public static final RegionName AUSTRALIA_AND_NEW_ZEALAND -
MELANESIA
-
MICRONESIA
-
POLYNESIA
-
-
Method Details
-
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
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
-