- java.lang.Object
-
- java.lang.Enum<SubdivisionSK>
-
- org.meeuw.i18n.subdivision.SubdivisionSK
-
- All Implemented Interfaces:
Serializable
,Comparable<SubdivisionSK>
,CountryCodeSubdivision
@Generated("generateSubdivisions") public enum SubdivisionSK extends Enum<SubdivisionSK> implements CountryCodeSubdivision
Subdivisions of
CountryCode.SK
(Slovakia)
-
-
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 SubdivisionSK
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubdivisionSK[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BC
public static final SubdivisionSK BC
Banskobystrický krajSK-BC Banskobystrický kraj
-
BL
public static final SubdivisionSK BL
Bratislavský krajSK-BL Bratislavský kraj
-
KI
public static final SubdivisionSK KI
Košický krajSK-KI Košický kraj
-
NI
public static final SubdivisionSK NI
Nitriansky krajSK-NI Nitriansky kraj
-
PV
public static final SubdivisionSK PV
Prešovský krajSK-PV Prešovský kraj
-
TA
public static final SubdivisionSK TA
Trnavský krajSK-TA Trnavský kraj
-
TC
public static final SubdivisionSK TC
Trenčiansky krajSK-TC Trenčiansky kraj
-
ZI
public static final SubdivisionSK ZI
Žilinský krajSK-ZI Žilinský kraj
-
-
Method Detail
-
values
public static SubdivisionSK[] 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 (SubdivisionSK c : SubdivisionSK.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubdivisionSK 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
-
-