com.ibm.commerce.inventory.objects
Class BackOrderAllocationAccessBean

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

public class BackOrderAllocationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements BackOrderAllocationAccessBeanData

Each row contains information about the quantity required for this backordered order item and the amount of available inventory allocated to this item.

See Also:
Serialized Form

Constructor Summary
BackOrderAllocationAccessBean()
          constructor
BackOrderAllocationAccessBean(javax.ejb.EJBObject o)
          constructor
BackOrderAllocationAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Integer arg2)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByItemSpcId(java.lang.Long arg0)           Retrieves the BackOrderAllocationAccessBean representing the information about the quantity required for a backordered order item and the amount of available inventory allocated to a specified ITEMSPC_ID The SQL query used to fetch the requested row from the BKORDALLOC table is:
SELECT * FROM BKORDALLOC T1 WHERE T1.ITEMSPC_ID = ?
 java.lang.String getBkOrdNum()
          This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getBkOrdNumInEJBType()
          This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.
 java.lang.String getItemSpcId()
          This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getItemSpcIdInEJBType()
          This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastupdate()
          This method provides access to the BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getOrderItemsId()
          This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderItemsIdInEJBType()
          This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getQtyAllocated()
          This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.
 java.lang.Integer getQtyAllocatedInEJBType()
          This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.
 java.lang.String getQtyAvailable()
          This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.
 java.lang.Integer getQtyAvailableInEJBType()
          This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.
 java.lang.String getQtyNeeded()
          This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.
 java.lang.Integer getQtyNeededInEJBType()
          This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBkOrdNum(java.lang.Integer newValue)
          This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.
 void setBkOrdNum(java.lang.String newValue)
          This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.
 void setInitKey_bkOrdNum(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_orderItemsId(java.lang.String newValue)
          Set the primary key for this object
 void setItemSpcId(java.lang.Long newValue)
          This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemSpcId(java.lang.String newValue)
          This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.lang.String newValue)
          This method provides access to the BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastupdate(java.sql.Timestamp newValue)
          This method provides access to the BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setOrderItemsId(java.lang.Long newValue)
          This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderItemsId(java.lang.String newValue)
          This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
 void setQtyAllocated(java.lang.Integer newValue)
          This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.
 void setQtyAllocated(java.lang.String newValue)
          This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.
 void setQtyAvailable(java.lang.Integer newValue)
          This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.
 void setQtyAvailable(java.lang.String newValue)
          This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.
 void setQtyNeeded(java.lang.Integer newValue)
          This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.
 void setQtyNeeded(java.lang.String newValue)
          This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackOrderAllocationAccessBean

public BackOrderAllocationAccessBean()
constructor

BackOrderAllocationAccessBean

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

BackOrderAllocationAccessBean

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

findByItemSpcId

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

Retrieves the BackOrderAllocationAccessBean representing the information about the quantity required for a backordered order item and the amount of available inventory allocated to a specified ITEMSPC_ID
The SQL query used to fetch the requested row from the BKORDALLOC table is: SELECT * FROM BKORDALLOC T1 WHERE T1.ITEMSPC_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 - The javax.naming.NamingException exception

setInitKey_orderItemsId

public void setInitKey_orderItemsId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_bkOrdNum

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

getOrderItemsId

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

This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem that is backordered.

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

getOrderItemsIdInEJBType

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

This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem that is backordered.

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

setOrderItemsId

public void setOrderItemsId(java.lang.String newValue)

This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem that is backordered.

Specified by:
setOrderItemsId in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrderItemsId

public void setOrderItemsId(java.lang.Long newValue)

This method provides access to the BKORDALLOC.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem that is backordered.

Parameters:
newValue - java.lang.Long
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 BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of the last update to this order allocation.

Specified by:
getLastupdate in interface BackOrderAllocationAccessBeanData
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 BKORDALLOC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of the last update to this order allocation.

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

The following is a description of this column:

Timestamp of the last update to this order allocation.

Specified by:
setLastupdate in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Timestamp of the last update to this order allocation.

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

getQtyAllocated

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

This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

The quantity of available inventory that has been allocated to the backorder.

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

getQtyAllocatedInEJBType

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

This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

The quantity of available inventory that has been allocated to the backorder.

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

setQtyAllocated

public void setQtyAllocated(java.lang.String newValue)

This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

The quantity of available inventory that has been allocated to the backorder.

Specified by:
setQtyAllocated in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setQtyAllocated

public void setQtyAllocated(java.lang.Integer newValue)

This method provides access to the BKORDALLOC.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

The quantity of available inventory that has been allocated to the backorder.

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

getItemSpcId

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

This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

If the OrderItem is a kit, then the ITEMSPC_ID will be for the kit component. If the OrderItem is not a kit, then ITEMSPC_ID is the same as the ORDERITEMS.ITEMSPC_ID.

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

getItemSpcIdInEJBType

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

This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

If the OrderItem is a kit, then the ITEMSPC_ID will be for the kit component. If the OrderItem is not a kit, then ITEMSPC_ID is the same as the ORDERITEMS.ITEMSPC_ID.

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

setItemSpcId

public void setItemSpcId(java.lang.String newValue)

This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

If the OrderItem is a kit, then the ITEMSPC_ID will be for the kit component. If the OrderItem is not a kit, then ITEMSPC_ID is the same as the ORDERITEMS.ITEMSPC_ID.

Specified by:
setItemSpcId in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setItemSpcId

public void setItemSpcId(java.lang.Long newValue)

This method provides access to the BKORDALLOC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

If the OrderItem is a kit, then the ITEMSPC_ID will be for the kit component. If the OrderItem is not a kit, then ITEMSPC_ID is the same as the ORDERITEMS.ITEMSPC_ID.

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

getQtyAvailable

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

This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.

The following is a description of this column:

The quantity of inventory available for this item, or QTYNEEDED, whichever is smaller.

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

getQtyAvailableInEJBType

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

This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.

The following is a description of this column:

The quantity of inventory available for this item, or QTYNEEDED, whichever is smaller.

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

setQtyAvailable

public void setQtyAvailable(java.lang.String newValue)

This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.

The following is a description of this column:

The quantity of inventory available for this item, or QTYNEEDED, whichever is smaller.

Specified by:
setQtyAvailable in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setQtyAvailable

public void setQtyAvailable(java.lang.Integer newValue)

This method provides access to the BKORDALLOC.QTYAVAILABLE column of DB2 type INTEGER.

The following is a description of this column:

The quantity of inventory available for this item, or QTYNEEDED, whichever is smaller.

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

getQtyNeeded

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

This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.

The following is a description of this column:

The quantity required for this component to fulfill the line item.

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

getQtyNeededInEJBType

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

This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.

The following is a description of this column:

The quantity required for this component to fulfill the line item.

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

setQtyNeeded

public void setQtyNeeded(java.lang.String newValue)

This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.

The following is a description of this column:

The quantity required for this component to fulfill the line item.

Specified by:
setQtyNeeded in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setQtyNeeded

public void setQtyNeeded(java.lang.Integer newValue)

This method provides access to the BKORDALLOC.QTYNEEDED column of DB2 type INTEGER.

The following is a description of this column:

The quantity required for this component to fulfill the line item.

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

getBkOrdNum

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

This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this backorder allocation along with its specified OrderItem.

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

getBkOrdNumInEJBType

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

This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this backorder allocation along with its specified OrderItem.

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

setBkOrdNum

public void setBkOrdNum(java.lang.String newValue)

This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this backorder allocation along with its specified OrderItem.

Specified by:
setBkOrdNum in interface BackOrderAllocationAccessBeanData
Parameters:
newValue - String
Returns:
void

setBkOrdNum

public void setBkOrdNum(java.lang.Integer newValue)

This method provides access to the BKORDALLOC.BKORDNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this backorder allocation along with its specified OrderItem.

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