A single ISO 3166-1 country record: its English and French short names, alpha-2 code, alpha-3 code and numeric code. Instances are looked up or listed through the enclosing CountryCodes class rather than constructed directly by app developers.


Properties

PropertyReturnsDescription
alpha2CodeStringThe country's ISO 3166-1 alpha-2 code.
alpha3CodeStringThe country's ISO 3166-1 alpha-3 code.
englishShortNameStringThe country's short name in English.
frenchShortNameStringThe country's short name in French.
numericStringThe country's ISO 3166-1 numeric code.

Methods

getEnglishShortName()

Returns: String

The country's short name in English.

getFrenchShortName()

Returns: String

The country's short name in French.

getAlpha2Code()

Returns: String

The country's ISO 3166-1 alpha-2 code.

getAlpha3Code()

Returns: String

The country's ISO 3166-1 alpha-3 code.

getNumeric()

Returns: String

The country's ISO 3166-1 numeric code.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.