- java.lang.Object
-
- java.lang.Enum<SubdivisionPK>
-
- org.meeuw.i18n.subdivision.SubdivisionPK
-
- All Implemented Interfaces:
Serializable
,Comparable<SubdivisionPK>
,CountryCodeSubdivision
@Generated("generateSubdivisions") public enum SubdivisionPK extends Enum<SubdivisionPK> implements CountryCodeSubdivision
Subdivisions of
CountryCode.PK
(Pakistan)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BA
Baluchistan PK-BA Balochistan Balōchistān provinceGB
Gilgit-Baltistan PK-GB Gilgit-Baltistan Gilgit-Baltistān Pakistan administered areaIS
Islamabad PK-IS Islamabad Islāmābād federal capital territoryJK
Azad Kashmir PK-JK Azad Jammu and Kashmir
(local variant is AJ&K) Āzād Jammūñ o Kashmīr Pakistan administered areaKP
Khyber Pakhtunkhwa PK-KP Khyber Pakhtunkhwa Khaībar Pakhtūnkhwā provincePB
Punjab PK-PB Punjab Panjāb provinceSD
Sind PK-SD Sindh Sindh provinceTA
Federally Administered Tribal Areas PK-TA Federally Administered Tribal Areas territory
-
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 SubdivisionPK
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubdivisionPK[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS
public static final SubdivisionPK IS
IslamabadPK-IS Islamabad Islāmābād federal capital territory
-
GB
public static final SubdivisionPK GB
Gilgit-BaltistanPK-GB Gilgit-Baltistan Gilgit-Baltistān Pakistan administered area
-
JK
public static final SubdivisionPK JK
Azad KashmirPK-JK Azad Jammu and Kashmir
(local variant is AJ&K)Āzād Jammūñ o Kashmīr Pakistan administered area
-
BA
public static final SubdivisionPK BA
BaluchistanPK-BA Balochistan Balōchistān province
-
KP
public static final SubdivisionPK KP
Khyber PakhtunkhwaPK-KP Khyber Pakhtunkhwa Khaībar Pakhtūnkhwā province
-
PB
public static final SubdivisionPK PB
PunjabPK-PB Punjab Panjāb province
-
SD
public static final SubdivisionPK SD
SindPK-SD Sindh Sindh province
-
TA
public static final SubdivisionPK TA
Federally Administered Tribal AreasPK-TA Federally Administered Tribal Areas territory
-
-
Method Detail
-
values
public static SubdivisionPK[] 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 (SubdivisionPK c : SubdivisionPK.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubdivisionPK 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
-
-