com.ibm.commerce.inventory.objects
Class InventoryAdjustmentAccessBean

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

public class InventoryAdjustmentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements InventoryAdjustmentAccessBeanData

This table records adjustments made to inventory. This access bean corresponds to the database table 'INVADJUST'.

See Also:
Serialized Form

Constructor Summary
InventoryAdjustmentAccessBean()
Zero argument constructor used to initialize the access bean.
InventoryAdjustmentAccessBean(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 getAdjustmentComment()
This method provides access to the INVADJUST.ADJUSTMENTCOMMENT column of DB2 type VARCHAR(254).
java.lang.String getAdjustmentDate()
This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getAdjustmentDateInEJBType()
This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.
java.lang.String getInvadjCodeId()
This method provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getInvadjCodeIdInEJBType()
This method provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getInvadjustId()
This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getInvadjustIdInEJBType()
This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getInvAdjustNum()
This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.Integer getInvAdjustNumInEJBType()
This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.String getLastupdate()
This method provides access to the INVADJUST.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastupdateInEJBType()
This method provides access to the INVADJUST.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getQuantity()
This method provides access to the INVADJUST.QUANTITY column of DB2 type INTEGER.
java.lang.Integer getQuantityInEJBType()
This method provides access to the INVADJUST.QUANTITY column of DB2 type INTEGER.
java.lang.String getReceiptId()
This method provides access to the INVADJUST.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getReceiptIdInEJBType()
This method provides access to the INVADJUST.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAdjustmentComment(java.lang.String newValue)
This method accesses a non-CMP field
void setAdjustmentDate(java.lang.String newValue)
This method accesses a non-CMP field
void setAdjustmentDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_invadjustId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_invAdjustNum(java.lang.String newValue)
Set the primary key for this object
void setInvadjCodeId(java.lang.Long newValue)
This method accesses a non-CMP field
void setInvadjCodeId(java.lang.String newValue)
This method accesses a non-CMP field
void setInvadjustId(java.lang.Long newValue)
This method accesses a non-CMP field
void setInvadjustId(java.lang.String newValue)
This method accesses a non-CMP field
void setInvAdjustNum(java.lang.Integer newValue)
This method accesses a non-CMP field
void setInvAdjustNum(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 setQuantity(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setReceiptId(java.lang.Long newValue)
This method accesses a non-CMP field
void setReceiptId(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

InventoryAdjustmentAccessBean

public InventoryAdjustmentAccessBean()
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.InventoryAdjustment com.ibm.commerce.inventory.objimpl.InventoryAdjustmentHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.InventoryAdjustmentKey) 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_invadjustId( java.lang.Long ) setInitKey_invAdjustNum( java.lang.Integer )

InventoryAdjustmentAccessBean

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

setInitKey_invadjustId

public void setInitKey_invadjustId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_invAdjustNum

public void setInitKey_invAdjustNum(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 INVADJUST.QUANTITY column of DB2 type INTEGER.

The following is a description of this column:

Quantity adjusted for this receipt.

Specified by:
getQuantity in interface InventoryAdjustmentAccessBeanData
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 INVADJUST.QUANTITY column of DB2 type INTEGER.

The following is a description of this column:

Quantity adjusted for this receipt.

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

setQuantity

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

getInvadjCodeId

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

This method provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to INVADJCODE table to indicate the type of adjustment being done.

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

getInvadjCodeIdInEJBType

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

This method provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to INVADJCODE table to indicate the type of adjustment being done.

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

setInvadjCodeId

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

setInvadjCodeId

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

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

The following is a description of this column:

Timestamp of last update.

Specified by:
getLastupdate in interface InventoryAdjustmentAccessBeanData
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 INVADJUST.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 accesses a non-CMP field
Specified by:
setLastupdate in interface InventoryAdjustmentAccessBeanData

setLastupdate

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

getAdjustmentComment

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

This method provides access to the INVADJUST.ADJUSTMENTCOMMENT column of DB2 type VARCHAR(254).

The following is a description of this column:

Comment.

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

setAdjustmentComment

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

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

The following is a description of this column:

Indicates the receipt which was adjusted.

Specified by:
getReceiptId in interface InventoryAdjustmentAccessBeanData
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 INVADJUST.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the receipt which was adjusted.

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

setReceiptId

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

getInvAdjustNum

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

This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this receipt adjustment along with its specified INVADJUST_ID.

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

getInvAdjustNumInEJBType

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

This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number that uniquely identifies this receipt adjustment along with its specified INVADJUST_ID.

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

setInvAdjustNum

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

setInvAdjustNum

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

getAdjustmentDate

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

This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of adjustment.

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

getAdjustmentDateInEJBType

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

This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of adjustment.

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

setAdjustmentDate

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

setAdjustmentDate

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

getInvadjustId

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

This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

System generated identifier which groups together the RECEIPT rows that were updated during an adjustment.

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

getInvadjustIdInEJBType

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

This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

System generated identifier which groups together the RECEIPT rows that were updated during an adjustment.

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

setInvadjustId

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

setInvadjustId

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

Feedback