java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.payment.objects.TradingRefundAmountAccessBean
This table is used to keep track of Refund Amounts by Trading Agreements, by Orders and by RMA ID. Entries are created only for Trading Agreement with Right-to-Buy by Amount or Obligation-to-Buy by Amount Terms and Conditions. This access bean corresponds to the database table 'TRDREFAMT'.
Constructor Summary | |
TradingRefundAmountAccessBean() Zero argument constructor used to initialize the access bean. |
|
TradingRefundAmountAccessBean(javax.ejb.EJBObject o) constructor |
|
TradingRefundAmountAccessBean(java.lang.Long newTradingId, java.lang.Long newRmaId, java.lang.Long newOrderId, java.math.BigDecimal newAmount) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
TradingRefundAmountAccessBean(java.lang.Long newTradingId, java.lang.Long newRmaId, java.lang.Long newOrderId, java.math.BigDecimal newAmount, java.lang.String newCurrency) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.lang.String | getAmount() This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
java.math.BigDecimal | getAmountInEJBType() This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
java.lang.String | getCurrency() This method provides access to the TRDREFAMT.SETCCURR column of DB2 type CHAR(3). |
java.lang.String | getOrderId() This method provides access to the TRDREFAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the TRDREFAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRmaId() This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getRmaIdInEJBType() This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getTradingId() This method provides access to the TRDREFAMT.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getTradingIdInEJBType() This method provides access to the TRDREFAMT.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 accesses a non-CMP field |
void | setAmount(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orderId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_rmaId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_tradingId(java.lang.String newValue) Set the primary key for this object |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRmaId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRmaId(java.lang.String newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TradingRefundAmountAccessBean()
public TradingRefundAmountAccessBean(java.lang.Long newTradingId, java.lang.Long newRmaId, java.lang.Long newOrderId, java.math.BigDecimal newAmount) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public TradingRefundAmountAccessBean(java.lang.Long newTradingId, java.lang.Long newRmaId, java.lang.Long newOrderId, java.math.BigDecimal newAmount, java.lang.String newCurrency) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public TradingRefundAmountAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method 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).
protected java.lang.String defaultJNDIName()
public java.lang.String getAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Total Refund Amount for this Trading Agreement for this RMA and Order. The amount is in the same currency of the Right-to-Buy Amount and Obligation-to-Buy Amount.
public java.math.BigDecimal getAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Total Refund Amount for this Trading Agreement for this RMA and Order. The amount is in the same currency of the Right-to-Buy Amount and Obligation-to-Buy Amount.
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.SETCCURR column of DB2 type CHAR(3).
The following is a description of this column:
Currency of the Amount field. This is a currency code as per ISO 4217 standards.
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.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.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.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.
public java.lang.String getRmaId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the Return Merchandise Authorization (RMA).
public java.lang.Long getRmaIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the Return Merchandise Authorization (RMA).
public java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.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.
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDREFAMT.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.
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public void setAmount(java.lang.String newValue)
public void setAmount(java.math.BigDecimal newValue)
public void setCurrency(java.lang.String newValue)
public void setInitKey_orderId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_rmaId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_tradingId(java.lang.String newValue)
Set the primary key for this object
public void setOrderId(java.lang.Long newValue)
public void setOrderId(java.lang.String newValue)
public void setRmaId(java.lang.Long newValue)
public void setRmaId(java.lang.String newValue)
public void setTradingId(java.lang.Long newValue)
public void setTradingId(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.