java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.CalculationRangeAccessBean
Each row of this table represents a CalculationRange, which conceptually represents a row in a CalculationScale. This access bean corresponds to the database table 'CALRANGE'.
Constructor Summary | |
CalculationRangeAccessBean() Zero argument constructor used to initialize the access bean. |
|
CalculationRangeAccessBean(java.lang.Integer calculationScaleId, java.math.BigDecimal rangeStart, java.lang.Integer calMethodId) Creates an access bean with the specified attributes. |
|
CalculationRangeAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCalculationScale(java.lang.Integer calculationScaleId) Retrieves the CalculationRangeAccessBeans of the specified CalculationScale. |
java.util.Enumeration | findByCalculationScaleAndLookupNumber(java.lang.Integer calculationScaleId, java.lang.Double lookupNumber) 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. |
java.lang.Integer | getCalculationScaleIdInEJBType() This method provides access to the CALRANGE.CALSCALE_ID column of DB2 type INTEGER. |
java.lang.String | getCumulative() This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getCumulativeInEJBType() This method provides access to the CALRANGE.CUMULATIVE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getField1() This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getField1InEJBType() This method provides access to the CALRANGE.FIELD1 column of DB2 type DECIMAL(20 5). |
java.lang.String | getField2() This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getField2InEJBType() This method provides access to the CALRANGE.FIELD2 column of DB2 type DECIMAL(20 5). |
java.lang.String | getField3() This method provides access to the CALRANGE.FIELD3 column of DB2 type VARCHAR(254). |
java.lang.String | getMarkForDelete() This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the CALRANGE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getRangeStart() This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getRangeStartInEJBType() This method provides access to the CALRANGE.RANGESTART column of DB2 type DECIMAL(20 5). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCalculationMethodId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationMethodId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationScaleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationScaleId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCumulative(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCumulative(java.lang.String newValue) This method accesses a non-CMP field |
void | setField1(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setField2(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setField3(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_calculationRangeId(java.lang.String newValue) Set the primary key for this object |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setRangeStart(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setRangeStart(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CalculationRangeAccessBean()
public CalculationRangeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CalculationRangeAccessBean(java.lang.Integer calculationScaleId, java.math.BigDecimal rangeStart, java.lang.Integer calMethodId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByCalculationScale(java.lang.Integer calculationScaleId) 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
public java.util.Enumeration findByCalculationScaleAndLookupNumber(java.lang.Integer calculationScaleId, java.lang.Double lookupNumber) 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
public void setInitKey_calculationRangeId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
The following is a description of this column:
The CalculationScale of which this CalculationRange is a part.
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.
The following is a description of this column:
The CalculationScale of which this CalculationRange is a part.
public void setCalculationScaleId(java.lang.String newValue)
public void setCalculationScaleId(java.lang.Integer newValue)
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 DEFAULT 0.
The following is a description of this column:
Reserved for IBM internal use.
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 DEFAULT 0.
The following is a description of this column:
Reserved for IBM internal use.
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
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).
The following is a description of this column:
Customizable.
public void setField3(java.lang.String newValue)
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).
The following is a description of this column:
Customizable.
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).
The following is a description of this column:
Customizable.
public void setField2(java.lang.String newValue)
public void setField2(java.math.BigDecimal newValue)
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).
The following is a description of this column:
Customizable.
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).
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public void setField1(java.math.BigDecimal newValue)
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.
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.
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).
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.
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).
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.
public void setRangeStart(java.lang.String newValue)
public void setRangeStart(java.math.BigDecimal newValue)
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.
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.
public void setCalculationMethodId(java.lang.String newValue)
public void setCalculationMethodId(java.lang.Integer newValue)
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 DEFAULT 0.
The following is a description of this column:
Valid values:&l
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 DEFAULT 0.
The following is a description of this column:
Valid values:&l
public void setCumulative(java.lang.String newValue)
public void setCumulative(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.