public interface Country extends Serializable
Address no longer references this and Address
implementations should be updated to use ISOCountry instead.
This is to accommodate International Billing/Shipping Addresses which may not necessarily be restricted
to countries represented by this entity.
http://www.iso.org/iso/country_codes.htm
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation()
The primary key - Ideally, implementations should use the ISO 3166-1 alpha-2 code of the country.
|
String |
getName()
The name for the Country
e.g.
|
void |
setAbbreviation(String abbreviation)
sets the abbreviation for this Country
|
void |
setName(String name)
sets the name of the Country
|
String getAbbreviation()
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2void setAbbreviation(String abbreviation)
abbreviation - - e.g. "US" or "GB"String getName()
void setName(String name)
name - - e.g. "United States", "United Kingdom"Copyright © 2015. All Rights Reserved.