java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.ordermanagement.objects.RMATaxAccessBean
This table stores return merchandise authorization (RMA) tax credits. This access bean corresponds to the database table 'RMATAX'.
Constructor Summary | |
RMATaxAccessBean() Zero argument constructor used to initialize the access bean. |
|
RMATaxAccessBean(javax.ejb.EJBObject o) constructor |
|
RMATaxAccessBean(java.lang.Long newRMAId, java.lang.Integer newTaxCategoryId, java.math.BigDecimal newTaxAmount, java.sql.Timestamp newLastUpdate) 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.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. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_rmaId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_taxCategoryId(java.lang.String newValue) Set the primary key for this object |
void | setLastUpdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdate(java.sql.Timestamp 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 | setTaxAmount(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setTaxAmount(java.lang.String newValue) This method accesses a non-CMP field |
void | setTaxCategoryId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setTaxCategoryId(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 RMATaxAccessBean()
public RMATaxAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public RMATaxAccessBean(java.lang.Long newRMAId, java.lang.Integer newTaxCategoryId, java.math.BigDecimal newTaxAmount, java.sql.Timestamp newLastUpdate) 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
Method Detail |
public 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
public void setInitKey_rmaId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_taxCategoryId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
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 commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public 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.
public 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.
public void setTaxCategoryId(java.lang.String newValue)
public void setTaxCategoryId(java.lang.Integer newValue)
public 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.
public 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.
public void setLastUpdate(java.lang.String newValue)
public void setLastUpdate(java.sql.Timestamp newValue)
public 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.
public 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.
public void setRmaId(java.lang.String newValue)
public void setRmaId(java.lang.Long newValue)
public 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.
public 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.
public void setTaxAmount(java.lang.String newValue)
public void setTaxAmount(java.math.BigDecimal newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.