com.ibm.commerce.inventory.objects
Class PickBatchAccessBean

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

public class PickBatchAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PickBatchAccessBeanData

This table contains pick batch information. A pick batch groups together order releases for their processing as a unit at a FulfillmentCenter (picking inventory for OrderItems, packing them into boxes, and shipping to customer through selected carrier).

See Also:
Serialized Form

Constructor Summary
PickBatchAccessBean()
          constructor
PickBatchAccessBean(javax.ejb.EJBObject o)
          constructor
PickBatchAccessBean(java.lang.Long arg0, java.lang.Integer arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.lang.String getDate1()
          This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
 java.sql.Timestamp getDate1InEJBType()
          This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
 java.lang.String getDate2()
          This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
 java.sql.Timestamp getDate2InEJBType()
          This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
 java.lang.String getField1()
          This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
 java.lang.Integer getField1InEJBType()
          This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
 java.lang.String getField2()
          This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).
 java.lang.String getField3()
          This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).
 java.lang.String getFufillmentCenterId()
          This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFufillmentCenterIdInEJBType()
          This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getMemberId()
          This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
 java.lang.String getPickBatchId()
          This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPickBatchIdInEJBType()
          This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPickSlipXml()
          This method accesses a non-CMP field
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDate1(java.lang.String newValue)
          This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
 void setDate1(java.sql.Timestamp newValue)
          This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
 void setDate2(java.lang.String newValue)
          This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
 void setDate2(java.sql.Timestamp newValue)
          This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
 void setField1(java.lang.Integer newValue)
          This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
 void setField1(java.lang.String newValue)
          This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
 void setField2(java.lang.String newValue)
          This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).
 void setField3(java.lang.String newValue)
          This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).
 void setFufillmentCenterId(java.lang.Integer newValue)
          This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 void setFufillmentCenterId(java.lang.String newValue)
          This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 void setInitKey_pickBatchId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
 void setMemberId(java.lang.Long newValue)
          This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
 void setMemberId(java.lang.String newValue)
          This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
 void setPickBatchId(java.lang.Long newValue)
          This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
 void setPickBatchId(java.lang.String newValue)
          This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
 void setPickSlipXml(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

PickBatchAccessBean

public PickBatchAccessBean()
constructor

PickBatchAccessBean

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

PickBatchAccessBean

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

setInitKey_pickBatchId

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

getPickSlipXml

public java.lang.String getPickSlipXml()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getPickSlipXml in interface PickBatchAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPickSlipXml

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

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

The following is a description of this column:

Timestamp when the pick batch was last updated.

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

The following is a description of this column:

Timestamp when the pick batch was last updated.

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

The following is a description of this column:

Timestamp when the pick batch was last updated.

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

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Timestamp when the pick batch was last updated.

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

getDate2

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

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getDate2InEJBType

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

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

setDate2

public void setDate2(java.lang.String newValue)

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

Specified by:
setDate2 in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setDate2

public void setDate2(java.sql.Timestamp newValue)

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getDate1

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

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getDate1InEJBType

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

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

setDate1

public void setDate1(java.lang.String newValue)

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

Specified by:
setDate1 in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setDate1

public void setDate1(java.sql.Timestamp newValue)

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getFufillmentCenterId

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

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

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

getFufillmentCenterIdInEJBType

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

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

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

setFufillmentCenterId

public void setFufillmentCenterId(java.lang.String newValue)

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

Specified by:
setFufillmentCenterId in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setFufillmentCenterId

public void setFufillmentCenterId(java.lang.Integer newValue)

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

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

getField3

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

This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField3

public void setField3(java.lang.String newValue)

This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface PickBatchAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getField2

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

This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.lang.String newValue)

This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface PickBatchAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getField1

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

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

getField1InEJBType

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

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String newValue)

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setField1

public void setField1(java.lang.Integer newValue)

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

getPickBatchId

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

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

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

getPickBatchIdInEJBType

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

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

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

setPickBatchId

public void setPickBatchId(java.lang.String newValue)

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

Specified by:
setPickBatchId in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setPickBatchId

public void setPickBatchId(java.lang.Long newValue)

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

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

getMemberId

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

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

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

getMemberIdInEJBType

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

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

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

setMemberId

public void setMemberId(java.lang.String newValue)

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

Specified by:
setMemberId in interface PickBatchAccessBeanData
Parameters:
newValue - String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long newValue)

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

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