com.ibm.commerce.taxation.objects
Class TaxTypeAccessBean

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

public class TaxTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TaxTypeAccessBeanData

This bean provides access to the TAXTYPE table.

The following is a description of this table:

This table represents a TaxType. For example, sales tax and shipping tax are two types of taxes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TaxTypeAccessBean()
          Default constructor.
TaxTypeAccessBean(javax.ejb.EJBObject ejbObject)
          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 findAll()
          Retrieves all the tax types.
 java.lang.String getSequence()
          This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.String getTaxCodeSchemeId()
          This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getTaxCodeSchemeIdInEJBType()
          This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 java.lang.String getTaxTypeId()
          This method provides access to the TAXTYPE.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTaxTypeIdInEJBType()
          This method provides access to the TAXTYPE.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_nTaxTypeId(java.lang.String aInitKey_nTaxTypeId)
          Set the primary key for this object
 void setSequence(java.lang.Double aSequence)
          This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setSequence(java.lang.String aSequence)
          This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setTaxCodeSchemeId(java.lang.Integer aTaxCodeSchemeId)
          This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 void setTaxCodeSchemeId(java.lang.String aTaxCodeSchemeId)
          This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 void setTaxTypeId(java.lang.Integer aTaxTypeId)
          This method provides access to the TAXTYPE.TAXTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setTaxTypeId(java.lang.String aTaxTypeId)
          This method provides access to the TAXTYPE.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

TaxTypeAccessBean

public TaxTypeAccessBean()

Default constructor. Maps to findByPrimaryKey.


TaxTypeAccessBean

public TaxTypeAccessBean(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
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

findAll

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

Retrieves all the tax types.

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

SELECT * FROM TAXTYPE T1 WHERE 1 = 1

Returns:
Enumeration of all the TaxTypeAccessBeans 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

getSequence

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

This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

This column is deprecated and is provided for backward compatibility only. See the SEQUENCE column of the STENCALUSG table for current information.

Specified by:
getSequence in interface TaxTypeAccessBeanData
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

getSequenceInEJBType

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

This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

This column is deprecated and is provided for backward compatibility only. See the SEQUENCE column of the STENCALUSG table for current information.

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

getTaxCodeSchemeId

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

This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxScheme, if any, this TaxType is part of.

Specified by:
getTaxCodeSchemeId in interface TaxTypeAccessBeanData
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

getTaxCodeSchemeIdInEJBType

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

This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxScheme, if any, this TaxType is part of.

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

getTaxTypeId

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

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

The following is a description of this column:

Unique identifier.

Specified by:
getTaxTypeId in interface TaxTypeAccessBeanData
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

getTaxTypeIdInEJBType

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

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

The following is a description of this column:

Unique identifier.

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

setInitKey_nTaxTypeId

public void setInitKey_nTaxTypeId(java.lang.String aInitKey_nTaxTypeId)

Set the primary key for this object

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

setSequence

public void setSequence(java.lang.Double aSequence)

This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

This column is deprecated and is provided for backward compatibility only. See the SEQUENCE column of the STENCALUSG table for current information.

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

setSequence

public void setSequence(java.lang.String aSequence)

This method provides access to the TAXTYPE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

This column is deprecated and is provided for backward compatibility only. See the SEQUENCE column of the STENCALUSG table for current information.

Specified by:
setSequence in interface TaxTypeAccessBeanData
Parameters:
aSequence - java.lang.String
Returns:
void

setTaxCodeSchemeId

public void setTaxCodeSchemeId(java.lang.Integer aTaxCodeSchemeId)

This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxScheme, if any, this TaxType is part of.

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

setTaxCodeSchemeId

public void setTaxCodeSchemeId(java.lang.String aTaxCodeSchemeId)

This method provides access to the TAXTYPE.TXCDSCHEME_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The TaxScheme, if any, this TaxType is part of.

Specified by:
setTaxCodeSchemeId in interface TaxTypeAccessBeanData
Parameters:
aTaxCodeSchemeId - java.lang.String
Returns:
void

setTaxTypeId

public void setTaxTypeId(java.lang.Integer aTaxTypeId)

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

The following is a description of this column:

Unique identifier.

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

setTaxTypeId

public void setTaxTypeId(java.lang.String aTaxTypeId)

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

The following is a description of this column:

Unique identifier.

Specified by:
setTaxTypeId in interface TaxTypeAccessBeanData
Parameters:
aTaxTypeId - java.lang.String
Returns:
void