|
||||||||
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.ordermanagement.objects.RMATaxAccessBean
This bean provides access to the RMATAX table.
The following is a description of this table:
This table stores return merchandise authorization (RMA) tax credits.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
RMATaxAccessBean()
Default constructor. |
|
RMATaxAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
RMATaxAccessBean(java.lang.Long rmaID,
java.lang.Integer taxCategoryID,
java.math.BigDecimal monetaryAmount,
java.sql.Timestamp lastUpdate)
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.util.Enumeration |
findByRmaIdForUpdate(java.lang.Long rmaID)
Retrieves all the RMA taxes for a particular RMA. The SQL query used to fetch the requested row from the RMATAX table is: SELECT * FROM RMATAX T1 WHERE T1.RMA_ID = ? FOR UPDATE |
java.lang.String |
getLastUpdate()
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp |
getLastUpdateInEJBType()
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String |
getRmaId()
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getRmaIdInEJBType()
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTaxAmount()
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getTaxAmountInEJBType()
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getTaxCategoryId()
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTaxCategoryIdInEJBType()
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_rmaId(java.lang.String aInitKey_rmaId)
Set the primary key for this object |
void |
setInitKey_taxCategoryId(java.lang.String aInitKey_taxCategoryId)
Set the primary key for this object |
void |
setLastUpdate(java.lang.String aLastUpdate)
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setRmaId(java.lang.Long aRmaId)
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.String aRmaId)
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER 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 RMATaxAccessBean()
Default constructor. Maps to findByPrimaryKey.
public RMATaxAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic RMATaxAccessBean(java.lang.Long rmaID, java.lang.Integer taxCategoryID, java.math.BigDecimal monetaryAmount, java.sql.Timestamp lastUpdate) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
rmaID
- java.lang.Long RMA IDtaxCategoryID
- java.lang.Integer Tax Category IDmonetaryAmount
- java.math.BigDecimal Monetary AmountlastUpdate
- java.sql.Timestamp Last Updatejavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException 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.util.Enumeration findByRmaIdForUpdate(java.lang.Long rmaID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA taxes for a particular RMA.
The SQL query used to fetch the requested row from the
RMATAX table is:
SELECT *
FROM RMATAX T1
WHERE T1.RMA_ID = ? FOR UPDATE
rmaID
- java.lang.Long RMA IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
getLastUpdate
in interface RMATaxAccessBeanData
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.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
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 RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the RMA for which this tax amount applies.
getRmaId
in interface RMATaxAccessBeanData
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 RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the RMA for which this tax amount applies.
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 getTaxAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Tax amount in the currency of the RMA.
getTaxAmount
in interface RMATaxAccessBeanData
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 getTaxAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Tax amount in the currency of the 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 getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
getTaxCategoryId
in interface RMATaxAccessBeanData
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.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
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 setInitKey_rmaId(java.lang.String aInitKey_rmaId)
Set the primary key for this object
aInitKey_rmaId
- java.lang.Stringpublic void setInitKey_taxCategoryId(java.lang.String aInitKey_taxCategoryId)
Set the primary key for this object
aInitKey_taxCategoryId
- java.lang.Stringpublic void setLastUpdate(java.lang.String aLastUpdate)
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
setLastUpdate
in interface RMATaxAccessBeanData
aLastUpdate
- java.lang.Stringpublic void setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
Timestamp of the last update.
aLastUpdate
- java.sql.Timestamppublic void setRmaId(java.lang.Long aRmaId)
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the RMA for which this tax amount applies.
aRmaId
- java.lang.Longpublic void setRmaId(java.lang.String aRmaId)
This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the RMA for which this tax amount applies.
setRmaId
in interface RMATaxAccessBeanData
aRmaId
- java.lang.Stringpublic void setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Tax amount in the currency of the RMA.
aTaxAmount
- java.math.BigDecimalpublic void setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Tax amount in the currency of the RMA.
setTaxAmount
in interface RMATaxAccessBeanData
aTaxAmount
- java.lang.Stringpublic void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
aTaxCategoryId
- java.lang.Integerpublic void setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
setTaxCategoryId
in interface RMATaxAccessBeanData
aTaxCategoryId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |