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