com.ibm.commerce.taxation.objects
Class TaxCodeSchemeAccessBean

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

public class TaxCodeSchemeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TaxCodeSchemeAccessBeanData

This bean provides access to the TXCDSCHEME table.

The following is a description of this table:

Each row in this table represents a TaxCodeScheme. A TaxCodeScheme is a set of TaxCodeClassifications of CalculationCodes of particular TaxTypes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TaxCodeSchemeAccessBean()
          Default constructor.
TaxCodeSchemeAccessBean(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.lang.String getDescription()
          This method provides access to the TXCDSCHEME.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getSoftware()
          This method provides access to the TXCDSCHEME.SOFTWARE column of DB2 type VARCHAR(32) NULL.
 java.lang.String getTaxCodeSchemeId()
          This method provides access to the TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTaxCodeSchemeIdInEJBType()
          This method provides access to the TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getVendor()
          This method provides access to the TXCDSCHEME.VENDOR column of DB2 type VARCHAR(32) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the TXCDSCHEME.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_nTaxCodeSchemeId(java.lang.String aInitKey_nTaxCodeSchemeId)
          Set the primary key for this object
 void setSoftware(java.lang.String aSoftware)
          This method provides access to the TXCDSCHEME.SOFTWARE column of DB2 type VARCHAR(32) NULL.
 void setTaxCodeSchemeId(java.lang.Integer aTaxCodeSchemeId)
          This method provides access to the TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.
 void setTaxCodeSchemeId(java.lang.String aTaxCodeSchemeId)
          This method provides access to the TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.
 void setVendor(java.lang.String aVendor)
          This method provides access to the TXCDSCHEME.VENDOR column of DB2 type VARCHAR(32) 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

TaxCodeSchemeAccessBean

public TaxCodeSchemeAccessBean()

Default constructor. Maps to findByPrimaryKey.


TaxCodeSchemeAccessBean

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

getDescription

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

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

The following is a description of this column:

The description of the scheme.

Specified by:
getDescription in interface TaxCodeSchemeAccessBeanData
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

getSoftware

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

This method provides access to the TXCDSCHEME.SOFTWARE column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

A string that, along with VENDOR, uniquely identifies the TaxCodeScheme.

Specified by:
getSoftware in interface TaxCodeSchemeAccessBeanData
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

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 TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getTaxCodeSchemeId in interface TaxCodeSchemeAccessBeanData
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 TXCDSCHEME.TXCDSCHEME_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique 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

getVendor

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

This method provides access to the TXCDSCHEME.VENDOR column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The vendor that support the scheme.

Specified by:
getVendor in interface TaxCodeSchemeAccessBeanData
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

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

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

The description of the scheme.

Specified by:
setDescription in interface TaxCodeSchemeAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_nTaxCodeSchemeId

public void setInitKey_nTaxCodeSchemeId(java.lang.String aInitKey_nTaxCodeSchemeId)

Set the primary key for this object

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

setSoftware

public void setSoftware(java.lang.String aSoftware)

This method provides access to the TXCDSCHEME.SOFTWARE column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

A string that, along with VENDOR, uniquely identifies the TaxCodeScheme.

Specified by:
setSoftware in interface TaxCodeSchemeAccessBeanData
Parameters:
aSoftware - java.lang.String
Returns:
void

setTaxCodeSchemeId

public void setTaxCodeSchemeId(java.lang.Integer aTaxCodeSchemeId)

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

The following is a description of this column:

Generated unique key.

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

setTaxCodeSchemeId

public void setTaxCodeSchemeId(java.lang.String aTaxCodeSchemeId)

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

The following is a description of this column:

Generated unique key.

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

setVendor

public void setVendor(java.lang.String aVendor)

This method provides access to the TXCDSCHEME.VENDOR column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The vendor of the scheme.

Specified by:
setVendor in interface TaxCodeSchemeAccessBeanData
Parameters:
aVendor - java.lang.String
Returns:
void