com.ibm.commerce.inventory.objects
Class AvailableReceiptAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.inventory.objects.AvailableReceiptAccessBean
All Implemented Interfaces:
AvailableReceiptAccessBeanData

public class AvailableReceiptAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AvailableReceiptAccessBeanData

Defines which DistributionArrangements have access to received inventory.

See Also:
Serialized Form

Constructor Summary
AvailableReceiptAccessBean()
          constructor
AvailableReceiptAccessBean(javax.ejb.EJBObject o)
          constructor
AvailableReceiptAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByReceiptId(java.lang.Long arg0)           Retrieves the AvailableReceiptAccessBean representing the receipts available with the specified receipt ID The SQL query used to fetch the requested row from the RCPTAVAIL table is:
SELECT * FROM RCPTAVAIL T1 WHERE T1.RECEIPT_ID = ?
 java.lang.String getDistArrangId()
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getDistArrangIdInEJBType()
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getPrecedence()
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.
 java.lang.Integer getPrecedenceInEJBType()
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.
 java.lang.String getRcptAvailId()
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRcptAvailIdInEJBType()
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getReceiptId()
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getReceiptIdInEJBType()
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDistArrangId(java.lang.Long newValue)
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setDistArrangId(java.lang.String newValue)
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_rcptAvailId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.
 void setPrecedence(java.lang.Integer newValue)
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.
 void setPrecedence(java.lang.String newValue)
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.
 void setRcptAvailId(java.lang.Long newValue)
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 void setRcptAvailId(java.lang.String newValue)
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptId(java.lang.Long newValue)
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptId(java.lang.String newValue)
          This method provides access to the RCPTAVAIL.RECEIPT_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

AvailableReceiptAccessBean

public AvailableReceiptAccessBean()
constructor

AvailableReceiptAccessBean

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

AvailableReceiptAccessBean

public AvailableReceiptAccessBean(java.lang.Long arg0,
                                  java.lang.Long arg1)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByReceiptId

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

Retrieves the AvailableReceiptAccessBean representing the receipts available with the specified receipt ID
The SQL query used to fetch the requested row from the RCPTAVAIL table is: SELECT * FROM RCPTAVAIL T1 WHERE T1.RECEIPT_ID = ?

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_rcptAvailId

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

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 RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of last update.

Specified by:
getLastUpdate in interface AvailableReceiptAccessBeanData
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 RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of 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 RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of last update.

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

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of last update.

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

getDistArrangId

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

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

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

getDistArrangIdInEJBType

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

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

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

setDistArrangId

public void setDistArrangId(java.lang.String newValue)

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

Specified by:
setDistArrangId in interface AvailableReceiptAccessBeanData
Parameters:
newValue - String
Returns:
void

setDistArrangId

public void setDistArrangId(java.lang.Long newValue)

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

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

getRcptAvailId

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

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

getRcptAvailIdInEJBType

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

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

setRcptAvailId

public void setRcptAvailId(java.lang.String newValue)

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Specified by:
setRcptAvailId in interface AvailableReceiptAccessBeanData
Parameters:
newValue - String
Returns:
void

setRcptAvailId

public void setRcptAvailId(java.lang.Long newValue)

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

getReceiptId

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

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

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

getReceiptIdInEJBType

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

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

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

setReceiptId

public void setReceiptId(java.lang.String newValue)

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

Specified by:
setReceiptId in interface AvailableReceiptAccessBeanData
Parameters:
newValue - String
Returns:
void

setReceiptId

public void setReceiptId(java.lang.Long newValue)

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

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

getPrecedence

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

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

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

getPrecedenceInEJBType

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

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

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

setPrecedence

public void setPrecedence(java.lang.String newValue)

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

Specified by:
setPrecedence in interface AvailableReceiptAccessBeanData
Parameters:
newValue - String
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Integer newValue)

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

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