java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.SubOrderAdjustmentAccessBean
Each row of this table represents a subtotal of all the OrderItemAdjustment amounts in an OrderAdjustment whose OrderItems have the same shipping address. This access bean corresponds to the database table 'SUBORDADJ'.
Constructor Summary | |
SubOrderAdjustmentAccessBean() Zero argument constructor used to initialize the access bean. |
|
SubOrderAdjustmentAccessBean(javax.ejb.EJBObject o) constructor |
|
SubOrderAdjustmentAccessBean(java.lang.Long orderAdjustmentId, java.lang.Long subOrderId) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
SubOrderAdjustmentAccessBean(java.lang.Long orderAdjustmentId, java.lang.Long subOrderId, java.math.BigDecimal totalAdjustment) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOrderAdjustmentIdForUpdate(java.lang.Long adjustmentId) Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder. |
java.util.Enumeration | findBySubOrder(java.lang.Long subOrderId) Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder. |
java.util.Enumeration | findBySubOrderForUpdate(java.lang.Long subOrder) Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder. |
java.lang.String | getOrderAdjustmentId() This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderAdjustmentIdInEJBType() This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getSubOrderId() This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getSubOrderIdInEJBType() This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getTotalAdjustment() This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getTotalAdjustmentInEJBType() This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_orderAdjustmentId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_subOrderId(java.lang.String newValue) Set the primary key for this object |
void | setSubOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setSubOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void | setTotalAdjustment(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setTotalAdjustment(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 SubOrderAdjustmentAccessBean()
public SubOrderAdjustmentAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public SubOrderAdjustmentAccessBean(java.lang.Long orderAdjustmentId, java.lang.Long subOrderId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public SubOrderAdjustmentAccessBean(java.lang.Long orderAdjustmentId, java.lang.Long subOrderId, java.math.BigDecimal totalAdjustment) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findBySubOrder(java.lang.Long subOrderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder.
The SQL query used to fetch all the required rows from the SUBORDADJ table is:
SELECT * FROM SUBORDADJ T1 WHERE (T1.SUBORDER_ID = ?)
public void setInitKey_orderAdjustmentId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_subOrderId(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 getSubOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
public java.lang.Long getSubOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder, representing all OrderItems with a particular shipping address.
public void setSubOrderId(java.lang.String newValue)
public void setSubOrderId(java.lang.Long newValue)
public java.lang.String getOrderAdjustmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment.
public java.lang.Long getOrderAdjustmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderAdjustment.
public java.lang.String getTotalAdjustment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
public java.math.BigDecimal getTotalAdjustmentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of the OrderItemAdjustment amounts in the OrderAdjustment for all the OrderItems in the SubOrder.
public void setTotalAdjustment(java.lang.String newValue)
public void setTotalAdjustment(java.math.BigDecimal newValue)
public java.util.Enumeration findBySubOrderForUpdate(java.lang.Long subOrder) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder.
The SQL query used to fetch all the required rows from the SUBORDADJ table is:
SELECT * FROM SUBORDADJ T1 WHERE (T1.SUBORDER_ID = ?) FOR UPDATE
public java.util.Enumeration findByOrderAdjustmentIdForUpdate(java.lang.Long adjustmentId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves subtotals of all the OrderItemAdjustment amounts in an OrderAdjustment for OrderItems in the specified suborder.
The SQL query used to fetch all the required rows from the SUBORDADJ table is:
SELECT * FROM SUBORDADJ T1 WHERE (T1.ORDADJUST_ID = ?) FOR UPDATE
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.