com.ibm.commerce.inventory.objects
Class RABackOrderAllocationAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.inventory.objects.RABackOrderAllocationAccessBean
All Implemented Interfaces:
RABackOrderAllocationAccessBeanData

public class RABackOrderAllocationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RABackOrderAllocationAccessBeanData

Each row contains information about how backorders are allocated against expected inventory. This access bean corresponds to the database table 'RABACKALLO'.

See Also:
Serialized Form

Constructor Summary
RABackOrderAllocationAccessBean()
Zero argument constructor used to initialize the access bean.
RABackOrderAllocationAccessBean(java.lang.Integer newRaBackAlloNum, java.lang.Long newRaDetailId, java.lang.Long newOrderItemsId, java.lang.Long newItemSpcId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
RABackOrderAllocationAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getItemSpcId()
This method provides access to the RABACKALLO.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getItemSpcIdInEJBType()
This method provides access to the RABACKALLO.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getLastupdate()
This method provides access to the RABACKALLO.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastupdateInEJBType()
This method provides access to the RABACKALLO.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getOrderitemsId()
This method provides access to the RABACKALLO.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOrderitemsIdInEJBType()
This method provides access to the RABACKALLO.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getQtyAllocated()
This method provides access to the RABACKALLO.QTYALLOCATED column of DB2 type INTEGER.
java.lang.Integer getQtyAllocatedInEJBType()
This method provides access to the RABACKALLO.QTYALLOCATED column of DB2 type INTEGER.
java.lang.String getRaBackAlloNum()
This method provides access to the RABACKALLO.RABACKALLONUM column of DB2 type INTEGER NOT NULL.
java.lang.Integer getRaBackAlloNumInEJBType()
This method provides access to the RABACKALLO.RABACKALLONUM column of DB2 type INTEGER NOT NULL.
java.lang.String getRaDetailId()
This method provides access to the RABACKALLO.RADETAIL_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getRaDetailIdInEJBType()
This method provides access to the RABACKALLO.RADETAIL_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_orderitemsId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_raBackAlloNum(java.lang.String newValue)
Set the primary key for this object
void setItemSpcId(java.lang.Long newValue)
This method accesses a non-CMP field
void setItemSpcId(java.lang.String newValue)
This method accesses a non-CMP field
void setLastupdate(java.lang.String newValue)
This method accesses a non-CMP field
void setLastupdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setOrderitemsId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrderitemsId(java.lang.String newValue)
This method accesses a non-CMP field
void setQtyAllocated(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQtyAllocated(java.lang.String newValue)
This method accesses a non-CMP field
void setRaBackAlloNum(java.lang.Integer newValue)
This method accesses a non-CMP field
void setRaBackAlloNum(java.lang.String newValue)
This method accesses a non-CMP field
void setRaDetailId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRaDetailId(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

RABackOrderAllocationAccessBean

public RABackOrderAllocationAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.inventory.objects.RABackOrderAllocation com.ibm.commerce.inventory.objimpl.RABackOrderAllocationHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.RABackOrderAllocationKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_orderitemsId( java.lang.Long ) setInitKey_raBackAlloNum( java.lang.Integer )

RABackOrderAllocationAccessBean

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

RABackOrderAllocationAccessBean

public RABackOrderAllocationAccessBean(java.lang.Integer newRaBackAlloNum,
                                       java.lang.Long newRaDetailId,
                                       java.lang.Long newOrderItemsId,
                                       java.lang.Long newItemSpcId)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
newRaBackAlloNum - - java.lang.Integer
newRaDetailId - - java.lang.Long
newOrderItemsId - - java.lang.Long
newItemSpcId - - java.lang.Long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

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_raBackAlloNum

public void setInitKey_raBackAlloNum(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 RABACKALLO.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of the last update.

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

The following is a description of this column:

Timestamp of the 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 accesses a non-CMP field
Specified by:
setLastupdate in interface RABackOrderAllocationAccessBeanData

setLastupdate

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

getRaDetailId

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

This method provides access to the RABACKALLO.RADETAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RADETAIL row which contributed to the allocation.

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

getRaDetailIdInEJBType

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

This method provides access to the RABACKALLO.RADETAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RADETAIL row which contributed to the allocation.

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

setRaDetailId

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

setRaDetailId

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

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 RABACKALLO.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

Amount of expected inventory allocated to this backordered OrderItem.

Specified by:
getQtyAllocated in interface RABackOrderAllocationAccessBeanData
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 RABACKALLO.QTYALLOCATED column of DB2 type INTEGER.

The following is a description of this column:

Amount of expected inventory allocated to this backordered OrderItem.

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 accesses a non-CMP field
Specified by:
setQtyAllocated in interface RABackOrderAllocationAccessBeanData

setQtyAllocated

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

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 RABACKALLO.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The backordered item.

Specified by:
getItemSpcId in interface RABackOrderAllocationAccessBeanData
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 RABACKALLO.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The backordered item.

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 accesses a non-CMP field
Specified by:
setItemSpcId in interface RABackOrderAllocationAccessBeanData

setItemSpcId

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

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 RABACKALLO.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 RABackOrderAllocationAccessBeanData
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 RABACKALLO.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 accesses a non-CMP field
Specified by:
setOrderitemsId in interface RABackOrderAllocationAccessBeanData

setOrderitemsId

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

getRaBackAlloNum

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

This method provides access to the RABACKALLO.RABACKALLONUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies this row for a backordered OrderItem.

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

getRaBackAlloNumInEJBType

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

This method provides access to the RABACKALLO.RABACKALLONUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies this row for a backordered OrderItem.

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

setRaBackAlloNum

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

setRaBackAlloNum

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

Feedback