com.ibm.commerce.ordermanagement.objects
Class RMATaxAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.ordermanagement.objects.RMATaxAccessBean
All Implemented Interfaces:
RMATaxAccessBeanData

public class RMATaxAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMATaxAccessBeanData

This table stores return merchandise authorization (RMA) tax credits.

See Also:
Serialized Form

Constructor Summary
RMATaxAccessBean()
          constructor
RMATaxAccessBean(javax.ejb.EJBObject o)
          constructor
RMATaxAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.math.BigDecimal arg2, java.sql.Timestamp arg3)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByRmaIdForUpdate(java.lang.Long arg0)           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 provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the RMATAX.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaId(java.lang.Long newValue)
          This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.String newValue)
          This method provides access to the RMATAX.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setTaxAmount(java.math.BigDecimal newValue)
          This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 void setTaxAmount(java.lang.String newValue)
          This method provides access to the RMATAX.TAXAMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
 void setTaxCategoryId(java.lang.Integer newValue)
          This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 void setTaxCategoryId(java.lang.String newValue)
          This method provides access to the RMATAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMATaxAccessBean

public RMATaxAccessBean()
constructor

RMATaxAccessBean

public RMATaxAccessBean(javax.ejb.EJBObject o)
                 throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

RMATaxAccessBean

public RMATaxAccessBean(java.lang.Long arg0,
                        java.lang.Integer arg1,
                        java.math.BigDecimal arg2,
                        java.sql.Timestamp arg3)
                 throws javax.naming.NamingException,
                        javax.ejb.CreateException,
                        java.rmi.RemoteException,
                        javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.math.BigDecimal
arg3 - java.sql.Timestamp
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByRmaIdForUpdate

public java.util.Enumeration findByRmaIdForUpdate(java.lang.Long arg0)
                                           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

Returns:
An Enumeration of all the RMATaxAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_rmaId

public void setInitKey_rmaId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_taxCategoryId

public void setInitKey_taxCategoryId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxCategoryId

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.

Specified by:
getTaxCategoryId in interface RMATaxAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxCategoryIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxCategoryId

public void setTaxCategoryId(java.lang.String newValue)

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.

Specified by:
setTaxCategoryId in interface RMATaxAccessBeanData
Parameters:
newValue - String
Returns:
void

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer newValue)

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.

Parameters:
newValue - java.lang.Integer
Returns:
void

getLastUpdate

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.

Specified by:
getLastUpdate in interface RMATaxAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

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.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

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.

Specified by:
setLastUpdate in interface RMATaxAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getRmaId

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.

Specified by:
getRmaId in interface RMATaxAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRmaIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRmaId

public void setRmaId(java.lang.String newValue)

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.

Specified by:
setRmaId in interface RMATaxAccessBeanData
Parameters:
newValue - String
Returns:
void

setRmaId

public void setRmaId(java.lang.Long newValue)

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.

Parameters:
newValue - java.lang.Long
Returns:
void

getTaxAmount

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.

Specified by:
getTaxAmount in interface RMATaxAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxAmountInEJBType

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.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxAmount

public void setTaxAmount(java.lang.String newValue)

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.

Specified by:
setTaxAmount in interface RMATaxAccessBeanData
Parameters:
newValue - String
Returns:
void

setTaxAmount

public void setTaxAmount(java.math.BigDecimal newValue)

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.

Parameters:
newValue - java.math.BigDecimal
Returns:
void