com.ibm.commerce.taxation.objects
Class CountryBean

com.ibm.commerce.taxation.objects.CountryBean
All Implemented Interfaces:
java.io.Serializable

public class CountryBean
implements java.io.Serializable

This bean provides access to the COUNTRY table.

The following is a description of this table:

This table lists the country or region names in each of the supported languages identified by LANGUAGE_ID. (Note that some of the entries may store the region name rather than the official country name in the NAME column for historical reasons.)

See Also:
Serialized Form

Constructor Summary
CountryBean()
           
 
Method Summary
 java.lang.String getCountryAbbr()
          This method provides access to the COUNTRY.COUNTRYABBR column of DB2 type CHAR(5) NOT NULL.
 java.lang.Integer getLanguageId()
          This method provides access to the COUNTRY.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getName()
          This method provides access to the COUNTRY.NAME column of DB2 type VARCHAR(254) NULL.
 void setCountryAbbr(java.lang.String aCountryAbbr)
          This method provides access to the COUNTRY.COUNTRYABBR column of DB2 type CHAR(5) NOT NULL.
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the COUNTRY.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the COUNTRY.NAME column of DB2 type VARCHAR(254) NULL.
 

Constructor Detail

CountryBean

public CountryBean()
Method Detail

getCountryAbbr

public java.lang.String getCountryAbbr()

This method provides access to the COUNTRY.COUNTRYABBR column of DB2 type CHAR(5) NOT NULL.

The following is a description of this column:

Country or region abbreviation code. This code is derived from the ISO-3166 Alpha-2 codes. For countries or regions with multiple commonly used names a number or letter may be appended to the ISO-3166 alpha-2 code to form the abbreviation code.

Returns:
java.lang.String

getLanguageId

public java.lang.Integer getLanguageId()

This method provides access to the COUNTRY.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the value in the NAME column. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer

getName

public java.lang.String getName()

This method provides access to the COUNTRY.NAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Name of the country or region in the language identified by LANGUAGE_ID.

Returns:
java.lang.String

setCountryAbbr

public void setCountryAbbr(java.lang.String aCountryAbbr)

This method provides access to the COUNTRY.COUNTRYABBR column of DB2 type CHAR(5) NOT NULL.

The following is a description of this column:

Country or region abbreviation code. This code is derived from the ISO-3166 Alpha-2 codes. For countries or regions with multiple commonly used names a number or letter may be appended to the ISO-3166 alpha-2 code to form the abbreviation code.

Parameters:
aCountryAbbr - java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

This method provides access to the COUNTRY.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the value in the NAME column. For a list of language components, see the LANGUAGE table.

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setName

public void setName(java.lang.String aName)

This method provides access to the COUNTRY.NAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Name of the country or region in the language identified by LANGUAGE_ID.

Parameters:
aName - java.lang.String
Returns:
void