|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.TradingDepositAmountAccessBean
This bean provides access to the TRDDEPAMT table.
The following is a description of this table:
This table is used to keep track of Deposited Amounts by Trading Agreements, by Orders or OrderItems.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TradingDepositAmountAccessBean()
Default constructor. |
|
TradingDepositAmountAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
TradingDepositAmountAccessBean(java.lang.Long tradingId,
java.lang.Long orderId,
java.math.BigDecimal depositAmount)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
TradingDepositAmountAccessBean(java.lang.Long tradingId,
java.lang.Long orderId,
java.lang.Long orderItemsId,
java.math.BigDecimal depositAmount,
java.lang.String currency)
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.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) NULL. |
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 NULL. |
java.lang.Long |
getOrderItemIdInEJBType()
This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal aAmount)
This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setAmount(java.lang.String aAmount)
This method provides access to the TRDDEPAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the TRDDEPAMT.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setInitKey_tradingDepositAmountId(java.lang.String aInitKey_tradingDepositAmountId)
Set the primary key for this object |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId)
This method provides access to the TRDDEPAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL. |
void |
setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL. |
void |
setTradingDepositAmountId(java.lang.Long aTradingDepositAmountId)
This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingDepositAmountId(java.lang.String aTradingDepositAmountId)
This method provides access to the TRDDEPAMT.TRDDEPAMT_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String aTradingId)
This method provides access to the TRDDEPAMT.TRADING_ID column of DB2 type BIGINT NOT 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 |
public TradingDepositAmountAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TradingDepositAmountAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TradingDepositAmountAccessBean(java.lang.Long tradingId, java.lang.Long orderId, java.math.BigDecimal depositAmount) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
tradingId
- The internal ID of the Trading Agreement.orderId
- The ID of the order.depositAmount
- The deposit amount.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TradingDepositAmountAccessBean(java.lang.Long tradingId, java.lang.Long orderId, java.lang.Long orderItemsId, java.math.BigDecimal depositAmount, java.lang.String currency) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
tradingId
- The internal ID of the Trading Agreement.orderId
- The ID of the order.orderItemsId
- The ID of the orderItems within the order.depositAmount
- The deposit amount.currency
- The currency of the amount.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 Trading Agreement. The amount is in the default currency of the Store to which the Order belongs.
getAmount
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 Trading Agreement. The amount is in the default currency of the Store to which the Order belongs.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
The following is a description of this column:
Currency of the Amount field. (Alphabetic currency code as per ISO 4217.)
getCurrency
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getOrderId
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
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.)
getOrderItemId
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
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.)
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getTradingDepositAmountId
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 Trading Agreement. Foreign key to the TRADING table.
getTradingId
in interface TradingDepositAmountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 Trading Agreement. Foreign key to the TRADING table.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAmount(java.math.BigDecimal aAmount)
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 Trading Agreement. The amount is in the default currency of the Store to which the Order belongs.
aAmount
- java.math.BigDecimalpublic void setAmount(java.lang.String aAmount)
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 Trading Agreement. The amount is in the default currency of the Store to which the Order belongs.
setAmount
in interface TradingDepositAmountAccessBeanData
aAmount
- java.lang.Stringpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the TRDDEPAMT.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Currency of the Amount field. (Alphabetic currency code as per ISO 4217.)
setCurrency
in interface TradingDepositAmountAccessBeanData
aCurrency
- java.lang.Stringpublic void setInitKey_tradingDepositAmountId(java.lang.String aInitKey_tradingDepositAmountId)
Set the primary key for this object
aInitKey_tradingDepositAmountId
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
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.
aOrderId
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId)
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.
setOrderId
in interface TradingDepositAmountAccessBeanData
aOrderId
- java.lang.Stringpublic void setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL.
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.)
aOrderItemId
- java.lang.Longpublic void setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the TRDDEPAMT.ORDERITEMS_ID column of DB2 type BIGINT NULL.
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.)
setOrderItemId
in interface TradingDepositAmountAccessBeanData
aOrderItemId
- java.lang.Stringpublic void setTradingDepositAmountId(java.lang.Long aTradingDepositAmountId)
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.
aTradingDepositAmountId
- java.lang.Longpublic void setTradingDepositAmountId(java.lang.String aTradingDepositAmountId)
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.
setTradingDepositAmountId
in interface TradingDepositAmountAccessBeanData
aTradingDepositAmountId
- java.lang.Stringpublic void setTradingId(java.lang.Long aTradingId)
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 Trading Agreement. Foreign key to the TRADING table.
aTradingId
- java.lang.Longpublic void setTradingId(java.lang.String aTradingId)
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 Trading Agreement. Foreign key to the TRADING table.
setTradingId
in interface TradingDepositAmountAccessBeanData
aTradingId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |