- java.lang.Object
-
- java.lang.Enum<SubdivisionNT>
-
- org.meeuw.i18n.subdivision.SubdivisionNT
-
- All Implemented Interfaces:
Serializable
,Comparable<SubdivisionNT>
,CountryCodeSubdivision
@Generated("generateSubdivisions") public enum SubdivisionNT extends Enum<SubdivisionNT> implements CountryCodeSubdivision
Subdivisions of
CountryCode.NT
(Neutral Zone)There are no known subdivisions of Neutral Zone
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NA
Place holder enum value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
CountryCode
getCountryCode()
String
getName()
String[]
getSource()
boolean
isRealRegion()
static SubdivisionNT
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubdivisionNT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NA
public static final SubdivisionNT NA
Place holder enum value. No known subdivisions for NT
-
-
Method Detail
-
values
public static SubdivisionNT[] 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 (SubdivisionNT c : SubdivisionNT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubdivisionNT 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 nameNullPointerException
- if the argument is null
-
getCountryCode
public CountryCode getCountryCode()
- Specified by:
getCountryCode
in interfaceCountryCodeSubdivision
-
getCode
public String getCode()
- Specified by:
getCode
in interfaceCountryCodeSubdivision
-
getName
public String getName()
- Specified by:
getName
in interfaceCountryCodeSubdivision
-
getSource
public String[] getSource()
- Specified by:
getSource
in interfaceCountryCodeSubdivision
-
isRealRegion
public boolean isRealRegion()
- Specified by:
isRealRegion
in interfaceCountryCodeSubdivision
-
-