- java.lang.Object
-
- java.lang.Enum<SubdivisionGS>
-
- org.meeuw.i18n.subdivision.SubdivisionGS
-
- All Implemented Interfaces:
Serializable
,Comparable<SubdivisionGS>
,CountryCodeSubdivision
@Generated("generateSubdivisions") public enum SubdivisionGS extends Enum<SubdivisionGS> implements CountryCodeSubdivision
Subdivisions of
CountryCode.GS
(South Georgia and the South Sandwich Islands)There are no known subdivisions of South Georgia and the South Sandwich Islands
-
-
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 SubdivisionGS
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubdivisionGS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NA
public static final SubdivisionGS NA
Place holder enum value. No known subdivisions for GS
-
-
Method Detail
-
values
public static SubdivisionGS[] 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 (SubdivisionGS c : SubdivisionGS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubdivisionGS 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
-
-