|
||||||||
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.TradingRefundAmountAccessBean
This bean provides access to the TRDREFAMT table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TradingRefundAmountAccessBean()
Default constructor. |
|
TradingRefundAmountAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
TradingRefundAmountAccessBean(java.lang.Long tradingID,
java.lang.Long aRMAId,
java.lang.Long orderId,
java.math.BigDecimal refundAmount)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
TradingRefundAmountAccessBean(java.lang.Long tradingID,
java.lang.Long aRMAId,
java.lang.Long orderId,
java.math.BigDecimal refundAmount,
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 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) NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal aAmount)
This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setAmount(java.lang.String aAmount)
This method provides access to the TRDREFAMT.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the TRDREFAMT.SETCCURR column of DB2 type CHAR(3) NULL. |
void |
setInitKey_orderId(java.lang.String aInitKey_orderId)
Set the primary key for this object |
void |
setInitKey_rmaId(java.lang.String aInitKey_rmaId)
Set the primary key for this object |
void |
setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the TRDREFAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId)
This method provides access to the TRDREFAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.Long aRmaId)
This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.String aRmaId)
This method provides access to the TRDREFAMT.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDREFAMT.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String aTradingId)
This method provides access to the TRDREFAMT.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 TradingRefundAmountAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TradingRefundAmountAccessBean(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 TradingRefundAmountAccessBean(java.lang.Long tradingID, java.lang.Long aRMAId, java.lang.Long orderId, java.math.BigDecimal refundAmount) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
tradingID
- The internal ID of the Trading Agreement.aRMAId
- The internal ID of the Return Merchandise Authorization.orderId
- The ID of the Order.refundAmount
- The refund amount.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TradingRefundAmountAccessBean(java.lang.Long tradingID, java.lang.Long aRMAId, java.lang.Long orderId, java.math.BigDecimal refundAmount, java.lang.String currency) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
tradingID
- The internal ID of the Trading Agreement.aRMAId
- The internal ID of the Return Merchandise Authorization.orderId
- The ID of the Order.refundAmount
- The refund amount.currency
- The currency of the amount.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 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.
getAmount
in interface TradingRefundAmountAccessBeanData
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 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.
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 TRDREFAMT.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Currency of the Amount field. This is a currency code as per ISO 4217 standards.
getCurrency
in interface TradingRefundAmountAccessBeanData
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 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.
getOrderId
in interface TradingRefundAmountAccessBeanData
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 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.
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 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).
getRmaId
in interface TradingRefundAmountAccessBeanData
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 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).
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 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.
getTradingId
in interface TradingRefundAmountAccessBeanData
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 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.
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 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.
aAmount
- java.math.BigDecimalpublic void setAmount(java.lang.String aAmount)
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.
setAmount
in interface TradingRefundAmountAccessBeanData
aAmount
- java.lang.Stringpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the TRDREFAMT.SETCCURR column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Currency of the Amount field. This is a currency code as per ISO 4217 standards.
setCurrency
in interface TradingRefundAmountAccessBeanData
aCurrency
- java.lang.Stringpublic void setInitKey_orderId(java.lang.String aInitKey_orderId)
Set the primary key for this object
aInitKey_orderId
- java.lang.Stringpublic void setInitKey_rmaId(java.lang.String aInitKey_rmaId)
Set the primary key for this object
aInitKey_rmaId
- java.lang.Stringpublic void setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object
aInitKey_tradingId
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
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.
aOrderId
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId)
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.
setOrderId
in interface TradingRefundAmountAccessBeanData
aOrderId
- java.lang.Stringpublic void setRmaId(java.lang.Long aRmaId)
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).
aRmaId
- java.lang.Longpublic void setRmaId(java.lang.String aRmaId)
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).
setRmaId
in interface TradingRefundAmountAccessBeanData
aRmaId
- java.lang.Stringpublic void setTradingId(java.lang.Long aTradingId)
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.
aTradingId
- java.lang.Longpublic void setTradingId(java.lang.String aTradingId)
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.
setTradingId
in interface TradingRefundAmountAccessBeanData
aTradingId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |