com.ibm.commerce.fulfillment.objects
Class CalculationMethodAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.fulfillment.objects.CalculationMethodAccessBean
All Implemented Interfaces:
CalculationMethodAccessBeanData, java.io.Serializable

public class CalculationMethodAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CalculationMethodAccessBeanData

This bean provides access to the CALMETHOD table.

The following is a description of this table:

Each row of this table defines a CalculationMethod implementation.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CalculationMethodAccessBean()
          Default constructor.
CalculationMethodAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
CalculationMethodAccessBean(java.lang.Integer aCulationMethodAccessBean, java.lang.String aCulationMethodAccessBean, java.lang.Integer aCulationMethodAccessBean, java.lang.Integer aCulationMethodAccessBean, java.lang.Integer aCulationMethodAccessBean)
          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 findActiveCalculationCodeCombineMethods()
          Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTCC_CALMETHOD_ID.
 java.util.Enumeration findActiveCalculationCodeCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId, java.lang.Integer aCalculationUsageId)
          Retrieves the active CalculationCodeCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.
 java.util.Enumeration findActiveCalculationRuleCombineMethods()
          Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTRC_CALMETHOD_ID.
 java.util.Enumeration findActiveCalculationRuleCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId, java.lang.Integer aCalculationUsageId)
          Retrieves the active CalculationRuleCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.
 java.util.Enumeration findAll()
          Retrieves all CalculationMethodAccessBeans.
 java.lang.String getCalculationMethodId()
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationMethodIdInEJBType()
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationUsageId()
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationUsageIdInEJBType()
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getName()
          This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStoreEntityId()
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getSubclass()
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 java.lang.Integer getSubclassInEJBType()
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 java.lang.String getTaskName()
          This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationMethodId(java.lang.String aCalculationMethodId)
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationUsageId(java.lang.String aCalculationUsageId)
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_calculationMethodId(java.lang.String aInitKey_calculationMethodId)
          Set the primary key for this object
 void setName(java.lang.String aName)
          This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254) NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.Integer aSubclass)
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 void setSubclass(java.lang.String aSubclass)
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 void setTaskName(java.lang.String aTaskName)
          This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254) 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

CalculationMethodAccessBean

public CalculationMethodAccessBean()

Default constructor. Maps to findByPrimaryKey.


CalculationMethodAccessBean

public CalculationMethodAccessBean(javax.ejb.EJBObject aEJBObject)
                            throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CalculationMethodAccessBean

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

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

Parameters:
aCulationMethodAccessBean - java.lang.Integer
aCulationMethodAccessBean - java.lang.String
aCulationMethodAccessBean - java.lang.Integer
aCulationMethodAccessBean - java.lang.Integer
aCulationMethodAccessBean - java.lang.Integer
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
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

findActiveCalculationCodeCombineMethods

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

Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTCC_CALMETHOD_ID. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALMETHOD table is:
SELECT * FROM CALMETHOD T1 WHERE
T1.CALMETHOD_ID IN (SELECT STENCALUSG.ACTCC_CALMETHOD_ID FROM STENCALUSG)

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

findActiveCalculationCodeCombineMethodsByStoreEntityAndCalculationUsage

public java.util.Enumeration findActiveCalculationCodeCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId,
                                                                                                     java.lang.Integer aCalculationUsageId)
                                                                                              throws java.rmi.RemoteException,
                                                                                                     javax.ejb.FinderException,
                                                                                                     javax.naming.NamingException

Retrieves the active CalculationCodeCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.

The SQL query used to fetch all the required rows from the CALMETHOD table is:
SELECT * FROM CALMETHOD T1 WHERE
T1.CALMETHOD_ID = (SELECT STENCALUSG.ACTCC_CALMETHOD_ID FROM STENCALUSG WHERE STENCALUSG.STOREENT_ID = ? AND STENCALUSG.CALUSAGE_ID = ?)

Parameters:
aStoreEntityId - the StoreEntity ID
aCalculationUsageId - the CalculationUsage ID
Returns:
An Enumeration of all the CalculationMethodAccessBeans 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

findActiveCalculationRuleCombineMethods

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

Retrieves the CalculationMethodAccessBeans referenced by STENCALUSG.ACTRC_CALMETHOD_ID. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALMETHOD table is:
SELECT * FROM CALMETHOD T1 WHERE
T1.CALMETHOD_ID IN (SELECT STENCALUSG.ACTRC_CALMETHOD_ID FROM STENCALUSG)

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

findActiveCalculationRuleCombineMethodsByStoreEntityAndCalculationUsage

public java.util.Enumeration findActiveCalculationRuleCombineMethodsByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId,
                                                                                                     java.lang.Integer aCalculationUsageId)
                                                                                              throws java.rmi.RemoteException,
                                                                                                     javax.ejb.FinderException,
                                                                                                     javax.naming.NamingException

Retrieves the active CalculationRuleCombine CalculationMethodAccessBeans of the specified StoreEntity and CalculationUsage.

The SQL query used to fetch all the required rows from the CALMETHOD table is:
SELECT * FROM CALMETHOD T1 WHERE
T1.CALMETHOD_ID = (SELECT STENCALUSG.ACTRC_CALMETHOD_ID FROM STENCALUSG WHERE STENCALUSG.STOREENT_ID = ? AND STENCALUSG.CALUSAGE_ID = ?)

Parameters:
aStoreEntityId - the StoreEntity ID
aCalculationUsageId - the CalculationUsage ID
Returns:
An Enumeration of all the CalculationMethodAccessBeans 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

findAll

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

Retrieves all CalculationMethodAccessBeans.

The SQL query used to fetch all the required rows from the CALCODEDSC table is:
SELECT * FROM CALMETHOD T1 WHERE
1 = 1

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

getCalculationMethodId

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

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
getCalculationMethodId in interface CalculationMethodAccessBeanData
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

getCalculationMethodIdInEJBType

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

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated 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

getCalculationUsageId

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

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

Specified by:
getCalculationUsageId in interface CalculationMethodAccessBeanData
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

getCalculationUsageIdInEJBType

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

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

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

The following is a description of this column:

A description of the CalculationMethod, suitable for display by a user interface that creates and updates CalculationCodes and CalculationScales.

Specified by:
getDescription in interface CalculationMethodAccessBeanData
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 CALMETHOD.NAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A character string that uniquely identifies this CalculationMethod for a particular combination of StoreEntity, SubClass, and CalculationUsage.

Specified by:
getName in interface CalculationMethodAccessBeanData
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 CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition is a part.

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

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition 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

getSubclass

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

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

Specified by:
getSubclass in interface CalculationMethodAccessBeanData
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

getSubclassInEJBType

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

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

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

getTaskName

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

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

The following is a description of this column:

Complete name of the Java Interface Class for the method. For example, com.ibm.commerce.order.utils.CalculationCodeCombineCmd

Specified by:
getTaskName in interface CalculationMethodAccessBeanData
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

setCalculationMethodId

public void setCalculationMethodId(java.lang.Integer aCalculationMethodId)

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

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

setCalculationMethodId

public void setCalculationMethodId(java.lang.String aCalculationMethodId)

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
setCalculationMethodId in interface CalculationMethodAccessBeanData
Parameters:
aCalculationMethodId - java.lang.String
Returns:
void

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer aCalculationUsageId)

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.String aCalculationUsageId)

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

Specified by:
setCalculationUsageId in interface CalculationMethodAccessBeanData
Parameters:
aCalculationUsageId - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

A description of the CalculationMethod, suitable for display by a user interface that creates and updates CalculationCodes and CalculationScales.

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

setInitKey_calculationMethodId

public void setInitKey_calculationMethodId(java.lang.String aInitKey_calculationMethodId)

Set the primary key for this object

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

setName

public void setName(java.lang.String aName)

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

The following is a description of this column:

A character string that uniquely identifies this CalculationMethod for a particular combination of StoreEntity, SubClass, and CalculationUsage.

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

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

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

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition is a part.

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

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

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

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition is a part.

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

setSubclass

public void setSubclass(java.lang.Integer aSubclass)

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

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

setSubclass

public void setSubclass(java.lang.String aSubclass)

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

Specified by:
setSubclass in interface CalculationMethodAccessBeanData
Parameters:
aSubclass - java.lang.String
Returns:
void

setTaskName

public void setTaskName(java.lang.String aTaskName)

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

The following is a description of this column:

Complete name of the Java Interface Class for the method. For example, com.ibm.commerce.order.utils.CalculationCodeCombineCmd

Specified by:
setTaskName in interface CalculationMethodAccessBeanData
Parameters:
aTaskName - java.lang.String
Returns:
void