Class CountryImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CountryImpl
- All Implemented Interfaces:
Serializable
,AdminMainEntity
,Country
- See Also:
-
Field Summary
FieldsFields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
MAIN_ENTITY_NAME_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The primary key - Ideally, implementations should use the ISO 3166-1 alpha-2 code of the country.getName()
The name for the Country e.g.int
hashCode()
void
setAbbreviation
(String Abbreviation) sets the abbreviation for this Countryvoid
sets the name of the Country
-
Field Details
-
abbreviation
-
name
-
-
Constructor Details
-
CountryImpl
public CountryImpl()
-
-
Method Details
-
getAbbreviation
Description copied from interface:Country
The primary key - Ideally, implementations should use the ISO 3166-1 alpha-2 code of the country. e.g. "US" or "GB" {@link http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2}- Specified by:
getAbbreviation
in interfaceCountry
-
setAbbreviation
Description copied from interface:Country
sets the abbreviation for this Country- Specified by:
setAbbreviation
in interfaceCountry
- Parameters:
Abbreviation
- - e.g. "US" or "GB"
-
getName
Description copied from interface:Country
The name for the Country e.g. "United States", "United Kingdom" -
setName
Description copied from interface:Country
sets the name of the Country -
equals
-
hashCode
public int hashCode() -
getMainEntityName
- Specified by:
getMainEntityName
in interfaceAdminMainEntity
- Returns:
- the display name of this entity for the admin screen
-