com.ibm.commerce.order.objects
Class SubOrderAccessBean

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

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

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

Constructor Summary
SubOrderAccessBean()
          constructor
SubOrderAccessBean(javax.ejb.EJBObject o)
          constructor
SubOrderAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByOrder(java.lang.Long arg0)           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 arg0)
          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 provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT.
 void setAddressId(java.lang.String newValue)
          This method provides access to the SUBORDERS.ADDRESS_ID column of DB2 type BIGINT.
 void setCurrency(java.lang.String newValue)
          This method provides access to the SUBORDERS.CURRENCY column of DB2 type CHAR(10).
 void setField1(java.lang.Integer newValue)
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER.
 void setField1(java.lang.String newValue)
          This method provides access to the SUBORDERS.FIELD1 column of DB2 type INTEGER.
 void setField2(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20 5).
 void setField2(java.lang.String newValue)
          This method provides access to the SUBORDERS.FIELD2 column of DB2 type DECIMAL(20 5).
 void setField3(java.lang.String newValue)
          This method provides access to the SUBORDERS.FIELD3 column of DB2 type VARCHAR(254).
 void setInitKey_suborderId(java.lang.String newValue)
          Set the primary key for this object
 void setOrderId(java.lang.Long newValue)
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String newValue)
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setProductTotal(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setProductTotal(java.lang.String newValue)
          This method provides access to the SUBORDERS.TOTALPRODUCT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setShippingTaxTotal(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setShippingTaxTotal(java.lang.String newValue)
          This method provides access to the SUBORDERS.TOTALTAXSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setShippingTotal(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setShippingTotal(java.lang.String newValue)
          This method provides access to the SUBORDERS.TOTALSHIPPING column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTaxCountry(java.lang.String newValue)
          This method provides access to the SUBORDERS.COUNTRY column of DB2 type CHAR(30).
 void setTaxTotal(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTaxTotal(java.lang.String newValue)
          This method provides access to the SUBORDERS.TOTALTAX column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTotalAdjustment(java.math.BigDecimal newValue)
          This method provides access to the SUBORDERS.TOTALADJUSTMENT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTotalAdjustment(java.lang.String newValue)
          This method provides access to the SUBORDERS.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

SubOrderAccessBean

public SubOrderAccessBean()
constructor

SubOrderAccessBean

public SubOrderAccessBean(javax.ejb.EJBObject o)
                   throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

SubOrderAccessBean

public SubOrderAccessBean(java.lang.Long arg0,
                          java.lang.Long arg1)
                   throws javax.naming.NamingException,
                          javax.ejb.CreateException,
                          javax.ejb.FinderException,
                          java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail

findByOrder

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

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

findWithPushDownQuery

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

Retrieves suborders identified by the specified WHERE clause.

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_suborderId

public void setInitKey_suborderId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Specified by:
getTaxTotal in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxTotal

public void setTaxTotal(java.lang.String newValue)

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.

Specified by:
setTaxTotal in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setTaxTotal

public void setTaxTotal(java.math.BigDecimal newValue)

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.

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

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

Specified by:
getShippingTaxTotal in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShippingTaxTotal

public void setShippingTaxTotal(java.lang.String newValue)

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.

Specified by:
setShippingTaxTotal in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setShippingTaxTotal

public void setShippingTaxTotal(java.math.BigDecimal newValue)

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.

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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

public void setCurrency(java.lang.String newValue)

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.

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

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

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface SubOrderAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

public void setField3(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

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

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

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setField2

public void setField2(java.math.BigDecimal newValue)

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

The following is a description of this column:

Customizable.

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

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.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setField1

public void setField1(java.lang.Integer newValue)

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

The following is a description of this column:

Customizable.

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrderId

public void setOrderId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setOrderId

public void setOrderId(java.lang.Long newValue)

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

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

Specified by:
getProductTotal in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setProductTotal

public void setProductTotal(java.lang.String newValue)

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.

Specified by:
setProductTotal in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setProductTotal

public void setProductTotal(java.math.BigDecimal newValue)

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.

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

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

Specified by:
getShippingTotal in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShippingTotal

public void setShippingTotal(java.lang.String newValue)

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.

Specified by:
setShippingTotal in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setShippingTotal

public void setShippingTotal(java.math.BigDecimal newValue)

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.

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

The shipping address.

Specified by:
getAddressId in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

The shipping address.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAddressId

public void setAddressId(java.lang.String newValue)

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.

Specified by:
setAddressId in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setAddressId

public void setAddressId(java.lang.Long newValue)

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.

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

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

Specified by:
getTotalAdjustment in interface SubOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTotalAdjustment

public void setTotalAdjustment(java.lang.String newValue)

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.

Specified by:
setTotalAdjustment in interface SubOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setTotalAdjustment

public void setTotalAdjustment(java.math.BigDecimal newValue)

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.

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

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

The following is a description of this column:

Customizable.

Specified by:
getTaxCountry in interface SubOrderAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxCountry

public void setTaxCountry(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

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