java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
SubOrderAdjustmentAccessBean() constructor | |
SubOrderAdjustmentAccessBean(javax.ejb.EJBObject o) constructor | |
SubOrderAdjustmentAccessBean(java.lang.Long arg0,
java.lang.Long arg1) constructor | |
SubOrderAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.math.BigDecimal arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findBySubOrder(java.lang.Long arg0) 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 provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSubOrderId(java.lang.String newValue) This method provides access to the SUBORDADJ.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setTotalAdjustment(java.math.BigDecimal newValue) This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
void |
setTotalAdjustment(java.lang.String newValue) This method provides access to the SUBORDADJ.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public SubOrderAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
public SubOrderAdjustmentAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.math.BigDecimal arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.math.BigDecimaljavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findBySubOrder(java.lang.Long arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_orderAdjustmentId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_subOrderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getSubOrderId
in interface
SubOrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setSubOrderId(java.lang.String newValue)
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.
setSubOrderId
in interface
SubOrderAdjustmentAccessBeanData
newValue
- Stringpublic void setSubOrderId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getOrderAdjustmentId
in interface
SubOrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getTotalAdjustment
in interface
SubOrderAdjustmentAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTotalAdjustment(java.lang.String newValue)
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.
setTotalAdjustment
in interface
SubOrderAdjustmentAccessBeanData
newValue
- Stringpublic void setTotalAdjustment(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimal