com.ibm.commerce.fulfillment.objects
Class CalculationRangeAccessBean

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

public class CalculationRangeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CalculationRangeAccessBeanData

This bean provides access to the CALRANGE table.

The following is a description of this table:

Each row of this table represents a CalculationRange, which conceptually represents a row in a CalculationScale.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CalculationRangeAccessBean()
          Default constructor.
CalculationRangeAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
CalculationRangeAccessBean(java.lang.Integer aCalculationScaleId, java.math.BigDecimal aRangeStart, java.lang.Integer aCalculationMethodId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByCalculationScale(java.lang.Integer aCalculationScaleId)
          Retrieves the CalculationRangeAccessBeans of the specified CalculationScale.
 java.util.Enumeration findByCalculationScaleAndLookupNumber(java.lang.Integer aCalculationScaleId, java.lang.Double aLookupNumber)
          Retrieves the CalculationRangeAccessBeans that match the specified CalculationScale and lookup number.
 java.lang.String getCalculationMethodId()
          This method provides access to the CALRANGE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationMethodIdInEJBType()
          This method provides access to the CALRANGE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationRangeId()
          This method provides access to the CALRANGE.CALRANGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationRangeIdInEJBType()
          This method provides access to the CALRANGE.CALRANGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCalculationScaleId()
          This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getCalculationScaleIdInEJBType()
          This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.
 java.lang.String getCumulative()
          This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCumulativeInEJBType()
          This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.
 java.lang.String getField1()
          This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField1InEJBType()
          This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField2()
          This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField2InEJBType()
          This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField3()
          This method provides access to the CALRANGE.FIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getRangeStart()
          This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getRangeStartInEJBType()
          This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
          This method provides access to the CALRANGE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationMethodId(java.lang.String aCalculationMethodId)
          This method provides access to the CALRANGE.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationScaleId(java.lang.Integer aCalculationScaleId)
          This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.
 void setCalculationScaleId(java.lang.String aCalculationScaleId)
          This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.
 void setCumulative(java.lang.Integer aCumulative)
          This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.
 void setCumulative(java.lang.String aCumulative)
          This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.
 void setField1(java.math.BigDecimal aField1)
          This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setField2(java.math.BigDecimal aField2)
          This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the CALRANGE.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_calculationRangeId(java.lang.String aInitKey_calculationRangeId)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setRangeStart(java.math.BigDecimal aRangeStart)
          This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.
 void setRangeStart(java.lang.String aRangeStart)
          This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) 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

CalculationRangeAccessBean

public CalculationRangeAccessBean()

Default constructor. Maps to findByPrimaryKey.


CalculationRangeAccessBean

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

CalculationRangeAccessBean

public CalculationRangeAccessBean(java.lang.Integer aCalculationScaleId,
                                  java.math.BigDecimal aRangeStart,
                                  java.lang.Integer aCalculationMethodId)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  java.rmi.RemoteException

Creates an access bean with the specified attributes.

Parameters:
aCalculationScaleId - the CalculationScale ID
aRangeStart - the range start
aCalculationMethodId - the CalculationMethod ID
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException 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

findByCalculationScale

public java.util.Enumeration findByCalculationScale(java.lang.Integer aCalculationScaleId)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

Retrieves the CalculationRangeAccessBeans of the specified CalculationScale.

The SQL query used to fetch all the required rows from the CALRANGE table is:
SELECT * FROM CALRANGE T1 WHERE
T1.CALSCALE_ID = ? ORDER BY T1.RANGESTART

Parameters:
aCalculationScaleId - the CalculationScale ID
Returns:
An Enumeration of all the CalculationScaleAccessBeans 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

findByCalculationScaleAndLookupNumber

public java.util.Enumeration findByCalculationScaleAndLookupNumber(java.lang.Integer aCalculationScaleId,
                                                                   java.lang.Double aLookupNumber)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException

Retrieves the CalculationRangeAccessBeans that match the specified CalculationScale and lookup number.

The SQL query used to fetch all the required rows from the CALRANGE table is:
SELECT * FROM CALRANGE T1 WHERE
T1.CALSCALE_ID = ? AND T1.RANGESTART <= ? ORDER BY T1.RANGESTART

Parameters:
aCalculationScaleId - the CalculationScale ID
aLookupNumber - the lookup number
Returns:
An Enumeration of all the CalculationScaleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCalculationMethodId

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

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

The following is a description of this column:

The CalculationRangeMethod that determines a monetary amount from the CalculationRangeLookupResult. For example, FixedAmountCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, or PercentageCalculationRangeCmd.

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

The following is a description of this column:

The CalculationRangeMethod that determines a monetary amount from the CalculationRangeLookupResult. For example, FixedAmountCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, or PercentageCalculationRangeCmd.

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

getCalculationRangeId

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

This method provides access to the CALRANGE.CALRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
getCalculationRangeId in interface CalculationRangeAccessBeanData
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

getCalculationRangeIdInEJBType

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

This method provides access to the CALRANGE.CALRANGE_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

getCalculationScaleId

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

This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationScale of which this CalculationRange is a part.

Specified by:
getCalculationScaleId in interface CalculationRangeAccessBeanData
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

getCalculationScaleIdInEJBType

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

This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationScale of which this CalculationRange is a part.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCumulative

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

This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Valid values:
0 = only the matching CalculationRange with the highest RANGESTART value is used.
1 = all matching CalculationRanges are used. The calculated monetary amounts are summed to arrive at the final result.

Specified by:
getCumulative in interface CalculationRangeAccessBeanData
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

getCumulativeInEJBType

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

This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Valid values:
0 = only the matching CalculationRange with the highest RANGESTART value is used.
1 = all matching CalculationRanges are used. The calculated monetary amounts are summed to arrive at the final result.

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

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 CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

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

getField1InEJBType

public java.math.BigDecimal getField1InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
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

getField2

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

This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface CalculationRangeAccessBeanData
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

getField2InEJBType

public java.math.BigDecimal getField2InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
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

getField3

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

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

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface CalculationRangeAccessBeanData
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

getMarkForDelete

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

This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getMarkForDelete in interface CalculationRangeAccessBeanData
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

getMarkForDeleteInEJBType

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

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

getRangeStart

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

This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

If a lookup number is greater than or equal to RANGESTART, or if RANGESTART is NULL, this row matches the lookup number.

Specified by:
getRangeStart in interface CalculationRangeAccessBeanData
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

getRangeStartInEJBType

public java.math.BigDecimal getRangeStartInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

If a lookup number is greater than or equal to RANGESTART, or if RANGESTART is NULL, this row matches the lookup number.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCalculationMethodId

public void setCalculationMethodId(java.lang.Integer aCalculationMethodId)

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

The following is a description of this column:

The CalculationRangeMethod that determines a monetary amount from the CalculationRangeLookupResult. For example, FixedAmountCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, or PercentageCalculationRangeCmd.

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

setCalculationMethodId

public void setCalculationMethodId(java.lang.String aCalculationMethodId)

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

The following is a description of this column:

The CalculationRangeMethod that determines a monetary amount from the CalculationRangeLookupResult. For example, FixedAmountCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, or PercentageCalculationRangeCmd.

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

setCalculationScaleId

public void setCalculationScaleId(java.lang.Integer aCalculationScaleId)

This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationScale of which this CalculationRange is a part.

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

setCalculationScaleId

public void setCalculationScaleId(java.lang.String aCalculationScaleId)

This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationScale of which this CalculationRange is a part.

Specified by:
setCalculationScaleId in interface CalculationRangeAccessBeanData
Parameters:
aCalculationScaleId - java.lang.String
Returns:
void

setCumulative

public void setCumulative(java.lang.Integer aCumulative)

This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Valid values:
0 = only the matching CalculationRange with the highest RANGESTART value is used.
1 = all matching CalculationRanges are used. The calculated monetary amounts are summed to arrive at the final result.

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

setCumulative

public void setCumulative(java.lang.String aCumulative)

This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Valid values:
0 = only the matching CalculationRange with the highest RANGESTART value is used.
1 = all matching CalculationRanges are used. The calculated monetary amounts are summed to arrive at the final result.

Specified by:
setCumulative in interface CalculationRangeAccessBeanData
Parameters:
aCumulative - java.lang.String
Returns:
void

setField1

public void setField1(java.math.BigDecimal aField1)

This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField1 - java.math.BigDecimal
Returns:
void

setField1

public void setField1(java.lang.String aField1)

This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.math.BigDecimal aField2)

This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField2 - java.math.BigDecimal
Returns:
void

setField2

public void setField2(java.lang.String aField2)

This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface CalculationRangeAccessBeanData
Parameters:
aField2 - java.lang.String
Returns:
void

setField3

public void setField3(java.lang.String aField3)

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

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface CalculationRangeAccessBeanData
Parameters:
aField3 - java.lang.String
Returns:
void

setInitKey_calculationRangeId

public void setInitKey_calculationRangeId(java.lang.String aInitKey_calculationRangeId)

Set the primary key for this object

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setMarkForDelete in interface CalculationRangeAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
Returns:
void

setRangeStart

public void setRangeStart(java.math.BigDecimal aRangeStart)

This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

If a lookup number is greater than or equal to RANGESTART, or if RANGESTART is NULL, this row matches the lookup number.

Parameters:
aRangeStart - java.math.BigDecimal
Returns:
void

setRangeStart

public void setRangeStart(java.lang.String aRangeStart)

This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

If a lookup number is greater than or equal to RANGESTART, or if RANGESTART is NULL, this row matches the lookup number.

Specified by:
setRangeStart in interface CalculationRangeAccessBeanData
Parameters:
aRangeStart - java.lang.String
Returns:
void