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.

See Also:
Serialized Form

Constructor Summary
InventoryAdjustmentAccessBean()
          constructor
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 provides access to the INVADJUST.ADJUSTMENTCOMMENT column of DB2 type VARCHAR(254).
 void setAdjustmentDate(java.lang.String newValue)
          This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.
 void setAdjustmentDate(java.sql.Timestamp newValue)
          This method provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.
 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 provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setInvadjCodeId(java.lang.String newValue)
          This method provides access to the INVADJUST.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setInvadjustId(java.lang.Long newValue)
          This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.
 void setInvadjustId(java.lang.String newValue)
          This method provides access to the INVADJUST.INVADJUST_ID column of DB2 type BIGINT NOT NULL.
 void setInvAdjustNum(java.lang.Integer newValue)
          This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.
 void setInvAdjustNum(java.lang.String newValue)
          This method provides access to the INVADJUST.INVADJUSTNUM column of DB2 type INTEGER NOT NULL.
 void setLastupdate(java.lang.String newValue)
          This method provides access to the INVADJUST.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastupdate(java.sql.Timestamp newValue)
          This method provides access to the INVADJUST.LASTUPDATE column of DB2 type TIMESTAMP.
 void setQuantity(java.lang.Integer newValue)
          This method provides access to the INVADJUST.QUANTITY column of DB2 type INTEGER.
 void setQuantity(java.lang.String newValue)
          This method provides access to the INVADJUST.QUANTITY column of DB2 type INTEGER.
 void setReceiptId(java.lang.Long newValue)
          This method provides access to the INVADJUST.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptId(java.lang.String newValue)
          This method provides access to the INVADJUST.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

InventoryAdjustmentAccessBean

public InventoryAdjustmentAccessBean()
constructor

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 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:
setQuantity in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setQuantity

public void setQuantity(java.lang.Integer newValue)

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.

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

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 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:
setInvadjCodeId in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setInvadjCodeId

public void setInvadjCodeId(java.lang.Long newValue)

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.

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 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 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:
setLastupdate in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)

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.

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

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 provides access to the INVADJUST.ADJUSTMENTCOMMENT column of DB2 type VARCHAR(254).

The following is a description of this column:

Comment.

Specified by:
setAdjustmentComment in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - java.lang.String
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 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 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:
setReceiptId in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setReceiptId

public void setReceiptId(java.lang.Long newValue)

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.

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

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 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:
setInvAdjustNum in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setInvAdjustNum

public void setInvAdjustNum(java.lang.Integer newValue)

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.

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

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 provides access to the INVADJUST.ADJUSTMENTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of adjustment.

Specified by:
setAdjustmentDate in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setAdjustmentDate

public void setAdjustmentDate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Timestamp of adjustment.

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

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 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:
setInvadjustId in interface InventoryAdjustmentAccessBeanData
Parameters:
newValue - String
Returns:
void

setInvadjustId

public void setInvadjustId(java.lang.Long newValue)

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.

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