com.ibm.commerce.ordermanagement.objects
Class ReturnReceiptDispositionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.ordermanagement.objects.ReturnReceiptDispositionAccessBean
All Implemented Interfaces:
ReturnReceiptDispositionAccessBeanData

public class ReturnReceiptDispositionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ReturnReceiptDispositionAccessBeanData

This table describes how a returned item has been disposed. This access bean corresponds to the database table 'RTNRCPTDSP'.

See Also:
Serialized Form

Constructor Summary
ReturnReceiptDispositionAccessBean()
Zero argument constructor used to initialize the access bean.
ReturnReceiptDispositionAccessBean(java.lang.Integer newRtnDspCodeId, java.lang.Long newRtnReceiptId, java.lang.Integer newQuantity, java.sql.Timestamp newDispositionDate)
Maps to a corresponding ejbCreate method in the home interface of the EJB
ReturnReceiptDispositionAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByRtnReceiptId(java.lang.Long rtnReceiptId) Retrieves the disposition for a particular return receipt. The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RTNRCPTDSP T1 WHERE T1.RTNRECEIPT_ID = ?
java.lang.String getComments()
This method provides access to the RTNRCPTDSP.COMMENTS column of DB2 type VARCHAR(254).
java.lang.String getDispositionDate()
This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.
java.sql.Timestamp getDispositionDateInEJBType()
This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.
java.lang.String getQuantity()
This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.
java.lang.Integer getQuantityInEJBType()
This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.
java.lang.String getRtnDspCodeId()
This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getRtnDspCodeIdInEJBType()
This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getRtnRcptDspId()
This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getRtnRcptDspIdInEJBType()
This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getRtnReasonId()
This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.
java.lang.Integer getRtnReasonIdInEJBType()
This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.
java.lang.String getRtnReceiptId()
This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getRtnReceiptIdInEJBType()
This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setComments(java.lang.String newValue)
This method accesses a non-CMP field
void setDispositionDate(java.lang.String newValue)
This method accesses a non-CMP field
void setDispositionDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_rtnRcptDspId(java.lang.String newValue)
Set the primary key for this object
void setQuantity(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setRtnDspCodeId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setRtnDspCodeId(java.lang.String newValue)
This method accesses a non-CMP field
void setRtnRcptDspId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRtnRcptDspId(java.lang.String newValue)
This method accesses a non-CMP field
void setRtnReasonId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setRtnReasonId(java.lang.String newValue)
This method accesses a non-CMP field
void setRtnReceiptId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRtnReceiptId(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

ReturnReceiptDispositionAccessBean

public ReturnReceiptDispositionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.ordermanagement.objects.ReturnReceiptDisposition com.ibm.commerce.ordermanagement.objimpl.ReturnReceiptDispositionHomeBase.findByPrimaryKey(com.ibm.commerce.ordermanagement.objects.ReturnReceiptDispositionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_rtnRcptDspId( java.lang.Long )

ReturnReceiptDispositionAccessBean

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

ReturnReceiptDispositionAccessBean

public ReturnReceiptDispositionAccessBean(java.lang.Integer newRtnDspCodeId,
                                          java.lang.Long newRtnReceiptId,
                                          java.lang.Integer newQuantity,
                                          java.sql.Timestamp newDispositionDate)
                                   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

Parameters:
newRtnDspCodeId - java.lang.Integer Disposition Code ID
newRtnReceiptId - java.lang.Long Return Receipt ID
newQuantity - java.lang.Integer Quantity
newDispositionDate - java.sql.Timestamp Disposition Date
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByRtnReceiptId

public java.util.Enumeration findByRtnReceiptId(java.lang.Long rtnReceiptId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Retrieves the disposition for a particular return receipt.
The SQL query used to fetch the requested row from the
RMA table is:
SELECT * FROM RTNRCPTDSP T1 WHERE T1.RTNRECEIPT_ID = ?

Parameters:
rtnReceiptId - java.lang.Long Return Receipt ID
Returns:
An Enumeration of all the ReturnReceiptDispositionAccessBeans 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_rtnRcptDspId

public void setInitKey_rtnRcptDspId(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

getQuantity

public java.lang.String getQuantity()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

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

getQuantityInEJBType

public java.lang.Integer getQuantityInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units.

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

setQuantity

public void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQuantity in interface ReturnReceiptDispositionAccessBeanData

setQuantity

public void setQuantity(java.lang.Integer newValue)
This method accesses a non-CMP field

getRtnReceiptId

public java.lang.String getRtnReceiptId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The return receipt to which this disposition record refers.

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

getRtnReceiptIdInEJBType

public java.lang.Long getRtnReceiptIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The return receipt to which this disposition record refers.

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

setRtnReceiptId

public void setRtnReceiptId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRtnReceiptId in interface ReturnReceiptDispositionAccessBeanData

setRtnReceiptId

public void setRtnReceiptId(java.lang.Long newValue)
This method accesses a non-CMP field

getDispositionDate

public java.lang.String getDispositionDate()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp at which the item was disposed.

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

getDispositionDateInEJBType

public java.sql.Timestamp getDispositionDateInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp at which the item was disposed.

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

setDispositionDate

public void setDispositionDate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDispositionDate in interface ReturnReceiptDispositionAccessBeanData

setDispositionDate

public void setDispositionDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getRtnReasonId

public java.lang.String getRtnReasonId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.

The following is a description of this column:

The reason for the disposition.

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

getRtnReasonIdInEJBType

public java.lang.Integer getRtnReasonIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.

The following is a description of this column:

The reason for the disposition.

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

setRtnReasonId

public void setRtnReasonId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRtnReasonId in interface ReturnReceiptDispositionAccessBeanData

setRtnReasonId

public void setRtnReasonId(java.lang.Integer newValue)
This method accesses a non-CMP field

getComments

public java.lang.String getComments()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RTNRCPTDSP.COMMENTS column of DB2 type VARCHAR(254).

The following is a description of this column:

Comments for the disposition.

Specified by:
getComments in interface ReturnReceiptDispositionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setComments

public void setComments(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setComments in interface ReturnReceiptDispositionAccessBeanData

getRtnRcptDspId

public java.lang.String getRtnRcptDspId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

getRtnRcptDspIdInEJBType

public java.lang.Long getRtnRcptDspIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRtnRcptDspId in interface ReturnReceiptDispositionAccessBeanData

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.Long newValue)
This method accesses a non-CMP field

getRtnDspCodeId

public java.lang.String getRtnDspCodeId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Disposition code describing how the item was disposed.

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

getRtnDspCodeIdInEJBType

public java.lang.Integer getRtnDspCodeIdInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Disposition code describing how the item was disposed.

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

setRtnDspCodeId

public void setRtnDspCodeId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRtnDspCodeId in interface ReturnReceiptDispositionAccessBeanData

setRtnDspCodeId

public void setRtnDspCodeId(java.lang.Integer newValue)
This method accesses a non-CMP field

Feedback