com.ibm.commerce.inventory.objects
Class ExpectedInventoryRecordsAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.inventory.objects.ExpectedInventoryRecordsAccessBean
All Implemented Interfaces:
ExpectedInventoryRecordsAccessBeanData, java.io.Serializable

public class ExpectedInventoryRecordsAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ExpectedInventoryRecordsAccessBeanData

This bean provides access to the RA table.

The following is a description of this table:

Records general information about inventory expected from a vendor. "RA" stands for Replenishment Advisement. However, the term "Expected Inventory Record" is used to mean the same thing.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ExpectedInventoryRecordsAccessBean()
          Default constructor.
ExpectedInventoryRecordsAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
ExpectedInventoryRecordsAccessBean(java.lang.Long VendorId, java.lang.Integer StoreId, java.sql.Timestamp OrderDate, java.sql.Timestamp CreateTime)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByAll()
          Retrieves all the Expected Inventory Records
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE 1=1
 java.util.Enumeration findByExpectedInventoryRecordsIdAndMarkForDelete(java.lang.Long aDByExpectedInventoryRecordsIdAndMarkForDelete)
          Retrieves all the Expected Inventory Records with the specified RAID and have not been deleted
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE T1.RAID = ? AND T1.MARKFORDELETE = 0
 java.util.Enumeration findByVendorIdSortedByExpectedInventoryRecordsId(java.lang.Long VendorId)
          Retrieves all the Open Expected Inventory Records with the specified VENDOR_ID
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE T1.VENDOR_ID = ? AND T1.OPENINDICATOR = 'Y' ORDER BY T1.RA_ID
 java.lang.String getCreateTime()
          This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getCreateTimeInEJBType()
          This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getDateClosed()
          This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getDateClosedInEJBType()
          This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.
 java.lang.String getExpectedInventoryRecordsId()
          This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getExpectedInventoryRecordsIdInEJBType()
          This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getExternalId()
          This method provides access to the RA.EXTERNALID column of DB2 type CHAR(20) NULL.
 java.lang.String getLastupdate()
          This method provides access to the RA.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the RA.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getOpenIndicator()
          This method provides access to the RA.OPENINDICATOR column of DB2 type CHAR(1) NULL.
 java.lang.String getOrderDate()
          This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getOrderDateInEJBType()
          This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getStoreId()
          This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getVendorId()
          This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getVendorIdInEJBType()
          This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCreateTime(java.lang.String aCreateTime)
          This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 void setCreateTime(java.sql.Timestamp aCreateTime)
          This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.
 void setDateClosed(java.lang.String aDateClosed)
          This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.
 void setDateClosed(java.sql.Timestamp aDateClosed)
          This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.
 void setExpectedInventoryRecordsId(java.lang.Long aExpectedInventoryRecordsId)
          This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.
 void setExpectedInventoryRecordsId(java.lang.String aExpectedInventoryRecordsId)
          This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.
 void setExternalId(java.lang.String aExternalId)
          This method provides access to the RA.EXTERNALID column of DB2 type CHAR(20) NULL.
 void setInitKey_expectedInventoryRecordsId(java.lang.String aInitKey_expectedInventoryRecordsId)
          Set the primary key for this object
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the RA.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the RA.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setOpenIndicator(java.lang.String aOpenIndicator)
          This method provides access to the RA.OPENINDICATOR column of DB2 type CHAR(1) NULL.
 void setOrderDate(java.lang.String aOrderDate)
          This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.
 void setOrderDate(java.sql.Timestamp aOrderDate)
          This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String aStoreId)
          This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setVendorId(java.lang.Long aVendorId)
          This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void setVendorId(java.lang.String aVendorId)
          This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedInventoryRecordsAccessBean

public ExpectedInventoryRecordsAccessBean()

Default constructor. Maps to findByPrimaryKey.


ExpectedInventoryRecordsAccessBean

public ExpectedInventoryRecordsAccessBean(javax.ejb.EJBObject object)
                                   throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ExpectedInventoryRecordsAccessBean

public ExpectedInventoryRecordsAccessBean(java.lang.Long VendorId,
                                          java.lang.Integer StoreId,
                                          java.sql.Timestamp OrderDate,
                                          java.sql.Timestamp CreateTime)
                                   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:
VendorId - - java.lang.Long
StoreId - - java.lang.Integer
OrderDate - - java.sql.Timestamp
CreateTime - - java.sql.Timestamp
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

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByAll

public java.util.Enumeration findByAll()
                                throws java.rmi.RemoteException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

Retrieves all the Expected Inventory Records
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE 1=1

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

findByExpectedInventoryRecordsIdAndMarkForDelete

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

Retrieves all the Expected Inventory Records with the specified RAID and have not been deleted
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE T1.RAID = ? AND T1.MARKFORDELETE = 0

Parameters:
ExpectedInventoryRecordsId - - java.lang.Long
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

findByVendorIdSortedByExpectedInventoryRecordsId

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

Retrieves all the Open Expected Inventory Records with the specified VENDOR_ID
The SQL query used to fetch the requested row from the RA table is:
SELECT * FROM RA T1 WHERE T1.VENDOR_ID = ? AND T1.OPENINDICATOR = 'Y' ORDER BY T1.RA_ID

Parameters:
VendorId - - java.lang.Long
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

getCreateTime

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

This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

Specified by:
getCreateTime in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCreateTimeInEJBType

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

This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

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

getDateClosed

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

This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date this record was closed.

Specified by:
getDateClosed in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDateClosedInEJBType

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

This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date this record was closed.

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

getExpectedInventoryRecordsId

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

This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Specified by:
getExpectedInventoryRecordsId in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getExpectedInventoryRecordsIdInEJBType

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

This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

getExternalId

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

This method provides access to the RA.EXTERNALID column of DB2 type CHAR(20) NULL.

The following is a description of this column:

An external identifier, usually supplied by the vendor, that can be used to reference this record.

Specified by:
getExternalId in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

The time of the last update.

Specified by:
getLastupdate in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

The time of the last update.

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

getMarkForDelete

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

This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this row has been marked for deletion:
0 = No.
1 = Yes, this row has been marked for deletion and should not be used.

Specified by:
getMarkForDelete in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMarkForDeleteInEJBType

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

This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this row has been marked for deletion:
0 = No.
1 = Yes, this row has been marked for deletion and should not be used.

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

getOpenIndicator

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

This method provides access to the RA.OPENINDICATOR column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Y = Expected inventory may still be received and allocated to backorders. N = No further inventory will be received. Expected inventory may not be allocated to backorders.

Specified by:
getOpenIndicator in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrderDate

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

This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the order was created with the vendor.

Specified by:
getOrderDate in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrderDateInEJBType

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

This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the order was created with the vendor.

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

getStoreId

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

This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the order.

Specified by:
getStoreId in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreIdInEJBType

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

This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the order.

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

getVendorId

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

This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Vendor that will be supplying the inventory for the order.

Specified by:
getVendorId in interface ExpectedInventoryRecordsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getVendorIdInEJBType

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

This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Vendor that will be supplying the inventory for the order.

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

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCreateTime

public void setCreateTime(java.lang.String aCreateTime)

This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

Specified by:
setCreateTime in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aCreateTime - java.lang.String
Returns:
void

setCreateTime

public void setCreateTime(java.sql.Timestamp aCreateTime)

This method provides access to the RA.CREATETIME column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date and time the row was created.

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

setDateClosed

public void setDateClosed(java.lang.String aDateClosed)

This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date this record was closed.

Specified by:
setDateClosed in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aDateClosed - java.lang.String
Returns:
void

setDateClosed

public void setDateClosed(java.sql.Timestamp aDateClosed)

This method provides access to the RA.DATECLOSED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date this record was closed.

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

setExpectedInventoryRecordsId

public void setExpectedInventoryRecordsId(java.lang.Long aExpectedInventoryRecordsId)

This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

setExpectedInventoryRecordsId

public void setExpectedInventoryRecordsId(java.lang.String aExpectedInventoryRecordsId)

This method provides access to the RA.RA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Specified by:
setExpectedInventoryRecordsId in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aExpectedInventoryRecordsId - java.lang.String
Returns:
void

setExternalId

public void setExternalId(java.lang.String aExternalId)

This method provides access to the RA.EXTERNALID column of DB2 type CHAR(20) NULL.

The following is a description of this column:

An external identifier, usually supplied by the vendor, that can be used to reference this record.

Specified by:
setExternalId in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aExternalId - java.lang.String
Returns:
void

setInitKey_expectedInventoryRecordsId

public void setInitKey_expectedInventoryRecordsId(java.lang.String aInitKey_expectedInventoryRecordsId)

Set the primary key for this object

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

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

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

The following is a description of this column:

The time of the last update.

Specified by:
setLastupdate in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The time of the last update.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this row has been marked for deletion:
0 = No.
1 = Yes, this row has been marked for deletion and should not be used.

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

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the RA.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this row has been marked for deletion:
0 = No.
1 = Yes, this row has been marked for deletion and should not be used.

Specified by:
setMarkForDelete in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
Returns:
void

setOpenIndicator

public void setOpenIndicator(java.lang.String aOpenIndicator)

This method provides access to the RA.OPENINDICATOR column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Y = Expected inventory may still be received and allocated to backorders. N = No further inventory will be received. Expected inventory may not be allocated to backorders.

Specified by:
setOpenIndicator in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aOpenIndicator - java.lang.String
Returns:
void

setOrderDate

public void setOrderDate(java.lang.String aOrderDate)

This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the order was created with the vendor.

Specified by:
setOrderDate in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aOrderDate - java.lang.String
Returns:
void

setOrderDate

public void setOrderDate(java.sql.Timestamp aOrderDate)

This method provides access to the RA.ORDERDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Date the order was created with the vendor.

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

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the order.

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

setStoreId

public void setStoreId(java.lang.String aStoreId)

This method provides access to the RA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store that owns the order.

Specified by:
setStoreId in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aStoreId - java.lang.String
Returns:
void

setVendorId

public void setVendorId(java.lang.Long aVendorId)

This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Vendor that will be supplying the inventory for the order.

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

setVendorId

public void setVendorId(java.lang.String aVendorId)

This method provides access to the RA.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Vendor that will be supplying the inventory for the order.

Specified by:
setVendorId in interface ExpectedInventoryRecordsAccessBeanData
Parameters:
aVendorId - java.lang.String
Returns:
void