Enum RegionCategory
- java.lang.Object
-
- java.lang.Enum<RegionCategory>
-
- com.hack23.cia.model.external.worldbank.countries.impl.RegionCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RegionCategory>
public enum RegionCategory extends java.lang.Enum<RegionCategory>
The Enum RegionCategory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATES
The aggregates.EAST_ASIA_PACIFIC_ALL_INCOME_LEVELS
The east asia pacific all income levels.EUROPE_CENTRAL_ASIA_ALL_INCOME_LEVELS
The europe central asia all income levels.LATIN_AMERICA_CARIBBEAN_ALL_INCOME_LEVELS
The latin america caribbean all income levels.MIDDLE_EAST_NORTH_AFRICA_ALL_INCOME_LEVELS
The middle east north africa all income levels.NORTH_AMERICA
The north america.SOUTH_ASIA
The south asia.SUB_SAHARAN_AFRICA_ALL_INCOME_LEVELS
The sub saharan africa all income levels.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionCategory
fromValue(java.lang.String v)
From value.java.lang.String
value()
Value.static RegionCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RegionCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EAST_ASIA_PACIFIC_ALL_INCOME_LEVELS
public static final RegionCategory EAST_ASIA_PACIFIC_ALL_INCOME_LEVELS
The east asia pacific all income levels.
-
EUROPE_CENTRAL_ASIA_ALL_INCOME_LEVELS
public static final RegionCategory EUROPE_CENTRAL_ASIA_ALL_INCOME_LEVELS
The europe central asia all income levels.
-
LATIN_AMERICA_CARIBBEAN_ALL_INCOME_LEVELS
public static final RegionCategory LATIN_AMERICA_CARIBBEAN_ALL_INCOME_LEVELS
The latin america caribbean all income levels.
-
MIDDLE_EAST_NORTH_AFRICA_ALL_INCOME_LEVELS
public static final RegionCategory MIDDLE_EAST_NORTH_AFRICA_ALL_INCOME_LEVELS
The middle east north africa all income levels.
-
AGGREGATES
public static final RegionCategory AGGREGATES
The aggregates.
-
NORTH_AMERICA
public static final RegionCategory NORTH_AMERICA
The north america.
-
SUB_SAHARAN_AFRICA_ALL_INCOME_LEVELS
public static final RegionCategory SUB_SAHARAN_AFRICA_ALL_INCOME_LEVELS
The sub saharan africa all income levels.
-
SOUTH_ASIA
public static final RegionCategory SOUTH_ASIA
The south asia.
-
-
Method Detail
-
values
public static RegionCategory[] 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 (RegionCategory c : RegionCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegionCategory valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
Value.- Returns:
- the string
-
fromValue
public static RegionCategory fromValue(java.lang.String v)
From value.- Parameters:
v
- the v- Returns:
- the region category
-
-