Enum IncomeLevelCategory
- java.lang.Object
-
- java.lang.Enum<IncomeLevelCategory>
-
- com.hack23.cia.model.external.worldbank.countries.impl.IncomeLevelCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IncomeLevelCategory>
public enum IncomeLevelCategory extends java.lang.Enum<IncomeLevelCategory>
The Enum IncomeLevelCategory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATES
The aggregates.HIGH_INCOME_NON_OECD
The high income non oecd.HIGH_INCOME_OECD
The high income oecd.LOW_INCOME
The low income.LOWER_MIDDLE_INCOME
The lower middle income.NA
The na.UPPER_MIDDLE_INCOME
The upper middle income.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IncomeLevelCategory
fromValue(java.lang.String v)
From value.java.lang.String
value()
Value.static IncomeLevelCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IncomeLevelCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW_INCOME
public static final IncomeLevelCategory LOW_INCOME
The low income.
-
LOWER_MIDDLE_INCOME
public static final IncomeLevelCategory LOWER_MIDDLE_INCOME
The lower middle income.
-
AGGREGATES
public static final IncomeLevelCategory AGGREGATES
The aggregates.
-
HIGH_INCOME_NON_OECD
public static final IncomeLevelCategory HIGH_INCOME_NON_OECD
The high income non oecd.
-
NA
public static final IncomeLevelCategory NA
The na.
-
HIGH_INCOME_OECD
public static final IncomeLevelCategory HIGH_INCOME_OECD
The high income oecd.
-
UPPER_MIDDLE_INCOME
public static final IncomeLevelCategory UPPER_MIDDLE_INCOME
The upper middle income.
-
-
Method Detail
-
values
public static IncomeLevelCategory[] 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 (IncomeLevelCategory c : IncomeLevelCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IncomeLevelCategory 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 IncomeLevelCategory fromValue(java.lang.String v)
From value.- Parameters:
v
- the v- Returns:
- the income level category
-
-