Class ISOCountry
java.lang.Object
com.broadleafcommerce.customer.domain.ISOCountry
- All Implemented Interfaces:
Serializable
This domain object represents the ISO 3166 standard published by the International Organization
for Standardization (ISO), and defines codes for the names of countries, dependent territories,
and special areas of geographical interest.
- Author:
- Elbert Bautista (elbertbautista), Chad Harchar (charchar)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The two letter code for this country.The three letter code for this country.getId()
getName()
The full name of the country.The three digit code for this country.int
hashCode()
void
The two letter code for this country.void
The three letter code for this country.void
void
The full name of the country.void
setNumericCode
(Integer numericCode) The three digit code for this country.toString()
-
Constructor Details
-
ISOCountry
public ISOCountry()
-
-
Method Details
-
getId
-
getName
The full name of the country.- Returns:
- The full name of the country.
-
getAlpha2
The two letter code for this country.- Returns:
- The two letter code for this country.
- See Also:
-
getAlpha3
The three letter code for this country.- Returns:
- The three letter code for this country.
- See Also:
-
getNumericCode
The three digit code for this country.- Returns:
- The three digit code for this country.
- See Also:
-
setId
-
setName
The full name of the country.- Parameters:
name
- The full name of the country.
-
setAlpha2
The two letter code for this country.- Parameters:
alpha2
- The two letter code for this country.- See Also:
-
setAlpha3
The three letter code for this country.- Parameters:
alpha3
- The three letter code for this country.- See Also:
-
setNumericCode
The three digit code for this country.- Parameters:
numericCode
- The three digit code for this country.- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-