Package com.broadleafcommerce.tax.domain
Class TaxISOCountry
- java.lang.Object
-
- com.broadleafcommerce.tax.domain.TaxISOCountry
-
- All Implemented Interfaces:
Serializable
public class TaxISOCountry extends Object implements 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:
- Chad Harchar (charchar)
- See Also:
- ISO 3166-1, ISO 3166-1 alpha-2, ISO 3166 Decoding Table, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaxISOCountry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAlpha2()
The two letter code for this country.String
getAlpha3()
The three letter code for this country.String
getName()
Integer
getNumericCode()
The three digit code for this country.int
hashCode()
void
setAlpha2(String alpha2)
The two letter code for this country.void
setAlpha3(String alpha3)
The three letter code for this country.void
setName(String name)
void
setNumericCode(Integer numericCode)
The three digit code for this country.String
toString()
-
-
-
Method Detail
-
getAlpha2
public String getAlpha2()
The two letter code for this country.- Returns:
- The two letter code for this country.
- See Also:
- ISO 3166-1 alpha-2
-
getName
public String getName()
- Returns:
-
getAlpha3
public String getAlpha3()
The three letter code for this country.- Returns:
- The three letter code for this country.
- See Also:
- ISO 3166-1 alpha-3
-
getNumericCode
public Integer getNumericCode()
The three digit code for this country.- Returns:
- The three digit code for this country.
- See Also:
- ISO 3166-1 numeric
-
setAlpha2
public void setAlpha2(String alpha2)
The two letter code for this country.- Parameters:
alpha2
- The two letter code for this country.- See Also:
- ISO 3166-1 alpha-2
-
setName
public void setName(String name)
- Parameters:
name
-
-
setAlpha3
public void setAlpha3(String alpha3)
The three letter code for this country.- Parameters:
alpha3
- The three letter code for this country.- See Also:
- ISO 3166-1 alpha-3
-
setNumericCode
public void setNumericCode(Integer numericCode)
The three digit code for this country.- Parameters:
numericCode
- The three digit code for this country.- See Also:
- ISO 3166-1 numeric
-
canEqual
protected boolean canEqual(Object other)
-
-