|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Region
A Region represents a geography definition of an area. For now, it is composed of country and a subcountry, i.e. CA(country) and BC(subcountry).
Method Summary | |
---|---|
Region |
fromString(java.lang.String regionStr)
Return the Region from parsing the given string representation. |
java.lang.String |
getCountryCode()
Get the region's country code (ISO country code). |
java.util.List |
getSubCountryCodeList()
Get the region's subcountry code list. |
void |
mergeSubCountryCodeList(java.util.List additionalSubCountryCodeList)
Merge the given additionalSubCountryCodeList into the existing subCountryCodeList of this Region instance. |
void |
setCountryCode(java.lang.String countryCode)
Set the region's country code (ISO country code). |
void |
setSubCountryCodeList(java.util.List subCountryCodeList)
Set the region's subcountry code list. |
java.lang.String |
toString()
Return the String representation of this Region . |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
Region fromString(java.lang.String regionStr)
Region
from parsing the given string representation.
regionStr
- - the String representation of the Region
Region
java.lang.String getCountryCode()
java.util.List getSubCountryCodeList()
void mergeSubCountryCodeList(java.util.List additionalSubCountryCodeList)
Region
instance.
additionalSubCountryCodeList
- - the additional subCountryCodeList to be merged in.void setCountryCode(java.lang.String countryCode)
countryCode
- the region's country code.void setSubCountryCodeList(java.util.List subCountryCodeList)
subCountryCodeList
- the region's subcountry code list.java.lang.String toString()
Region
.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |