public static final class CountryStateListDataBean.Country
extends java.lang.Object
Constructor and Description |
---|
CountryStateListDataBean.Country()
The default constructor.
|
CountryStateListDataBean.Country(java.lang.String inCode, java.lang.String inName, java.lang.String inLangId, java.util.Locale inLocale)
This constructor takes a country or region code, country or region name, language, and locale.
|
CountryStateListDataBean.Country(java.lang.String inCode, java.lang.String inName, java.lang.String inCallingCode, java.lang.String inLangId, java.util.Locale inLocale)
This constructor takes a country or region code, country or region name, mobile country code, language, and locale.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCallingCode()
Gets the mobile country code of the country or region.
|
java.lang.String | getCode()
Gets the abbreviation code of the country or region.
|
java.lang.String | getDisplayName()
Gets the display name of the country or region in the required language.
|
java.lang.String | getLangId()
Gets the language ID of the country or region on which the information is based.
|
java.util.Locale | getLocale()
Gets the locale of the country on which the information is based.
|
CountryStateListDataBean.StateProvince[] | getStates()
Gets all the states or provinces of the country or region.
|
void | populateStates()
Retrieve all the states or provinces object for this country or region.
|
void | setCallingCode(java.lang.String inCallingCode)
Sets the mobile country code of the country or region.
|
void | setCode(java.lang.String inCode)
Sets the abbreviation code of the country or region.
|
void | setDisplayName(java.lang.String inName)
Sets the display name of the country or region.
|
void | setLangId(java.lang.String inLangId)
Sets the language ID to be used for retrieving the country or region information.
|
void | setLocale(java.util.Locale inLocale)
Sets the locale to be used for retrieving the country or region information.
|
void | setStates(CountryStateListDataBean.StateProvince[] inStates)
Sets the states or provinces of the country or region.
|
public CountryStateListDataBean.Country()
public CountryStateListDataBean.Country(java.lang.String inCode, java.lang.String inName, java.lang.String inLangId, java.util.Locale inLocale)
public CountryStateListDataBean.Country(java.lang.String inCode, java.lang.String inName, java.lang.String inCallingCode, java.lang.String inLangId, java.util.Locale inLocale)
public java.lang.String getCode()
public java.lang.String getDisplayName()
public java.lang.String getCallingCode()
public java.lang.String getLangId()
public java.util.Locale getLocale()
public CountryStateListDataBean.StateProvince[] getStates()
public void populateStates()
public void setCode(java.lang.String inCode)
public void setDisplayName(java.lang.String inName)
public void setCallingCode(java.lang.String inCallingCode)
public void setLangId(java.lang.String inLangId)
public void setLocale(java.util.Locale inLocale)
public void setStates(CountryStateListDataBean.StateProvince[] inStates)