|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.fulfillment.objects.CalculationRuleAccessBean
This bean provides access to the CALRULE table.
The following is a description of this table:
Each row in this table represents a CalculationRule, defining how to arrive at a monetary amount for a set of OrderItems.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CalculationRuleAccessBean()
Default constructor. |
|
CalculationRuleAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
CalculationRuleAccessBean(java.lang.Integer aCalculationCodeId,
java.lang.Integer aCalculateMethodId,
java.lang.Integer aQualifyMethodId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByCalculationCode(java.lang.Integer aCalculationCodeId)
Retrieves the CalculationRuleAccessBeans of the specified CalculationCode. |
java.util.Enumeration |
findByStoreSortedByEndDate(java.lang.Integer aStoreId)
Retrieves the CalculationRuleAccessBeans that match the specified Store. |
java.util.Enumeration |
findByStoreSortedByStartDate(java.lang.Integer aStoreId)
Retrieves the CalculationRuleAccessBeans that match the specified Store. |
java.util.Enumeration |
findEffectiveRulesByCalculationCodeSortByRuleSequence(java.lang.Integer aCalculationCodeId)
Retrieves the effective CalculationRuleAccessBeans of the specified CalculationCode, ordered by their sequence values. |
java.lang.String |
getCalculationCodeId()
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationCodeIdInEJBType()
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationMethodId()
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationMethodIdInEJBType()
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationRuleId()
This method provides access to the CALRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleIdInEJBType()
This method provides access to the CALRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationRuleQualifyMethodId()
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationRuleQualifyMethodIdInEJBType()
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCombination()
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCombinationInEJBType()
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getEndDate()
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getEndDateInEJBType()
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getField1()
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL. |
java.math.BigDecimal |
getField1InEJBType()
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL. |
java.lang.String |
getField2()
This method provides access to the CALRULE.FIELD2 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getFlags()
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getFlagsInEJBType()
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getIdentifier()
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getIdentifierInEJBType()
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getSequence()
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
java.lang.Double |
getSequenceInEJBType()
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
java.lang.String |
getStartDate()
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getStartDateInEJBType()
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTaxCategoryId()
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getTaxCategoryIdInEJBType()
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCalculationCodeId(java.lang.Integer aCalculationCodeId)
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationCodeId(java.lang.String aCalculationCodeId)
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationMethodId(java.lang.String aCalculationMethodId)
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationRuleQualifyMethodId(java.lang.Integer aCalculationRuleQualifyMethodId)
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
void |
setCalculationRuleQualifyMethodId(java.lang.String aCalculationRuleQualifyMethodId)
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL. |
void |
setCombination(java.lang.Integer aCombination)
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL. |
void |
setCombination(java.lang.String aCombination)
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL. |
void |
setEndDate(java.lang.String aEndDate)
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL. |
void |
setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL. |
void |
setField1(java.math.BigDecimal aField1)
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL. |
void |
setField1(java.lang.String aField1)
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL. |
void |
setField2(java.lang.String aField2)
This method provides access to the CALRULE.FIELD2 column of DB2 type VARCHAR(254) NULL. |
void |
setFlags(java.lang.Integer aFlags)
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL. |
void |
setFlags(java.lang.String aFlags)
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL. |
void |
setIdentifier(java.lang.Integer aIdentifier)
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL. |
void |
setIdentifier(java.lang.String aIdentifier)
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_calculationRuleId(java.lang.String aInitKey_calculationRuleId)
Set the primary key for this object |
void |
setSequence(java.lang.Double aSequence)
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
void |
setSequence(java.lang.String aSequence)
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
void |
setStartDate(java.lang.String aStartDate)
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL. |
void |
setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL. |
void |
setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL. |
void |
setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the CALRULE.TAXCGRY_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 |
public CalculationRuleAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CalculationRuleAccessBean(javax.ejb.EJBObject aEJBObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB.
aEJBObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic CalculationRuleAccessBean(java.lang.Integer aCalculationCodeId, java.lang.Integer aCalculateMethodId, java.lang.Integer aQualifyMethodId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Creates an access bean with the specified attributes.
aCalculationScaleId
- the CalculationScale IDaCalculationCodeId
- the CalculationCode IDaCalculateMethodId
- the CalculationRuleCalculate CalculationMethod IDaQualifyMethodId
- the CalculationRuleQualify CalculationMethod IDjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCalculationCode(java.lang.Integer aCalculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans of the specified CalculationCode.
The SQL query used to fetch all the required rows from the
CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID = ?
aCalculationCodeId
- the CalculationCode IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreSortedByEndDate(java.lang.Integer aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans that match the specified Store. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the
CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID IN (SELECT CALCODE.CALCODE_ID FROM CALCODE WHERE CALCODE.STOREENT_ID = ?) ORDER BY T1.ENDDATE
aStoreId
- the Store IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreSortedByStartDate(java.lang.Integer aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the CalculationRuleAccessBeans that match the specified Store. Reserved for IBM internal use.
The SQL query used to fetch all the required rows from the
CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID IN (SELECT CALCODE.CALCODE_ID FROM CALCODE WHERE CALCODE.STOREENT_ID = ?) ORDER BY T1.STARTDATE
aStoreId
- the Store IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findEffectiveRulesByCalculationCodeSortByRuleSequence(java.lang.Integer aCalculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the effective CalculationRuleAccessBeans of the specified CalculationCode, ordered by their sequence values.
The SQL query used to fetch all the required rows from the
CALRULE table is:
SELECT * FROM CALRULE T1 WHERE
T1.CALCODE_ID = ? AND (T1.STARTDATE <= CURRENT TIMESTAMP OR T1.ENDDATE IS NULL) AND (T1.ENDDATE >= CURRENT TIMESTAMP OR T1.ENDDATE IS NULL) ORDER BY T1.SEQUENCE
aCalculationCodeId
- the CalculationCode IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode of which this CalculationRule is a part.
getCalculationCodeId
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode of which this CalculationRule is a part.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCalculationMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleCalculateMethod that calculates a monetary result for a set of OrderItems.
getCalculationMethodId
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCalculationMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleCalculateMethod that calculates a monetary result for a set of OrderItems.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCalculationRuleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
getCalculationRuleId
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCalculationRuleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALRULE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique identifier.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCalculationRuleQualifyMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleQualifyMethod that determines which of a set of OrderItems should be sent to the CalculationRuleCalculateMethod.
getCalculationRuleQualifyMethodId
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCalculationRuleQualifyMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleQualifyMethod that determines which of a set of OrderItems should be sent to the CalculationRuleCalculateMethod.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCombination() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies the bit flag to indicate special processing to be performed by the default CalculationRuleCombineMethod implementation. Refer to CALRULE table: details for more information.
getCombination
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCombinationInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies the bit flag to indicate special processing to be performed by the default CalculationRuleCombineMethod implementation. Refer to CALRULE table: details for more information.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule stops being effective.
getEndDate
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.sql.Timestamp getEndDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule stops being effective.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
Customizable.
getField1
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.math.BigDecimal getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
Customizable.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.FIELD2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
getField2
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getFlags() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Used by CalculationRuleCombineMethod to determine how this CalculationRule may be combined with other CalculationRules. Refer to CALRULE table: details for more information.
getFlags
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getFlagsInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Used by CalculationRuleCombineMethod to determine how this CalculationRule may be combined with other CalculationRules. Refer to CALRULE table: details for more information.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL.
IBM internal use only.
getIdentifier
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getIdentifierInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL.
IBM internal use only.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationRules for the same CalculationCode are processed in sequence from lowest to highest value.
getSequence
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Double getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationRules for the same CalculationCode are processed in sequence from lowest to highest value.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule begins being effective.
getStartDate
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.sql.Timestamp getStartDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule begins being effective.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For TaxType CalculationUsages, the TaxCategory for which this CalculationRule is effective.
getTaxCategoryId
in interface CalculationRuleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For TaxType CalculationUsages, the TaxCategory for which this CalculationRule is effective.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCalculationCodeId(java.lang.Integer aCalculationCodeId)
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode of which this CalculationRule is a part.
aCalculationCodeId
- java.lang.Integerpublic void setCalculationCodeId(java.lang.String aCalculationCodeId)
This method provides access to the CALRULE.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode of which this CalculationRule is a part.
setCalculationCodeId
in interface CalculationRuleAccessBeanData
aCalculationCodeId
- java.lang.Stringpublic void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleCalculateMethod that calculates a monetary result for a set of OrderItems.
aCalculationMethodId
- java.lang.Integerpublic void setCalculationMethodId(java.lang.String aCalculationMethodId)
This method provides access to the CALRULE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleCalculateMethod that calculates a monetary result for a set of OrderItems.
setCalculationMethodId
in interface CalculationRuleAccessBeanData
aCalculationMethodId
- java.lang.Stringpublic void setCalculationRuleQualifyMethodId(java.lang.Integer aCalculationRuleQualifyMethodId)
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleQualifyMethod that determines which of a set of OrderItems should be sent to the CalculationRuleCalculateMethod.
aCalculationRuleQualifyMethodId
- java.lang.Integerpublic void setCalculationRuleQualifyMethodId(java.lang.String aCalculationRuleQualifyMethodId)
This method provides access to the CALRULE.CALMETHOD_ID_QFY column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationRuleQualifyMethod that determines which of a set of OrderItems should be sent to the CalculationRuleCalculateMethod.
setCalculationRuleQualifyMethodId
in interface CalculationRuleAccessBeanData
aCalculationRuleQualifyMethodId
- java.lang.Stringpublic void setCombination(java.lang.Integer aCombination)
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies the bit flag to indicate special processing to be performed by the default CalculationRuleCombineMethod implementation. Refer to CALRULE table: details for more information.
aCombination
- java.lang.Integerpublic void setCombination(java.lang.String aCombination)
This method provides access to the CALRULE.COMBINATION column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Specifies the bit flag to indicate special processing to be performed by the default CalculationRuleCombineMethod implementation. Refer to CALRULE table: details for more information.
setCombination
in interface CalculationRuleAccessBeanData
aCombination
- java.lang.Stringpublic void setEndDate(java.lang.String aEndDate)
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule stops being effective.
setEndDate
in interface CalculationRuleAccessBeanData
aEndDate
- java.lang.Stringpublic void setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the CALRULE.ENDDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule stops being effective.
aEndDate
- java.sql.Timestamppublic void setField1(java.math.BigDecimal aField1)
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
Customizable.
aField1
- java.math.BigDecimalpublic void setField1(java.lang.String aField1)
This method provides access to the CALRULE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
The following is a description of this column:
Customizable.
setField1
in interface CalculationRuleAccessBeanData
aField1
- java.lang.Stringpublic void setField2(java.lang.String aField2)
This method provides access to the CALRULE.FIELD2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
setField2
in interface CalculationRuleAccessBeanData
aField2
- java.lang.Stringpublic void setFlags(java.lang.Integer aFlags)
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Used by CalculationRuleCombineMethod to determine how this CalculationRule may be combined with other CalculationRules. Refer to CALRULE table: details for more information.
aFlags
- java.lang.Integerpublic void setFlags(java.lang.String aFlags)
This method provides access to the CALRULE.FLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Used by CalculationRuleCombineMethod to determine how this CalculationRule may be combined with other CalculationRules. Refer to CALRULE table: details for more information.
setFlags
in interface CalculationRuleAccessBeanData
aFlags
- java.lang.Stringpublic void setIdentifier(java.lang.Integer aIdentifier)
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL.
IBM internal use only.
aIdentifier
- java.lang.Integerpublic void setIdentifier(java.lang.String aIdentifier)
This method provides access to the CALRULE.identifier column of DB2 type INTEGER NOT NULL.
IBM internal use only.
setIdentifier
in interface CalculationRuleAccessBeanData
aIdentifier
- java.lang.Stringpublic void setInitKey_calculationRuleId(java.lang.String aInitKey_calculationRuleId)
Set the primary key for this object
aInitKey_calculationRuleId
- java.lang.Stringpublic void setSequence(java.lang.Double aSequence)
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationRules for the same CalculationCode are processed in sequence from lowest to highest value.
aSequence
- java.lang.Doublepublic void setSequence(java.lang.String aSequence)
This method provides access to the CALRULE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
CalculationRules for the same CalculationCode are processed in sequence from lowest to highest value.
setSequence
in interface CalculationRuleAccessBeanData
aSequence
- java.lang.Stringpublic void setStartDate(java.lang.String aStartDate)
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule begins being effective.
setStartDate
in interface CalculationRuleAccessBeanData
aStartDate
- java.lang.Stringpublic void setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the CALRULE.STARTDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this CalculationRule begins being effective.
aStartDate
- java.sql.Timestamppublic void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For TaxType CalculationUsages, the TaxCategory for which this CalculationRule is effective.
aTaxCategoryId
- java.lang.Integerpublic void setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the CALRULE.TAXCGRY_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
For TaxType CalculationUsages, the TaxCategory for which this CalculationRule is effective.
setTaxCategoryId
in interface CalculationRuleAccessBeanData
aTaxCategoryId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |