com.ibm.commerce.payment.objects
Class TradingDepositAmountAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.payment.objects.TradingDepositAmountAccessBean
All Implemented Interfaces:
TradingDepositAmountAccessBeanData

public class TradingDepositAmountAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TradingDepositAmountAccessBeanData

This table is used to keep track of deposited amounts by TradingAgreements, by Orders or OrderItems.

See Also:
Serialized Form

Constructor Summary
TradingDepositAmountAccessBean()
          constructor
TradingDepositAmountAccessBean(javax.ejb.EJBObject o)
          constructor
TradingDepositAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.math.BigDecimal arg2)
          constructor
TradingDepositAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2, java.math.BigDecimal arg3, java.lang.String arg4)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.lang.String getAmount()
          This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 java.math.BigDecimal getAmountInEJBType()
          This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the TRDDEPAMT.SETCCURR column of DB2 type CHAR(3).
 java.lang.String getOrderId()
          This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderIdInEJBType()
          This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrderItemId()
          This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.
 java.lang.Long getOrderItemIdInEJBType()
          This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.
 java.lang.String getTradingDepositAmountId()
          This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingDepositAmountIdInEJBType()
          This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTradingId()
          This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradingIdInEJBType()
          This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAmount(java.math.BigDecimal newValue)
          This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 void setAmount(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 void setCurrency(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.SETCCURR column of DB2 type CHAR(3).
 void setInitKey_tradingDepositAmountId(java.lang.String newValue)
          Set the primary key for this object
 void setOrderId(java.lang.Long newValue)
          This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderItemId(java.lang.Long newValue)
          This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.
 void setOrderItemId(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.
 void setTradingDepositAmountId(java.lang.Long newValue)
          This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.
 void setTradingDepositAmountId(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.
 void setTradingId(java.lang.Long newValue)
          This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
 void setTradingId(java.lang.String newValue)
          This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradingDepositAmountAccessBean

public TradingDepositAmountAccessBean()
constructor

TradingDepositAmountAccessBean

public TradingDepositAmountAccessBean(java.lang.Long arg0,
                                      java.lang.Long arg1,
                                      java.lang.Long arg2,
                                      java.math.BigDecimal arg3,
                                      java.lang.String arg4)
                               throws javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException,
                                      java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
arg2 - java.lang.Long
arg3 - java.math.BigDecimal
arg4 - java.lang.String
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException

TradingDepositAmountAccessBean

public TradingDepositAmountAccessBean(java.lang.Long arg0,
                                      java.lang.Long arg1,
                                      java.math.BigDecimal arg2)
                               throws javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException,
                                      java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
arg2 - java.math.BigDecimal
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException

TradingDepositAmountAccessBean

public TradingDepositAmountAccessBean(javax.ejb.EJBObject o)
                               throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
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).

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

defaultJNDIName

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

getAmount

public java.lang.String getAmount()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The deposited amount for the Order or OrderItem for this TradingAgreement. The amount is in the default currency of the Store to which the Order belongs.

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

getAmountInEJBType

public java.math.BigDecimal getAmountInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The deposited amount for the Order or OrderItem for this TradingAgreement. The amount is in the default currency of the Store to which the Order belongs.

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

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 TRDDEPAMT.SETCCURR column of DB2 type CHAR(3).

The following is a description of this column:

Currency of the AMOUNT column. This is an alphabetic currency code as per ISO 4217.

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

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 TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID. Foreign key to the ORDERS table.

Specified by:
getOrderId in interface TradingDepositAmountAccessBeanData
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 TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID. Foreign key to the ORDERS table.

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

getOrderItemId

public java.lang.String getOrderItemId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. (Foreign key to the ORDERITEMS table.)

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

getOrderItemIdInEJBType

public java.lang.Long getOrderItemIdInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. (Foreign key to the ORDERITEMS table.)

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

getTradingDepositAmountId

public java.lang.String getTradingDepositAmountId()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

getTradingDepositAmountIdInEJBType

public java.lang.Long getTradingDepositAmountIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

getTradingId

public java.lang.String getTradingId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the TradingAgreement. Foreign key to the TRADING table.

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

getTradingIdInEJBType

public java.lang.Long getTradingIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the TradingAgreement. Foreign key to the TRADING table.

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

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

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

setAmount

public void setAmount(java.lang.String newValue)

This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The deposited amount for the Order or OrderItem for this TradingAgreement. The amount is in the default currency of the Store to which the Order belongs.

Specified by:
setAmount in interface TradingDepositAmountAccessBeanData
Parameters:
newValue - String
Returns:
void

setAmount

public void setAmount(java.math.BigDecimal newValue)

This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The deposited amount for the Order or OrderItem for this TradingAgreement. The amount is in the default currency of the Store to which the Order belongs.

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

setCurrency

public void setCurrency(java.lang.String newValue)

This method provides access to the TRDDEPAMT.SETCCURR column of DB2 type CHAR(3).

The following is a description of this column:

Currency of the AMOUNT column. This is an alphabetic currency code as per ISO 4217.

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

setInitKey_tradingDepositAmountId

public void setInitKey_tradingDepositAmountId(java.lang.String newValue)

Set the primary key for this object

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

setOrderId

public void setOrderId(java.lang.Long newValue)

This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID. Foreign key to the ORDERS table.

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

setOrderId

public void setOrderId(java.lang.String newValue)

This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID. Foreign key to the ORDERS table.

Specified by:
setOrderId in interface TradingDepositAmountAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrderItemId

public void setOrderItemId(java.lang.Long newValue)

This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. (Foreign key to the ORDERITEMS table.)

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

setOrderItemId

public void setOrderItemId(java.lang.String newValue)

This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the OrderItem. This is set to null if all the OrderItems of the Order specify the same Trading ID. (Foreign key to the ORDERITEMS table.)

Specified by:
setOrderItemId in interface TradingDepositAmountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTradingDepositAmountId

public void setTradingDepositAmountId(java.lang.Long newValue)

This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

setTradingDepositAmountId

public void setTradingDepositAmountId(java.lang.String newValue)

This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Specified by:
setTradingDepositAmountId in interface TradingDepositAmountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTradingId

public void setTradingId(java.lang.Long newValue)

This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the TradingAgreement. Foreign key to the TRADING table.

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

setTradingId

public void setTradingId(java.lang.String newValue)

This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the TradingAgreement. Foreign key to the TRADING table.

Specified by:
setTradingId in interface TradingDepositAmountAccessBeanData
Parameters:
newValue - String
Returns:
void