java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.SubOrderAccessBean
Each row of this table contains subtotals of amounts for all the OrderItems of an Order with the same shipping address. This access bean corresponds to the database table 'SUBORDERS'.
Constructor Summary | |
SubOrderAccessBean() Zero argument constructor used to initialize the access bean. |
|
SubOrderAccessBean(javax.ejb.EJBObject o) constructor |
|
SubOrderAccessBean(java.lang.Long argOrderId, java.lang.Long argAddressId) 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 | findByOrder(java.lang.Long argOrderReferenceNumber)
Retrieves suborders for the specified order.
The SQL query used to fetch all the required rows from the SUBORDERS table is: SELECT * FROM SUBORDERS T1 WHERE (T1.ORDERS_ID = ?) |
java.util.Enumeration | findByOrderForUpdate(java.lang.Long order)
Retrieves suborders for the specified order.
The SQL query used to fetch all the required rows from the SUBORDERS table is: SELECT * FROM SUBORDERS T1 WHERE (T1.ORDERS_ID = ?) FOR UPDATE |
java.util.Enumeration | findWithPushDownQuery(java.lang.String query) Retrieves suborders identified by the specified WHERE clause. |
java.lang.String | getAddressId() This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT. |
java.lang.Long | getAddressIdInEJBType() This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT. |
java.lang.String | getCurrency() This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10). |
java.lang.String | getField1() This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER. |
java.lang.Integer | getField1InEJBType() This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER. |
java.lang.String | getField2() This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getField2InEJBType() This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20 5). |
java.lang.String | getField3() This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254). |
java.lang.String | getOrderId() This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getProductTotal() This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getProductTotalInEJBType() This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String | getShippingTaxTotal() This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getShippingTaxTotalInEJBType() This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String | getShippingTotal() This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getShippingTotalInEJBType() This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String | getSuborderId() This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getSuborderIdInEJBType() This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getTaxCountry() This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30). |
java.lang.String | getTaxTotal() This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getTaxTotalInEJBType() This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.lang.String | getTotalAdjustment() This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
java.math.BigDecimal | getTotalAdjustmentInEJBType() This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAddressId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setAddressId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setField1(java.lang.Integer 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_suborderId(java.lang.String newValue) Set the primary key for this object |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void | setProductTotal(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setProductTotal(java.lang.String newValue) This method accesses a non-CMP field |
void | setShippingTaxTotal(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setShippingTaxTotal(java.lang.String newValue) This method accesses a non-CMP field |
void | setShippingTotal(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setShippingTotal(java.lang.String newValue) This method accesses a non-CMP field |
void | setTaxCountry(java.lang.String newValue) This method accesses a non-CMP field |
void | setTaxTotal(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setTaxTotal(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 SubOrderAccessBean()
public SubOrderAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public SubOrderAccessBean(java.lang.Long argOrderId, java.lang.Long argAddressId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findByOrder(java.lang.Long argOrderReferenceNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves suborders for the specified order.
The SQL query used to fetch all the required rows from the SUBORDERS table is:
SELECT * FROM SUBORDERS T1 WHERE (T1.ORDERS_ID = ?)
public java.util.Enumeration findWithPushDownQuery(java.lang.String query) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves suborders identified by the specified WHERE clause.
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 getTaxTotal() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public java.math.BigDecimal getTaxTotalInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public void setTaxTotal(java.lang.String newValue)
public void setTaxTotal(java.math.BigDecimal newValue)
public java.lang.String getShippingTaxTotal() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public java.math.BigDecimal getShippingTaxTotalInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.SHIPTAXAMOUNT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public void setShippingTaxTotal(java.lang.String newValue)
public void setShippingTaxTotal(java.math.BigDecimal newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10).
The following is a description of this column:
The currency for monetary amounts in the SubOrder. This is a currency code as per ISO 4217 standards.
public void setCurrency(java.lang.String 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 SUBORDERS.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 SUBORDERS.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 SUBORDERS.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 SUBORDERS.FIELD1 column of DB2 type INTEGER.
The following is a description of this column:
Customizable.
public java.lang.Integer getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER.
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public void setField1(java.lang.Integer newValue)
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public void setOrderId(java.lang.String newValue)
public void setOrderId(java.lang.Long newValue)
public java.lang.String getProductTotal() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TOTALPRODUCT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public java.math.BigDecimal getProductTotalInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TOTALPRODUCT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public void setProductTotal(java.lang.String newValue)
public void setProductTotal(java.math.BigDecimal newValue)
public java.lang.String getShippingTotal() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.SHIPCHARGE for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public java.math.BigDecimal getShippingTotalInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.SHIPCHARGE for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public void setShippingTotal(java.lang.String newValue)
public void setShippingTotal(java.math.BigDecimal newValue)
public java.lang.String getSuborderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getSuborderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getAddressId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT.
The following is a description of this column:
The shipping address.
public java.lang.Long getAddressIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT.
The following is a description of this column:
The shipping address.
public void setAddressId(java.lang.String newValue)
public void setAddressId(java.lang.Long newValue)
public java.lang.String getTotalAdjustment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TOTALADJUSTMENT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public java.math.BigDecimal getTotalAdjustmentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0.
The following is a description of this column:
The total of ORDERITEMS.TOTALADJUSTMENT for all the OrderItems with the same shipping address as the SubOrder, in the Currency specified by CURRENCY.
public void setTotalAdjustment(java.lang.String newValue)
public void setTotalAdjustment(java.math.BigDecimal newValue)
public java.lang.String getTaxCountry() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30).
The following is a description of this column:
Customizable.
public void setTaxCountry(java.lang.String newValue)
public java.util.Enumeration findByOrderForUpdate(java.lang.Long order) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves suborders for the specified order.
The SQL query used to fetch all the required rows from the SUBORDERS table is:
SELECT * FROM SUBORDERS T1 WHERE (T1.ORDERS_ID = ?) FOR UPDATE
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.