com.ibm.commerce.taxation.objects
Class TaxCodeClassificationAccessBean

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

public class TaxCodeClassificationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TaxCodeClassificationAccessBeanData

This bean provides access to the TXCDCLASS table.

The following is a description of this table:

Each row in this table represents a TaxClassification. A TaxClassification is a group of Tax CalculationCodes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TaxCodeClassificationAccessBean()
          Default constructor.
TaxCodeClassificationAccessBean(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 getClassificationId()
          This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getClassificationIdInEJBType()
          This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getDescription()
          This method provides access to the TXCDCLASS.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getName()
          This method provides access to the TXCDCLASS.NAME column of DB2 type VARCHAR(64) NULL.
 java.lang.String getSchemeId()
          This method provides access to the TXCDCLASS.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getSchemeIdInEJBType()
          This method provides access to the TXCDCLASS.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 java.lang.String getStoreEntityId()
          This method provides access to the TXCDCLASS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the TXCDCLASS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setClassificationId(java.lang.Integer aClassificationId)
          This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.
 void setClassificationId(java.lang.String aClassificationId)
          This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the TXCDCLASS.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_nClassificationId(java.lang.String aInitKey_nClassificationId)
          Set the primary key for this object
 void setName(java.lang.String aName)
          This method provides access to the TXCDCLASS.NAME column of DB2 type VARCHAR(64) NULL.
 void setSchemeId(java.lang.Integer aSchemeId)
          This method provides access to the TXCDCLASS.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 void setSchemeId(java.lang.String aSchemeId)
          This method provides access to the TXCDCLASS.TXCDSCHEME_ID column of DB2 type INTEGER NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the TXCDCLASS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the TXCDCLASS.STOREENT_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

TaxCodeClassificationAccessBean

public TaxCodeClassificationAccessBean()

Default constructor. Maps to findByPrimaryKey.


TaxCodeClassificationAccessBean

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

getClassificationId

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

This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getClassificationId in interface TaxCodeClassificationAccessBeanData
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

getClassificationIdInEJBType

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

This method provides access to the TXCDCLASS.TXCDCLASS_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

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 TXCDCLASS.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The Description.

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

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 TXCDCLASS.NAME column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The Tax Classification name.

Specified by:
getName in interface TaxCodeClassificationAccessBeanData
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

getSchemeId

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

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

The following is a description of this column:

The TaxCodeScheme, if any, this TaxClassification is part of.

Specified by:
getSchemeId in interface TaxCodeClassificationAccessBeanData
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

getSchemeIdInEJBType

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

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

The following is a description of this column:

The TaxCodeScheme, if any, this TaxClassification 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

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

The following is a description of this column:

The StoreEntity this TaxClassification is part of.

Specified by:
getStoreEntityId in interface TaxCodeClassificationAccessBeanData
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 TXCDCLASS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity this TaxClassification 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

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

setClassificationId

public void setClassificationId(java.lang.Integer aClassificationId)

This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

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

setClassificationId

public void setClassificationId(java.lang.String aClassificationId)

This method provides access to the TXCDCLASS.TXCDCLASS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
setClassificationId in interface TaxCodeClassificationAccessBeanData
Parameters:
aClassificationId - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

The Description.

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

setInitKey_nClassificationId

public void setInitKey_nClassificationId(java.lang.String aInitKey_nClassificationId)

Set the primary key for this object

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

setName

public void setName(java.lang.String aName)

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

The following is a description of this column:

The Tax Classification name.

Specified by:
setName in interface TaxCodeClassificationAccessBeanData
Parameters:
aName - java.lang.String
Returns:
void

setSchemeId

public void setSchemeId(java.lang.Integer aSchemeId)

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

The following is a description of this column:

The TaxCodeScheme, if any, this TaxClassification is part of.

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

setSchemeId

public void setSchemeId(java.lang.String aSchemeId)

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

The following is a description of this column:

The TaxCodeScheme, if any, this TaxClassification is part of.

Specified by:
setSchemeId in interface TaxCodeClassificationAccessBeanData
Parameters:
aSchemeId - java.lang.String
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

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

The following is a description of this column:

The StoreEntity this TaxClassification is part of.

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

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

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

The following is a description of this column:

The StoreEntity this TaxClassification is part of.

Specified by:
setStoreEntityId in interface TaxCodeClassificationAccessBeanData
Parameters:
aStoreEntityId - java.lang.String
Returns:
void