com.ibm.commerce.taxation.objects
Class TaxCategoryAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.taxation.objects.TaxCategoryAccessBean
All Implemented Interfaces:
java.io.Serializable, TaxCategoryAccessBeanData

public class TaxCategoryAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TaxCategoryAccessBeanData

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

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TaxCategoryAccessBean()
          Default constructor.
TaxCategoryAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
TaxCategoryAccessBean(java.lang.Integer aTaxTypeId, java.lang.Integer aStoreEntityId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllDisplayed()
          Retrieves all the tax categories which can be displayed.
 java.util.Enumeration findByStore(java.lang.Integer storeId)
          Retrieves all the tax categories for the indicated store.
 java.util.Enumeration findByStoreAndTaxType(java.lang.Integer storeId, java.lang.Integer taxTypeId)
          Retrieves all the tax categories for the indicated store and tax type.
 java.util.Enumeration findByStoreAndTaxTypeWithDisplayTaxUsage(java.lang.Integer storeId, java.lang.Integer taxTypeId)
          Retrieves all the tax categories for the indicated store and tax type for display.
 java.util.Enumeration findByStoreWithDisplayTaxUsage(java.lang.Integer storeId)
          Retrieves all the tax categories that the Store supports for display.
 java.lang.String getCalculationSequence()
          This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.Double getCalculationSequenceInEJBType()
          This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.String getCategoryId()
          This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCategoryIdInEJBType()
          This method provides access to the TAXCGRY.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 TaxCategoryDescriptionAccessBean getDescription(java.lang.Integer aDescription, java.lang.Integer aDescription)
          This method retrieves the tax category description.
 java.lang.String getDisplaySequence()
          This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.Double getDisplaySequenceInEJBType()
          This method provides access to the TAXCGRY.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.
 java.lang.String getDisplayUsage()
          This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getDisplayUsageInEJBType()
          This method provides access to the TAXCGRY.DISPLAYUSAGE column of DB2 type INTEGER NOT NULL.
 java.lang.String getField1()
          This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField1InEJBType()
          This method provides access to the TAXCGRY.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField2()
          This method provides access to the TAXCGRY.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField2InEJBType()
          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.String getMarkForDelete()
          This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          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.String getStoreEntityId()
          This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the TAXCGRY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTypeId()
          This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTypeIdInEJBType()
          This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCalculationSequence(java.lang.Double aCalculationSequence)
          This method provides access to the TAXCGRY.CALCULATIONSEQ column of DB2 type FLOAT NOT NULL.
 void setCalculationSequence(java.lang.String 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 setCategoryId(java.lang.String 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 setDisplaySequence(java.lang.String 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 setDisplayUsage(java.lang.String 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 setField1(java.lang.String 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 setField2(java.lang.String 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 setInitKey_nCategoryId(java.lang.String aInitKey_nCategoryId)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the TAXCGRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String 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 setStoreEntityId(java.lang.String 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.
 void setTypeId(java.lang.String aTypeId)
          This method provides access to the TAXCGRY.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxCategoryAccessBean

public TaxCategoryAccessBean()

Default constructor. Maps to findByPrimaryKey.


TaxCategoryAccessBean

public TaxCategoryAccessBean(javax.ejb.EJBObject ejbObject)
                      throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

TaxCategoryAccessBean

public TaxCategoryAccessBean(java.lang.Integer aTaxTypeId,
                             java.lang.Integer aStoreEntityId)
                      throws javax.naming.NamingException,
                             javax.ejb.CreateException,
                             java.rmi.RemoteException,
                             javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aTaxTypeId - The TaxType ID of this Tax category.
aStoreEntityId - The ID of the Store Entity to which this Tax category belongs.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllDisplayed

public java.util.Enumeration findAllDisplayed()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves all the tax categories which can be displayed.

The SQL query used to fetch all the required rows from the TAXCGRY table is:

SELECT * FROM TAXCGRY T1 WHERE T1.DISPLAYUSAGE = 1

Returns:
Enumeration of all the TaxCategoryAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStore

public java.util.Enumeration findByStore(java.lang.Integer storeId)
                                  throws java.rmi.RemoteException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Retrieves all the tax categories for the indicated store.

The SQL query used to fetch all the required rows from the TAXCGRY table is:

SELECT * FROM TAXCGRY T1 WHERE T1.STOREENT_ID = ?

Parameters:
storeId - The ID of the store
Returns:
Enumeration of all the TaxCategoryAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreAndTaxType

public java.util.Enumeration findByStoreAndTaxType(java.lang.Integer storeId,
                                                   java.lang.Integer taxTypeId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves all the tax categories for the indicated store and tax type.

The SQL query used to fetch all the required rows from the TAXCGRY table is:

SELECT * FROM TAXCGRY T1 WHERE (T1.STOREENT_ID = ? or T1.STOREENT_ID = (select STORE.STOREGRP_ID from STORE where STORE.STORE_ID = ?)) and T1.TAXTYPE_ID = ?

Parameters:
storeId - The ID of the store
taxTypeId - The ID of the tax type
Returns:
Enumeration of all the TaxCategoryAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreAndTaxTypeWithDisplayTaxUsage

public java.util.Enumeration findByStoreAndTaxTypeWithDisplayTaxUsage(java.lang.Integer storeId,
                                                                      java.lang.Integer taxTypeId)
                                                               throws java.rmi.RemoteException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException

Retrieves all the tax categories for the indicated store and tax type for display.

The SQL query used to fetch all the required rows from the TAXCGRY table is:

SELECT * FROM TAXCGRY T1 WHERE T1.STOREENT_ID = ? and T1.TAXTYPE_ID = ? and T1.DISPLAYUSAGE = 1

Parameters:
storeId - The ID of the store
taxTypeId - The ID of the tax type
Returns:
Enumeration of all the TaxCategoryAccessBeans representing rows that match the search criteria
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreWithDisplayTaxUsage

public java.util.Enumeration findByStoreWithDisplayTaxUsage(java.lang.Integer storeId)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

Retrieves all the tax categories that the Store supports for display.

The SQL query used to fetch all the required rows from the TAXCGRY table is:

SELECT * FROM TAXCGRY T1 WHERE T1.STOREENT_ID = ? and T1.DISPLAYUSAGE = 1

Parameters:
storeId - The ID of the store
Returns:
Enumeration of all the TaxCategoryAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCalculationSequence

public java.lang.String getCalculationSequence()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

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.

Specified by:
getCalculationSequence in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCalculationSequenceInEJBType

public java.lang.Double getCalculationSequenceInEJBType()
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCategoryId

public java.lang.String getCategoryId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

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.

Specified by:
getCategoryId in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCategoryIdInEJBType

public java.lang.Integer getCategoryIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDescription

public TaxCategoryDescriptionAccessBean getDescription(java.lang.Integer aDescription,
                                                       java.lang.Integer aDescription)
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       java.rmi.RemoteException

This method retrieves the tax category description.

Parameters:
aDescription - java.lang.Integer
aDescription - java.lang.Integer
Returns:
com.ibm.commerce.taxation.objects.TaxCategoryDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDisplaySequence

public java.lang.String getDisplaySequence()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

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.

Specified by:
getDisplaySequence in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplaySequenceInEJBType

public java.lang.Double getDisplaySequenceInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplayUsage

public java.lang.String getDisplayUsage()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

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.

Specified by:
getDisplayUsage in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplayUsageInEJBType

public java.lang.Integer getDisplayUsageInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Specified by:
getField1 in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField1InEJBType

public java.math.BigDecimal getField1InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Specified by:
getField2 in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField2InEJBType

public java.math.BigDecimal getField2InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField3

public java.lang.String getField3()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMarkForDelete

public java.lang.String getMarkForDelete()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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.

Specified by:
getMarkForDelete in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMarkForDeleteInEJBType

public java.lang.Integer getMarkForDeleteInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

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.

Specified by:
getName in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityId

public java.lang.String getStoreEntityId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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.

Specified by:
getStoreEntityId in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityIdInEJBType

public java.lang.Integer getStoreEntityIdInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTypeId

public java.lang.String getTypeId()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Specified by:
getTypeId in interface TaxCategoryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTypeIdInEJBType

public java.lang.Integer getTypeIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

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
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

setCalculationSequence

public void setCalculationSequence(java.lang.String 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.

Specified by:
setCalculationSequence in interface TaxCategoryAccessBeanData
Parameters:
aCalculationSequence - java.lang.String
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

setCategoryId

public void setCategoryId(java.lang.String 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.

Specified by:
setCategoryId in interface TaxCategoryAccessBeanData
Parameters:
aCategoryId - java.lang.String
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

setDisplaySequence

public void setDisplaySequence(java.lang.String 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.

Specified by:
setDisplaySequence in interface TaxCategoryAccessBeanData
Parameters:
aDisplaySequence - java.lang.String
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

setDisplayUsage

public void setDisplayUsage(java.lang.String 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.

Specified by:
setDisplayUsage in interface TaxCategoryAccessBeanData
Parameters:
aDisplayUsage - java.lang.String
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

setField1

public void setField1(java.lang.String 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.

Specified by:
setField1 in interface TaxCategoryAccessBeanData
Parameters:
aField1 - java.lang.String
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

setField2

public void setField2(java.lang.String 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.

Specified by:
setField2 in interface TaxCategoryAccessBeanData
Parameters:
aField2 - java.lang.String
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.

Specified by:
setField3 in interface TaxCategoryAccessBeanData
Parameters:
aField3 - java.lang.String
Returns:
void

setInitKey_nCategoryId

public void setInitKey_nCategoryId(java.lang.String aInitKey_nCategoryId)

Set the primary key for this object

Parameters:
aInitKey_nCategoryId - 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

setMarkForDelete

public void setMarkForDelete(java.lang.String 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.

Specified by:
setMarkForDelete in interface TaxCategoryAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
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:

The TaxCategory name.

Specified by:
setName in interface TaxCategoryAccessBeanData
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

setStoreEntityId

public void setStoreEntityId(java.lang.String 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.

Specified by:
setStoreEntityId in interface TaxCategoryAccessBeanData
Parameters:
aStoreEntityId - java.lang.String
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

setTypeId

public void setTypeId(java.lang.String 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.

Specified by:
setTypeId in interface TaxCategoryAccessBeanData
Parameters:
aTypeId - java.lang.String
Returns:
void