com.ibm.commerce.taxation.objects
Class StateProvinceBean

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

public class StateProvinceBean
implements java.io.Serializable

This bean provides access to the STATEPROV table.

The following is a description of this table:

This table lists State and Province names (by country or region) in each of the supported Languages identified by LANGUAGE_ID.

See Also:
Serialized Form

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

Constructor Detail

StateProvinceBean

public StateProvinceBean()
Method Detail

getCountryAbbr

public java.lang.String getCountryAbbr()

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

The following is a description of this column:

Country or region abbreviation code for the country or region. The country or region name is stored in the COUNTRY table.

Returns:
java.lang.String

getLanguageId

public java.lang.Integer getLanguageId()

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

The following is a description of this column:

The Language ID that identifies the Language. Foreign key that references the LANGUAGE_ID column in the LANGUAGE table.

Returns:
java.lang.Integer

getName

public java.lang.String getName()

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

The following is a description of this column:

Name of the State or Province in the Language identified by the LANGUAGE_ID.

Returns:
java.lang.String

getStateAbbr

public java.lang.String getStateAbbr()

This method provides access to the STATEPROV.STATEPROVABBR column of DB2 type CHAR(20) NOT NULL.

The following is a description of this column:

Unique string to identify the State or Province.

Returns:
java.lang.String

setCountryAbbr

public void setCountryAbbr(java.lang.String aCountryAbbr)

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

The following is a description of this column:

Country or region abbreviation code for the country or region. The country or region name is stored in the COUNTRY table.

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

The Language ID that identifies the Language. Foreign key that references the LANGUAGE_ID column in the LANGUAGE table.

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

setName

public void setName(java.lang.String aName)

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

The following is a description of this column:

Name of the State or Province in the Language identified by the LANGUAGE_ID.

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

setStateAbbr

public void setStateAbbr(java.lang.String aStateAbbr)

This method provides access to the STATEPROV.STATEPROVABBR column of DB2 type CHAR(20) NOT NULL.

The following is a description of this column:

Unique string to identify the State or Province.

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