com.ibm.commerce.order.objects
Class SubOrderAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.SubOrderAccessBean
All Implemented Interfaces:
java.io.Serializable, SubOrderAccessBeanData

public class SubOrderAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements SubOrderAccessBeanData

This bean provides access to the SUBORDERS table.

The following is a description of this table:

Each row of this table contains subtotals of amounts for all the OrderItems of an Order with the same shipping address.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
SubOrderAccessBean()
          Default constructor.
SubOrderAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
SubOrderAccessBean(java.lang.Long anOrderId, java.lang.Long anAddressId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
SubOrderAccessBean(com.ibm.commerce.order.objects.SubOrderKey aOrderAccessBean1)
          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).
 java.util.Enumeration findByOrder(java.lang.Long anOrder)
          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 findWithPushDownQuery(java.lang.String astrWithPushDownQuery)
          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 NULL.
 java.lang.Long getAddressIdInEJBType()
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.
 java.lang.String getCurrency()
          This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.
 java.lang.String getField1()
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 java.lang.Integer getField1InEJBType()
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 java.lang.String getField2()
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getField2InEJBType()
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField3()
          This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.
 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) NULL.
 java.math.BigDecimal getProductTotalInEJBType()
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getShippingTaxTotal()
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getShippingTaxTotalInEJBType()
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getShippingTotal()
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getShippingTotalInEJBType()
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 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) NULL.
 java.lang.String getTaxTotal()
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getTaxTotalInEJBType()
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getTotalAdjustment()
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getTotalAdjustmentInEJBType()
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAddressId(java.lang.Long aAddressId)
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.
 void setAddressId(java.lang.String aAddressId)
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.
 void setField1(java.lang.Integer aField1)
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.
 void setField2(java.math.BigDecimal aField2)
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_suborderId(java.lang.String aInitKey_suborderId)
          Set the primary key for this object
 void setOrderId(java.lang.Long aOrderId)
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String aOrderId)
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setProductTotal(java.math.BigDecimal aProductTotal)
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20,5) NULL.
 void setProductTotal(java.lang.String aProductTotal)
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTaxTotal(java.math.BigDecimal aShippingTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTaxTotal(java.lang.String aShippingTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTotal(java.math.BigDecimal aShippingTotal)
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setShippingTotal(java.lang.String aShippingTotal)
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20,5) NULL.
 void setTaxCountry(java.lang.String aTaxCountry)
          This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.
 void setTaxTotal(java.math.BigDecimal aTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20,5) NULL.
 void setTaxTotal(java.lang.String aTaxTotal)
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20,5) NULL.
 void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20,5) NULL.
 void setTotalAdjustment(java.lang.String aTotalAdjustment)
          This method provides access to the SUBORDERS.TOTALADJUSTMENT 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

SubOrderAccessBean

public SubOrderAccessBean()

Default constructor. Maps to findByPrimaryKey.


SubOrderAccessBean

public SubOrderAccessBean(javax.ejb.EJBObject object)
                   throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

SubOrderAccessBean

public SubOrderAccessBean(java.lang.Long anOrderId,
                          java.lang.Long anAddressId)
                   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

Parameters:
anOrderId - java.lang.Long The order this suborder is part of.
anAddressId - java.lang.Long The shipping address.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

SubOrderAccessBean

public SubOrderAccessBean(com.ibm.commerce.order.objects.SubOrderKey aOrderAccessBean1)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aOrderAccessBean1 - com.ibm.commerce.order.objects.SubOrderKey
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

findByOrder

public java.util.Enumeration findByOrder(java.lang.Long anOrder)
                                  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 = ?)

Parameters:
anOrder - java.lang.Long The order this suborder is part of
Returns:
java.util.Enumeration An Enumeration of all the SubOrderAccessBean objects 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

findWithPushDownQuery

public java.util.Enumeration findWithPushDownQuery(java.lang.String astrWithPushDownQuery)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves suborders identified by the specified WHERE clause.

Parameters:
astrWithPushDownQuery - java.lang.String The WHERE clause string.
Returns:
java.util.Enumeration
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

getAddressId

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 NULL.

The following is a description of this column:

The shipping address.

Specified by:
getAddressId in interface SubOrderAccessBeanData
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

getAddressIdInEJBType

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 NULL.

The following is a description of this column:

The shipping address.

Returns:
java.lang.Long
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

getCurrency

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) NULL.

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.

Specified by:
getCurrency in interface SubOrderAccessBeanData
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

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 SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface SubOrderAccessBeanData
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.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 NULL.

The following is a description of this column:

Customizable.

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

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

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface SubOrderAccessBeanData
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 SUBORDERS.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 SUBORDERS.FIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

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

getOrderId

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.

Specified by:
getOrderId in interface SubOrderAccessBeanData
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

getOrderIdInEJBType

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.

Returns:
java.lang.Long
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

getProductTotal

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) NULL.

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.

Specified by:
getProductTotal in interface SubOrderAccessBeanData
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

getProductTotalInEJBType

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) NULL.

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.

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

getShippingTaxTotal

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) NULL.

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.

Specified by:
getShippingTaxTotal in interface SubOrderAccessBeanData
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

getShippingTaxTotalInEJBType

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) NULL.

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.

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

getShippingTotal

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) NULL.

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.

Specified by:
getShippingTotal in interface SubOrderAccessBeanData
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

getShippingTotalInEJBType

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) NULL.

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.

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

getSuborderId

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.

Specified by:
getSuborderId in interface SubOrderAccessBeanData
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

getSuborderIdInEJBType

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.

Returns:
java.lang.Long
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

getTaxCountry

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) NULL.

The following is a description of this column:

Customizable.

Specified by:
getTaxCountry in interface SubOrderAccessBeanData
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

getTaxTotal

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) NULL.

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.

Specified by:
getTaxTotal in interface SubOrderAccessBeanData
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

getTaxTotalInEJBType

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) NULL.

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.

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

getTotalAdjustment

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) NULL.

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.

Specified by:
getTotalAdjustment in interface SubOrderAccessBeanData
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

getTotalAdjustmentInEJBType

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) NULL.

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.

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

setAddressId

public void setAddressId(java.lang.Long aAddressId)

This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The shipping address.

Parameters:
aAddressId - java.lang.Long
Returns:
void

setAddressId

public void setAddressId(java.lang.String aAddressId)

This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The shipping address.

Specified by:
setAddressId in interface SubOrderAccessBeanData
Parameters:
aAddressId - java.lang.String
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10) NULL.

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.

Specified by:
setCurrency in interface SubOrderAccessBeanData
Parameters:
aCurrency - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.Integer aField1)

This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String aField1)

This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.math.BigDecimal aField2)

This method provides access to the SUBORDERS.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 SUBORDERS.FIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

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

setField3

public void setField3(java.lang.String aField3)

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

The following is a description of this column:

Customizable.

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

setInitKey_suborderId

public void setInitKey_suborderId(java.lang.String aInitKey_suborderId)

Set the primary key for this object

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

setOrderId

public void setOrderId(java.lang.Long aOrderId)

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.

Parameters:
aOrderId - java.lang.Long
Returns:
void

setOrderId

public void setOrderId(java.lang.String aOrderId)

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.

Specified by:
setOrderId in interface SubOrderAccessBeanData
Parameters:
aOrderId - java.lang.String
Returns:
void

setProductTotal

public void setProductTotal(java.math.BigDecimal aProductTotal)

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

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.

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

setProductTotal

public void setProductTotal(java.lang.String aProductTotal)

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

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.

Specified by:
setProductTotal in interface SubOrderAccessBeanData
Parameters:
aProductTotal - java.lang.String
Returns:
void

setShippingTaxTotal

public void setShippingTaxTotal(java.math.BigDecimal aShippingTaxTotal)

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

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.

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

setShippingTaxTotal

public void setShippingTaxTotal(java.lang.String aShippingTaxTotal)

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

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.

Specified by:
setShippingTaxTotal in interface SubOrderAccessBeanData
Parameters:
aShippingTaxTotal - java.lang.String
Returns:
void

setShippingTotal

public void setShippingTotal(java.math.BigDecimal aShippingTotal)

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

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.

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

setShippingTotal

public void setShippingTotal(java.lang.String aShippingTotal)

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

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.

Specified by:
setShippingTotal in interface SubOrderAccessBeanData
Parameters:
aShippingTotal - java.lang.String
Returns:
void

setTaxCountry

public void setTaxCountry(java.lang.String aTaxCountry)

This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30) NULL.

The following is a description of this column:

Customizable.

Specified by:
setTaxCountry in interface SubOrderAccessBeanData
Parameters:
aTaxCountry - java.lang.String
Returns:
void

setTaxTotal

public void setTaxTotal(java.math.BigDecimal aTaxTotal)

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

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.

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

setTaxTotal

public void setTaxTotal(java.lang.String aTaxTotal)

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

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.

Specified by:
setTaxTotal in interface SubOrderAccessBeanData
Parameters:
aTaxTotal - java.lang.String
Returns:
void

setTotalAdjustment

public void setTotalAdjustment(java.math.BigDecimal aTotalAdjustment)

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

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.

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

setTotalAdjustment

public void setTotalAdjustment(java.lang.String aTotalAdjustment)

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

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.

Specified by:
setTotalAdjustment in interface SubOrderAccessBeanData
Parameters:
aTotalAdjustment - java.lang.String
Returns:
void