com.ibm.commerce.fulfillment.objects
Class CalculationCodeAccessBean

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

public class CalculationCodeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CalculationCodeAccessBeanData

This bean provides access to the CALCODE table.

The following is a description of this table:

A row in this table represents a CalculationCode. CalculationCodes represent ways of determining monetary amounts associated with OrderItems. They are used to calculate discounts, shipping charges, sales tax, and shipping tax.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CalculationCodeAccessBean()
          Default constructor.
CalculationCodeAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
CalculationCodeAccessBean(java.lang.Integer aCalculationUsageId, java.lang.Integer aCalculateMethodId, java.lang.Integer aApplyMethodId, java.lang.Integer aQualifyMethodId, java.lang.Integer aStoreEntityId)
          Creates an access bean with the specified attributes.
CalculationCodeAccessBean(java.lang.Integer aCalculationUsageId, java.lang.Integer aCalculateMethodId, java.lang.Integer aApplyMethodId, java.lang.Integer aQualifyMethodId, java.lang.Integer aStoreEntityId, java.lang.String aCode)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllAttachedCalculationCodes(java.lang.Integer aCalculationUsageId, java.lang.Integer aCatalogGroupId, java.lang.Long aContractId, java.lang.Long aStoreId)
          Retrieves the CalculationCodeAccessBeans that are attached to the specified Contract and Offer.
 java.util.Enumeration findByCalculationUsageAndStoreEntity(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreEntityId)
          Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage and StoreEntity.
 java.util.Enumeration findByCalculationUsageAndStoreEntityAndDisplayLevel(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreEntityId, java.lang.Integer aDisplayLevel)
          Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, StoreEntity and displayLevel.
 java.util.Enumeration findByCalculationUsageAndStoreEntitySortByCode(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreEntityId)
          Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage and StoreEntity, ordered by their codes.
 java.util.Enumeration findByCalculationUsageCatalogEntryContractAndStore(java.lang.Integer aCalculationUsageId, java.lang.Long aCatalogEntryId, java.lang.Long aContractId, java.lang.Integer aStoreId)
          Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry, Contract and Store.
 java.util.Enumeration findByCalculationUsageCatalogGroupContractAndStore(java.lang.Integer aCalculationUsageId, java.lang.Long aCatalogGroupId, java.lang.Long aContractId, java.lang.Integer aStoreId)
          Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, CatalogGroup, Contract and Store.
 CalculationCodeAccessBean findByCalculationUsageCodeAndStoreEntity(java.lang.Integer aCalculationUsageId, java.lang.String aCode, java.lang.Integer aStoreEntityId)
          Retrieves the CalculationCodeAccessBean that matches the specified CalculationUsage, code and StoreEntity.
 java.util.Enumeration findByCalculationUsageStoreContractAndOffer(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreId, java.lang.Long aContractId, java.lang.Long aOfferId)
          Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, Store, Contract and Offer.
 java.util.Enumeration findByCatalogEntryAndStoreSortByCode(java.lang.Long aCatalogEntryId, java.lang.Integer aStoreId)
          Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry and Store.
 java.util.Enumeration findByCatalogEntryAttachments(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreId, java.lang.Long aTradingId, java.lang.Long[] aCatalogEntryIds)
          Retrieves the CalculationCodeAccessBeans directly attached to the specified CatalogEntries.
 java.util.Enumeration findByCatalogEntryContractAndStore(java.lang.Long aCatalogEntryId, java.lang.Long aContractId, java.lang.Integer aStoreId)
          Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry, Contract and Store.
 java.util.Enumeration findByCatalogGroupAttachments(java.lang.Integer aCalculationUsageId, java.lang.Integer aStoreId, java.lang.Long aTradingId, java.lang.Long[] aCatalogEntryIds)
          Retrieves the CalculationCodeAccessBeans indirectly attached to the specified CatalogEntries through their CatalogGroups.
 java.util.Enumeration findByCatalogGroupContractAndStore(java.lang.Long aCatalogGroupId, java.lang.Long aContractId, java.lang.Integer aStoreId)
          Retrieves the CalculationCodeAccessBeans that match the specified CatalogGroup, Contract and Store.
 java.util.Enumeration findByOrderItem(java.lang.Long aOrderItemId)
          Retrieves the CalculationCodeAccessBeans directly attached to the specified OrderItem.
 CalculationCodeAccessBean findDefaultCalculationCodeByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId, java.lang.Integer aCalculationUsageId)
          Retrieves the default CalculationCodeAccessBeans of the specified StoreEntity and CalculationUsage.
 boolean fulfills(java.lang.Long aFills, java.lang.String aFills)
           
 java.lang.String getCalculationCodeApplyMethodId()
          This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationCodeApplyMethodIdInEJBType()
          This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationCodeId()
          This method provides access to the CALCODE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationCodeIdInEJBType()
          This method provides access to the CALCODE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationCodeQualifyMethodId()
          This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationCodeQualifyMethodIdInEJBType()
          This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationMethodId()
          This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationMethodIdInEJBType()
          This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationUsageId()
          This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationUsageIdInEJBType()
          This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCode()
          This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.
 java.lang.String getCombination()
          This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
 java.lang.Integer getCombinationInEJBType()
          This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
 java.lang.String getDescription()
          This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDisplayLevel()
          This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getDisplayLevelInEJBType()
          This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 java.util.Enumeration getEffectiveRules()
          Retrieves the effective CalculationRuleAccessBeans, ordered by their sequences.
 java.lang.String getEndDate()
          This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getEndDateInEJBType()
          This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getField1()
          This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getFlags()
          This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFlagsInEJBType()
          This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.String getGroupBy()
          This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getGroupByInEJBType()
          This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Long getOwner()
           
 java.lang.String getPrecedence()
          This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
 java.lang.Double getPrecedenceInEJBType()
          This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
 java.lang.String getPublished()
          This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getPublishedInEJBType()
          This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
 java.lang.String getSequence()
          This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.String getStartDate()
          This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getStartDateInEJBType()
          This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getStoreEntityId()
          This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTaxCodeClassId()
          This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getTaxCodeClassIdInEJBType()
          This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCalculationCodeApplyMethodId(java.lang.Integer aCalculationCodeApplyMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
 void setCalculationCodeApplyMethodId(java.lang.String aCalculationCodeApplyMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.
 void setCalculationCodeQualifyMethodId(java.lang.Integer aCalculationCodeQualifyMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
 void setCalculationCodeQualifyMethodId(java.lang.String aCalculationCodeQualifyMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
 void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationMethodId(java.lang.String aCalculationMethodId)
          This method provides access to the CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
          This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationUsageId(java.lang.String aCalculationUsageId)
          This method provides access to the CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.
 void setCombination(java.lang.Integer aCombination)
          This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
 void setCombination(java.lang.String aCombination)
          This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the CALCODE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setDisplayLevel(java.lang.Integer aDisplayLevel)
          This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 void setDisplayLevel(java.lang.String aDisplayLevel)
          This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 void setEndDate(java.lang.String aEndDate)
          This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
 void setEndDate(java.sql.Timestamp aEndDate)
          This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setFlags(java.lang.Integer aFlags)
          This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
 void setFlags(java.lang.String aFlags)
          This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.
 void setGroupBy(java.lang.Integer aGroupBy)
          This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
 void setGroupBy(java.lang.String aGroupBy)
          This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.
 void setInitKey_calculationCodeId(java.lang.String aInitKey_calculationCodeId)
          Set the primary key for this object
 void setLastUpdate(java.lang.String aLastUpdate)
          This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setPrecedence(java.lang.Double aPrecedence)
          This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
 void setPrecedence(java.lang.String aPrecedence)
          This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.
 void setPublished(java.lang.Integer aPublished)
          This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
 void setPublished(java.lang.String aPublished)
          This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.
 void setSequence(java.lang.Double aSequence)
          This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setSequence(java.lang.String aSequence)
          This method provides access to the CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setStartDate(java.lang.String aStartDate)
          This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
 void setStartDate(java.sql.Timestamp aStartDate)
          This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setTaxCodeClassId(java.lang.Integer aTaxCodeClassId)
          This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER NULL.
 void setTaxCodeClassId(java.lang.String aTaxCodeClassId)
          This method provides access to the CALCODE.TXCDCLASS_ID column of DB2 type INTEGER 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

CalculationCodeAccessBean

public CalculationCodeAccessBean()

Default constructor. Maps to findByPrimaryKey.


CalculationCodeAccessBean

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

CalculationCodeAccessBean

public CalculationCodeAccessBean(java.lang.Integer aCalculationUsageId,
                                 java.lang.Integer aCalculateMethodId,
                                 java.lang.Integer aApplyMethodId,
                                 java.lang.Integer aQualifyMethodId,
                                 java.lang.Integer aStoreEntityId)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCalculateMethodId - the CalculationCodeCalculate CalculationMethod ID
aApplyMethodId - the CalculationCodeApply CalculationMethod ID
aQualifyMethodId - the CalculationCodeQualify CalculationMethod ID
aStoreEntityId - the StoreEntity ID
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

CalculationCodeAccessBean

public CalculationCodeAccessBean(java.lang.Integer aCalculationUsageId,
                                 java.lang.Integer aCalculateMethodId,
                                 java.lang.Integer aApplyMethodId,
                                 java.lang.Integer aQualifyMethodId,
                                 java.lang.Integer aStoreEntityId,
                                 java.lang.String aCode)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCalculateMethodId - the CalculationCodeCalculate CalculationMethod ID
aApplyMethodId - the CalculationCodeApply CalculationMethod ID
aQualifyMethodId - the CalculationCodeQualify CalculationMethod ID
aStoreEntityId - the StoreEntity ID
aCode - the code
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

findAllAttachedCalculationCodes

public java.util.Enumeration findAllAttachedCalculationCodes(java.lang.Integer aCalculationUsageId,
                                                             java.lang.Integer aCatalogGroupId,
                                                             java.lang.Long aContractId,
                                                             java.lang.Long aStoreId)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that are attached to the specified Contract and Offer. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.STOREENT_ID = ? AND T1.CALCODE_ID IN (SELECT OFFCNTRCOD.CALCODE_ID FROM OFFCNTRCOD WHERE
(OFFCNTRCOD.CONTRACT_ID = ? OR OFFCNTRCOD.CONTRACT_ID IS NULL)
AND (OFFCNTRCOD.OFFER_ID = ? OR OFFCNTRCOD.OFFER_ID IS NULL)) ORDER BY T1.SEQUENCE

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCatalogGroupId - the CatalogGroup ID
aContractId - the Contract ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCalculationUsageAndStoreEntity

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

Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage and StoreEntity.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.STOREENT_ID = ? ORDER BY T1.CODE

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

findByCalculationUsageAndStoreEntityAndDisplayLevel

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

Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, StoreEntity and displayLevel.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.STOREENT_ID = ? AND T1.DISPLAYLEVEL = ? ORDER BY T1.CODE

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

findByCalculationUsageAndStoreEntitySortByCode

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

Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage and StoreEntity, ordered by their codes.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.STOREENT_ID = ? ORDER BY T1.CODE

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

findByCalculationUsageCatalogEntryContractAndStore

public java.util.Enumeration findByCalculationUsageCatalogEntryContractAndStore(java.lang.Integer aCalculationUsageId,
                                                                                java.lang.Long aCatalogEntryId,
                                                                                java.lang.Long aContractId,
                                                                                java.lang.Integer aStoreId)
                                                                         throws java.rmi.RemoteException,
                                                                                javax.ejb.FinderException,
                                                                                javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry, Contract and Store. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALCODE_ID IN (SELECT CATENCALCD.CALCODE_ID FROM CATENCALCD WHERE (CATENCALCD.CATENTRY_ID = ? OR CATENCALCD.CALCODE_ID IS NULL) AND (CATENCALCD.CONTRACT_ID = ? OR CATENCALCD.CONTRACT_ID IS NULL) AND CATENCALCD.STORE_ID = ?)

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCatalogEntryId - the CatalogEntry ID
aContractId - the Contract ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCalculationUsageCatalogGroupContractAndStore

public java.util.Enumeration findByCalculationUsageCatalogGroupContractAndStore(java.lang.Integer aCalculationUsageId,
                                                                                java.lang.Long aCatalogGroupId,
                                                                                java.lang.Long aContractId,
                                                                                java.lang.Integer aStoreId)
                                                                         throws java.rmi.RemoteException,
                                                                                javax.ejb.FinderException,
                                                                                javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, CatalogGroup, Contract and Store. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.CALCODE_ID IN (SELECT CATGPCALCD.CALCODE_ID FROM CATGPCALCD WHERE CATGPCALCD.CATGROUP_ID = ? AND (CATGPCALCD.CONTRACT_ID = ? OR CATGPCALCD.CONTRACT_ID IS NULL) AND CATGPCALCD.STORE_ID = ?)

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCatalogGroupId - the CatalogGroup ID
aContractId - the Contract ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCalculationUsageCodeAndStoreEntity

public CalculationCodeAccessBean findByCalculationUsageCodeAndStoreEntity(java.lang.Integer aCalculationUsageId,
                                                                          java.lang.String aCode,
                                                                          java.lang.Integer aStoreEntityId)
                                                                   throws java.rmi.RemoteException,
                                                                          javax.ejb.FinderException,
                                                                          javax.naming.NamingException

Retrieves the CalculationCodeAccessBean that matches the specified CalculationUsage, code and StoreEntity.

The SQL query used to fetch all the required row from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.CODE = ? AND T1.STOREENT_ID = ?

Parameters:
aCalculationUsageId - the CalculationUsage ID
aCode - the code
aStoreEntityId - the StoreEntity ID
Returns:
The CalculationCodeAccessBean representing the row that matches 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

findByCalculationUsageStoreContractAndOffer

public java.util.Enumeration findByCalculationUsageStoreContractAndOffer(java.lang.Integer aCalculationUsageId,
                                                                         java.lang.Integer aStoreId,
                                                                         java.lang.Long aContractId,
                                                                         java.lang.Long aOfferId)
                                                                  throws java.rmi.RemoteException,
                                                                         javax.ejb.FinderException,
                                                                         javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CalculationUsage, Store, Contract and Offer. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ? AND T1.STOREENT_ID = ?
AND T1.CALCODE_ID IN (SELECT OFFCNTRCOD.CALCODE_ID FROM OFFCNTRCOD WHERE OFFCNTRCOD.CONTRACT_ID = ? AND OFFCNTRCOD.OFFER_ID = ?) ORDER BY T1.SEQUENCE

Parameters:
aCalculationUsageId - the CalculationUsage ID
aStoreId - the Store ID
aContractId - the Contract ID
aOfferId - the Offer ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCatalogEntryAndStoreSortByCode

public java.util.Enumeration findByCatalogEntryAndStoreSortByCode(java.lang.Long aCatalogEntryId,
                                                                  java.lang.Integer aStoreId)
                                                           throws java.rmi.RemoteException,
                                                                  javax.ejb.FinderException,
                                                                  javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry and Store. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALCODE_ID IN (SELECT CATENCALCD.CALCODE_ID FROM CATENCALCD WHERE CATENCALCD.CATENTRY_ID = ? AND CATENCALCD.STORE_ID = ?)
ORDER BY T1.CODE

Parameters:
aCatalogEntryId - the CatalogEntry ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCatalogEntryAttachments

public java.util.Enumeration findByCatalogEntryAttachments(java.lang.Integer aCalculationUsageId,
                                                           java.lang.Integer aStoreId,
                                                           java.lang.Long aTradingId,
                                                           java.lang.Long[] aCatalogEntryIds)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans directly attached to the specified CatalogEntries.

The SQL query used to fetch all the required row from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ?
T1.CALCODE_ID IN (
SELECT CATENCALCD.CALCODE_ID FROM CATENCALCD WHERE
CATENCALCD.STORE_ID = ?
AND (CATENCALCD.TRADING_ID IS NULL OR CATENCALCD.TRADING_ID = ?)
AND (CATENCALCD.CATENTRY_ID IS NULL OR CATENCALCD.CATENTRY_ID IN (?, ...)))

Parameters:
aCalculationUsageId - the CalculationUsage ID
aStoreId - the Store ID
aTradingId - the TradingAgreement ID
aCatalogEntryIds - the CatalogEntry IDs
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCatalogEntryContractAndStore

public java.util.Enumeration findByCatalogEntryContractAndStore(java.lang.Long aCatalogEntryId,
                                                                java.lang.Long aContractId,
                                                                java.lang.Integer aStoreId)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CatalogEntry, Contract and Store. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALCODE_ID IN (SELECT CATENCALCD.CALCODE_ID FROM CATENCALCD WHERE (CATENCALCD.CATENTRY_ID = ? OR CATENCALCD.CATENTRY_ID IS NULL) AND (CATENCALCD.CONTRACT_ID = ? OR CATENCALCD.CONTRACT_ID IS NULL) AND CATENCALCD.STORE_ID = ?)

Parameters:
aCatalogEntryId - the CatalogEntry ID
aContractId - the Contract ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCatalogGroupAttachments

public java.util.Enumeration findByCatalogGroupAttachments(java.lang.Integer aCalculationUsageId,
                                                           java.lang.Integer aStoreId,
                                                           java.lang.Long aTradingId,
                                                           java.lang.Long[] aCatalogEntryIds)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans indirectly attached to the specified CatalogEntries through their CatalogGroups.

The SQL query used to fetch all the required row from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALUSAGE_ID = ?
T1.CALCODE_ID IN (
SELECT CATGPCALCD.CALCODE_ID FROM CATGPCALCD WHERE
CATGPCALCD.STORE_ID = ?
AND (CATGPCALCD.TRADING_ID IS NULL OR CATGPCALCD.TRADING_ID = ?)
AND CATGPCALCD.CATGROUP_ID IN (SELECT CATGPENREL.CATGROUP_ID FROM CATGPENREL WHERE CATGPENREL.CATENTRY_ID IN (?, ...))

Parameters:
aCalculationUsageId - the CalculationUsage ID
aStoreId - the Store ID
aTradingId - the TradingAgreement ID
aCatalogEntryIds - the CatalogEntry IDs
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByCatalogGroupContractAndStore

public java.util.Enumeration findByCatalogGroupContractAndStore(java.lang.Long aCatalogGroupId,
                                                                java.lang.Long aContractId,
                                                                java.lang.Integer aStoreId)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans that match the specified CatalogGroup, Contract and Store. Reserved for IBM internal use.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALCODE_ID IN (SELECT CATGPCALCD.CALCODE_ID FROM CATGPCALCD WHERE (CATGPCALCD.CATGROUP_ID = ? OR CATGPCALCD.CALCODE_ID IS NULL) AND (CATGPCALCD.CONTRACT_ID = ? OR CATGPCALCD.CONTRACT_ID IS NULL) AND CATGPCALCD.STORE_ID = ?)

Parameters:
aCatalogGroupId - the CatalogGroup ID
aContractId - the Contract ID
aStoreId - the Store ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findByOrderItem

public java.util.Enumeration findByOrderItem(java.lang.Long aOrderItemId)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves the CalculationCodeAccessBeans directly attached to the specified OrderItem.

The SQL query used to fetch all the required rows from the CALCODE table is:
SELECT * FROM CALCODE T1 WHERE
T1.CALCODE_ID IN (SELECT ORDICALCD.CALCODE_ID FROM ORDICALCD WHERE ORDICALCD.ORDERITEMS_ID = ?)

Parameters:
aOrderItemId - the OrderItem ID
Returns:
An Enumeration of all the CalculationCodeAccessBeans 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

findDefaultCalculationCodeByStoreEntityAndCalculationUsage

public CalculationCodeAccessBean findDefaultCalculationCodeByStoreEntityAndCalculationUsage(java.lang.Integer aStoreEntityId,
                                                                                            java.lang.Integer aCalculationUsageId)
                                                                                     throws java.rmi.RemoteException,
                                                                                            javax.ejb.FinderException,
                                                                                            javax.naming.NamingException

Retrieves the default CalculationCodeAccessBeans of the specified StoreEntity and CalculationUsage.

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

Parameters:
aStoreEntityId - the StoreEntity ID
aCalculationUsageId - the CalculationUsage ID
Returns:
The CalculationCodeAccessBean representing the row that matches 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

fulfills

public boolean fulfills(java.lang.Long aFills,
                        java.lang.String aFills)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

getCalculationCodeApplyMethodId

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

This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.

Specified by:
getCalculationCodeApplyMethodId in interface CalculationCodeAccessBeanData
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

getCalculationCodeApplyMethodIdInEJBType

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

This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.

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

getCalculationCodeId

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

This method provides access to the CALCODE.CALCODE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
getCalculationCodeId in interface CalculationCodeAccessBeanData
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

getCalculationCodeIdInEJBType

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

This method provides access to the CALCODE.CALCODE_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

getCalculationCodeQualifyMethodId

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

This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.

Specified by:
getCalculationCodeQualifyMethodId in interface CalculationCodeAccessBeanData
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

getCalculationCodeQualifyMethodIdInEJBType

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

This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.

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

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

The following is a description of this column:

The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.

Specified by:
getCalculationMethodId in interface CalculationCodeAccessBeanData
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 CALCODE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.

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

The following is a description of this column:

Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.

Specified by:
getCalculationUsageId in interface CalculationCodeAccessBeanData
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 CALCODE.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.

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

getCode

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

This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.

The following is a description of this column:

A character string that uniquely identifies this CalculationCode, given a particular CalculationUsage and StoreEntity.

Specified by:
getCode in interface CalculationCodeAccessBeanData
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

getCombination

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

This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getCombination in interface CalculationCodeAccessBeanData
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

getCombinationInEJBType

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

This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER 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

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

The following is a description of this column:

A brief description of this CalculationCode, suitable for display by a user interface that manages CalculationCodes.

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

getDisplayLevel

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

This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.

Specified by:
getDisplayLevel in interface CalculationCodeAccessBeanData
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

getDisplayLevelInEJBType

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

This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.

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

getEffectiveRules

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

Retrieves the effective CalculationRuleAccessBeans, ordered by their sequences.

Returns:
An Enumeration of all the CalculationCodeAccessBeans that are effective.
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

getEndDate

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

This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode stops being effective.

Specified by:
getEndDate in interface CalculationCodeAccessBeanData
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

getEndDateInEJBType

public java.sql.Timestamp getEndDateInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode stops being effective.

Returns:
java.sql.Timestamp
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 CALCODE.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface CalculationCodeAccessBeanData
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

getFlags

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

This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.

Specified by:
getFlags in interface CalculationCodeAccessBeanData
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

getFlagsInEJBType

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

This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.

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

getGroupBy

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

This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE table: details for more information.

Specified by:
getGroupBy in interface CalculationCodeAccessBeanData
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

getGroupByInEJBType

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

This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE 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

getLastUpdate

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

This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode (including its CalculationRules) was most recently updated.

Specified by:
getLastUpdate in interface CalculationCodeAccessBeanData
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

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode (including its CalculationRules) was most recently updated.

Returns:
java.sql.Timestamp
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

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

getPrecedence

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

This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getPrecedence in interface CalculationCodeAccessBeanData
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

getPrecedenceInEJBType

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

This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

getPublished

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

This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).

Specified by:
getPublished in interface CalculationCodeAccessBeanData
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

getPublishedInEJBType

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

This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).

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

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 CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

CalculationCodes are calculated and applied in sequence from lowest to highest.

Specified by:
getSequence in interface CalculationCodeAccessBeanData
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 CALCODE.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

CalculationCodes are calculated and applied in sequence from lowest to highest.

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

getStartDate

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

This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode begins being effective.

Specified by:
getStartDate in interface CalculationCodeAccessBeanData
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

getStartDateInEJBType

public java.sql.Timestamp getStartDateInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode begins being effective.

Returns:
java.sql.Timestamp
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 CALCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCode is part of this StoreEntity.

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

The following is a description of this column:

The CalculationCode is part of this StoreEntity.

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

getTaxCodeClassId

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

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

The following is a description of this column:

For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.

Specified by:
getTaxCodeClassId in interface CalculationCodeAccessBeanData
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

getTaxCodeClassIdInEJBType

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

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

The following is a description of this column:

For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.

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

setCalculationCodeApplyMethodId

public void setCalculationCodeApplyMethodId(java.lang.Integer aCalculationCodeApplyMethodId)

This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.

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

setCalculationCodeApplyMethodId

public void setCalculationCodeApplyMethodId(java.lang.String aCalculationCodeApplyMethodId)

This method provides access to the CALCODE.CALMETHOD_ID_APP column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeApplyMethod that stores the calculated amount for the associated OrderItems.

Specified by:
setCalculationCodeApplyMethodId in interface CalculationCodeAccessBeanData
Parameters:
aCalculationCodeApplyMethodId - java.lang.String
Returns:
void

setCalculationCodeQualifyMethodId

public void setCalculationCodeQualifyMethodId(java.lang.Integer aCalculationCodeQualifyMethodId)

This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.

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

setCalculationCodeQualifyMethodId

public void setCalculationCodeQualifyMethodId(java.lang.String aCalculationCodeQualifyMethodId)

This method provides access to the CALCODE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationCodeQualifyMethod that defines which OrderItems are associated with this CalculationCode.

Specified by:
setCalculationCodeQualifyMethodId in interface CalculationCodeAccessBeanData
Parameters:
aCalculationCodeQualifyMethodId - java.lang.String
Returns:
void

setCalculationMethodId

public void setCalculationMethodId(java.lang.Integer aCalculationMethodId)

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

The following is a description of this column:

The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.

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

setCalculationMethodId

public void setCalculationMethodId(java.lang.String aCalculationMethodId)

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

The following is a description of this column:

The CalculationCodeCalculateMethod that defines how to calculate a monetary amount for this CalculationCode.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer aCalculationUsageId)

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

The following is a description of this column:

Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.String aCalculationUsageId)

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

The following is a description of this column:

Indicates the kind of calculation this CalculationCode is used for. For example, the CalculationCode may be used to calculate one of the following monetary amounts: discounts, shipping charges, sales tax, or shipping tax.

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

setCode

public void setCode(java.lang.String aCode)

This method provides access to the CALCODE.CODE column of DB2 type CHAR(128) NOT NULL.

The following is a description of this column:

A character string that uniquely identifies this CalculationCode, given a particular CalculationUsage and StoreEntity.

Specified by:
setCode in interface CalculationCodeAccessBeanData
Parameters:
aCode - java.lang.String
Returns:
void

setCombination

public void setCombination(java.lang.Integer aCombination)

This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setCombination

public void setCombination(java.lang.String aCombination)

This method provides access to the CALCODE.COMBINATION column of DB2 type INTEGER NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setCombination in interface CalculationCodeAccessBeanData
Parameters:
aCombination - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

A brief description of this CalculationCode, suitable for display by a user interface that manages CalculationCodes.

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

setDisplayLevel

public void setDisplayLevel(java.lang.Integer aDisplayLevel)

This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.

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

setDisplayLevel

public void setDisplayLevel(java.lang.String aDisplayLevel)

This method provides access to the CALCODE.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Amounts calculated by this CalculationCode should be displayed with each:
0 = OrderItem
1 = Order
2 = Product
3 = Item
4 = Contract.

Specified by:
setDisplayLevel in interface CalculationCodeAccessBeanData
Parameters:
aDisplayLevel - java.lang.String
Returns:
void

setEndDate

public void setEndDate(java.lang.String aEndDate)

This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode stops being effective.

Specified by:
setEndDate in interface CalculationCodeAccessBeanData
Parameters:
aEndDate - java.lang.String
Returns:
void

setEndDate

public void setEndDate(java.sql.Timestamp aEndDate)

This method provides access to the CALCODE.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode stops being effective.

Parameters:
aEndDate - java.sql.Timestamp
Returns:
void

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface CalculationCodeAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setFlags

public void setFlags(java.lang.Integer aFlags)

This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.

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

setFlags

public void setFlags(java.lang.String aFlags)

This method provides access to the CALCODE.FLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether the CalculationCodeQualifyMethod of this CalculationCode should be invoked.
0 = unrestricted. The method will not be invoked.
1 = restricted. The method will be invoked.

Specified by:
setFlags in interface CalculationCodeAccessBeanData
Parameters:
aFlags - java.lang.String
Returns:
void

setGroupBy

public void setGroupBy(java.lang.Integer aGroupBy)

This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE table: details for more information.

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

setGroupBy

public void setGroupBy(java.lang.String aGroupBy)

This method provides access to the CALCODE.GROUPBY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags indicating to the CalculationCodeCombineMethod how OrderItems should be grouped when performing calculations. Refer to CALCODE table: details for more information.

Specified by:
setGroupBy in interface CalculationCodeAccessBeanData
Parameters:
aGroupBy - java.lang.String
Returns:
void

setInitKey_calculationCodeId

public void setInitKey_calculationCodeId(java.lang.String aInitKey_calculationCodeId)

Set the primary key for this object

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

setLastUpdate

public void setLastUpdate(java.lang.String aLastUpdate)

This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode (including its CalculationRules) was most recently updated.

Specified by:
setLastUpdate in interface CalculationCodeAccessBeanData
Parameters:
aLastUpdate - java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the CALCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode (including its CalculationRules) was most recently updated.

Parameters:
aLastUpdate - java.sql.Timestamp
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Double aPrecedence)

This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setPrecedence

public void setPrecedence(java.lang.String aPrecedence)

This method provides access to the CALCODE.PRECEDENCE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setPrecedence in interface CalculationCodeAccessBeanData
Parameters:
aPrecedence - java.lang.String
Returns:
void

setPublished

public void setPublished(java.lang.Integer aPublished)

This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).

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

setPublished

public void setPublished(java.lang.String aPublished)

This method provides access to the CALCODE.PUBLISHED column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the calculation code is published:
0 = not published (temporarily disabled).
1 = published.
2 = marked for deletion (and not published).

Specified by:
setPublished in interface CalculationCodeAccessBeanData
Parameters:
aPublished - java.lang.String
Returns:
void

setSequence

public void setSequence(java.lang.Double aSequence)

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

The following is a description of this column:

CalculationCodes are calculated and applied in sequence from lowest to highest.

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

setSequence

public void setSequence(java.lang.String aSequence)

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

The following is a description of this column:

CalculationCodes are calculated and applied in sequence from lowest to highest.

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

setStartDate

public void setStartDate(java.lang.String aStartDate)

This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode begins being effective.

Specified by:
setStartDate in interface CalculationCodeAccessBeanData
Parameters:
aStartDate - java.lang.String
Returns:
void

setStartDate

public void setStartDate(java.sql.Timestamp aStartDate)

This method provides access to the CALCODE.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this CalculationCode begins being effective.

Parameters:
aStartDate - java.sql.Timestamp
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

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

The following is a description of this column:

The CalculationCode is part of this StoreEntity.

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

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

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

The following is a description of this column:

The CalculationCode is part of this StoreEntity.

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

setTaxCodeClassId

public void setTaxCodeClassId(java.lang.Integer aTaxCodeClassId)

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

The following is a description of this column:

For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.

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

setTaxCodeClassId

public void setTaxCodeClassId(java.lang.String aTaxCodeClassId)

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

The following is a description of this column:

For Taxation CalculationCodes, the TaxCodeClassification, if any, associated with this CalculationCode.

Specified by:
setTaxCodeClassId in interface CalculationCodeAccessBeanData
Parameters:
aTaxCodeClassId - java.lang.String
Returns:
void