com.ibm.commerce.taxation.objects
Class TaxCategoryBean

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

public class TaxCategoryBean
implements java.io.Serializable

This bean provides access to the TAXCGRY table.

The following is a description of this table:

Each row in this table represents a TaxCategory.

See Also:
Serialized Form

Constructor Summary
TaxCategoryBean()
           
 
Method Summary
 java.lang.Double getCalculationSequence()
          This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.Integer getCategoryId()
          This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Double getDisplaySequence()
          This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.Integer getDisplayUsage()
          This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.
 java.math.BigDecimal getField1()
          This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField2()
          This method provides access to the TAXCGRY.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField3()
          This method provides access to the TAXCGRY.FIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getName()
          This method provides access to the TAXCGRY.NAME column of DB2 type CHAR(15) NULL.
 java.lang.Integer getStoreEntityId()
          This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTypeId()
          This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationSequence(java.lang.Double aCalculationSequence)
          This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.
 void setCategoryId(java.lang.Integer aCategoryId)
          This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 void setDisplaySequence(java.lang.Double aDisplaySequence)
          This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.
 void setDisplayUsage(java.lang.Integer aDisplayUsage)
          This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.
 void setField1(java.math.BigDecimal aField1)
          This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setField2(java.math.BigDecimal aField2)
          This method provides access to the TAXCGRY.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the TAXCGRY.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the TAXCGRY.NAME column of DB2 type CHAR(15) NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setTypeId(java.lang.Integer aTypeId)
          This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

TaxCategoryBean

public TaxCategoryBean()
Method Detail

getCalculationSequence

public java.lang.Double getCalculationSequence()

This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

Tax amounts are calculated in ascending order of CALCULATIONSEQ.

Returns:
java.lang.Double

getCategoryId

public java.lang.Integer getCategoryId()

This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated primary key.

Returns:
java.lang.Integer

getDisplaySequence

public java.lang.Double getDisplaySequence()

This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

A user interface can use this field to control the sequence of tax amounts displayed for an Order.

Returns:
java.lang.Double

getDisplayUsage

public java.lang.Integer getDisplayUsage()

This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies that this tax category in relation to the PriceDataBean as follows:
0 = is not calculated
1 = is calculated
The PriceDataBean can be used to obtain tax amounts that should be shown along with the product price.

Returns:
java.lang.Integer

getField1

public java.math.BigDecimal getField1()

This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getField2

public java.math.BigDecimal getField2()

This method provides access to the TAXCGRY.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getField3

public java.lang.String getField3()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getMarkForDelete

public java.lang.Integer getMarkForDelete()

This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Integer

getName

public java.lang.String getName()

This method provides access to the TAXCGRY.NAME column of DB2 type CHAR(15) NULL.

The following is a description of this column:

A name that, along with the StoreEntity, uniquely identifies this TaxCategory.

Returns:
java.lang.String

getStoreEntityId

public java.lang.Integer getStoreEntityId()

This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity of which this TaxCategory is a part.

Returns:
java.lang.Integer

getTypeId

public java.lang.Integer getTypeId()

This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxType of this Tax category.

Returns:
java.lang.Integer

setCalculationSequence

public void setCalculationSequence(java.lang.Double aCalculationSequence)

This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

Tax amounts are calculated in ascending order of CALCULATIONSEQ.

Parameters:
aCalculationSequence - java.lang.Double
Returns:
void

setCategoryId

public void setCategoryId(java.lang.Integer aCategoryId)

This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated primary key.

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

setDisplaySequence

public void setDisplaySequence(java.lang.Double aDisplaySequence)

This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

A user interface can use this field to control the sequence of tax amounts displayed for an Order.

Parameters:
aDisplaySequence - java.lang.Double
Returns:
void

setDisplayUsage

public void setDisplayUsage(java.lang.Integer aDisplayUsage)

This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies that this tax category in relation to the PriceDataBean as follows:
0 = is not calculated
1 = is calculated
The PriceDataBean can be used to obtain tax amounts that should be shown along with the product price.

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

setField1

public void setField1(java.math.BigDecimal aField1)

This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField1 - java.math.BigDecimal
Returns:
void

setField2

public void setField2(java.math.BigDecimal aField2)

This method provides access to the TAXCGRY.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField2 - java.math.BigDecimal
Returns:
void

setField3

public void setField3(java.lang.String aField3)

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

The following is a description of this column:

Customizable.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setName

public void setName(java.lang.String aName)

This method provides access to the TAXCGRY.NAME column of DB2 type CHAR(15) NULL.

The following is a description of this column:

A name that, along with the StoreEntity, uniquely identifies this TaxCategory.

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

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity of which this TaxCategory is a part.

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

setTypeId

public void setTypeId(java.lang.Integer aTypeId)

This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxType of this Tax category.

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