|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.shipping.impl.CountryImpl
public class CountryImpl
Represents a configured country, including its ISO country code, country names (in different language [TBD]), and the subcountries code/label map.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
CountryImpl()
|
Method Summary | |
---|---|
java.lang.String |
getCountryCode()
Return the ISO country code for this Country . |
java.lang.String |
getCountryName()
Return the country name (in English). |
java.util.Map |
getSubCountries()
Returns a map of subcountries codes and their labels. |
void |
setCountryCode(java.lang.String countryCode)
Set the ISO country code for this Country . |
void |
setCountryName(java.lang.String countryName)
Set the country name (in English). |
void |
setSubCountries(java.util.Map subCountries)
Returns a map of subcountries codes and their labels. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public CountryImpl()
Method Detail |
---|
public java.lang.String getCountryCode()
Country
.
getCountryCode
in interface Country
public java.lang.String getCountryName()
getCountryName
in interface Country
public java.util.Map getSubCountries()
getSubCountries
in interface Country
country
.public void setCountryCode(java.lang.String countryCode)
Country
.
setCountryCode
in interface Country
countryCode
- - the ISO country code.public void setCountryName(java.lang.String countryName)
setCountryName
in interface Country
countryName
- - the country name (in English).public void setSubCountries(java.util.Map subCountries)
setSubCountries
in interface Country
subCountries
- a map of codes to labels of subcountries for this country
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |