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 TypeMethodDescriptionbooleanThe primary key - Ideally, implementations should use the ISO 3166-1 alpha-2 code of the country.getName()The name for the Country e.g.inthashCode()voidsetAbbreviation(String Abbreviation) sets the abbreviation for this Countryvoidsets the name of the Country
-
Field Details
-
abbreviation
-
name
-
-
Constructor Details
-
CountryImpl
public CountryImpl()
-
-
Method Details
-
getAbbreviation
Description copied from interface:CountryThe 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:
getAbbreviationin interfaceCountry
-
setAbbreviation
Description copied from interface:Countrysets the abbreviation for this Country- Specified by:
setAbbreviationin interfaceCountry- Parameters:
Abbreviation- - e.g. "US" or "GB"
-
getName
Description copied from interface:CountryThe name for the Country e.g. "United States", "United Kingdom" -
setName
Description copied from interface:Countrysets the name of the Country -
equals
-
hashCode
public int hashCode() -
getMainEntityName
- Specified by:
getMainEntityNamein interfaceAdminMainEntity- Returns:
- the display name of this entity for the admin screen
-