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.

See Also:
Serialized Form

Constructor Summary
ReturnReceiptDispositionAccessBean()
          constructor
ReturnReceiptDispositionAccessBean(java.lang.Integer arg0, java.lang.Long arg1, java.lang.Integer arg2, java.sql.Timestamp arg3)
          constructor
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 arg0)           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 provides access to the RTNRCPTDSP.COMMENTS column of DB2 type VARCHAR(254).
 void setDispositionDate(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.
 void setDispositionDate(java.sql.Timestamp newValue)
          This method provides access to the RTNRCPTDSP.DISPOSITIONDATE column of DB2 type TIMESTAMP NOT NULL.
 void setInitKey_rtnRcptDspId(java.lang.String newValue)
          Set the primary key for this object
 void setQuantity(java.lang.Integer newValue)
          This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.
 void setQuantity(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.QUANTITY column of DB2 type INTEGER NOT NULL.
 void setRtnDspCodeId(java.lang.Integer newValue)
          This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
 void setRtnDspCodeId(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
 void setRtnRcptDspId(java.lang.Long newValue)
          This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.
 void setRtnRcptDspId(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.RTNRCPTDSP_ID column of DB2 type BIGINT NOT NULL.
 void setRtnReasonId(java.lang.Integer newValue)
          This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.
 void setRtnReasonId(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.RTNREASON_ID column of DB2 type INTEGER.
 void setRtnReceiptId(java.lang.Long newValue)
          This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void setRtnReceiptId(java.lang.String newValue)
          This method provides access to the RTNRCPTDSP.RTNRECEIPT_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnReceiptDispositionAccessBean

public ReturnReceiptDispositionAccessBean()
constructor

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 arg0,
                                          java.lang.Long arg1,
                                          java.lang.Integer arg2,
                                          java.sql.Timestamp arg3)
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Long
arg2 - java.lang.Integer
arg3 - java.sql.Timestamp
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByRtnReceiptId

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

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 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:
setQuantity in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setQuantity

public void setQuantity(java.lang.Integer newValue)

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.

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

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 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:
setRtnReceiptId in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setRtnReceiptId

public void setRtnReceiptId(java.lang.Long newValue)

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.

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

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 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:
setDispositionDate in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setDispositionDate

public void setDispositionDate(java.sql.Timestamp newValue)

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.

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

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 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:
setRtnReasonId in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setRtnReasonId

public void setRtnReasonId(java.lang.Integer newValue)

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.

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

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 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:
setComments in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setRtnRcptDspId in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.Long newValue)

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.

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

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 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:
setRtnDspCodeId in interface ReturnReceiptDispositionAccessBeanData
Parameters:
newValue - String
Returns:
void

setRtnDspCodeId

public void setRtnDspCodeId(java.lang.Integer newValue)

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.

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