com.ibm.commerce.inventory.objects
Class DistributionArrangementAccessBean

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

public class DistributionArrangementAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements DistributionArrangementAccessBeanData

This bean provides access to the DISTARRANG table.

The following is a description of this table:

Each row of this table represents a DistributionArrangement, enabling a Store to sell its own inventory.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
DistributionArrangementAccessBean()
          Default constructor.
DistributionArrangementAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
DistributionArrangementAccessBean(java.lang.Long BaseItemId, java.lang.Integer MerchantStoreId, java.lang.Integer WholeSaleStoreId, java.sql.Timestamp StartDate, java.sql.Timestamp EndDate)
          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 findByWholeSaleStoreIdAndBaseItemId(java.lang.Integer WholeSaleStoreId, java.lang.Long BaseItemId)
          Retrieves all the DistributionArrangements with the specified WHOLESALESTORE_ID and BASEITEM_ID
The SQL query used to fetch the requested row from the DISTARRANG table is:
SELECT * FROM DISTARRANG T1 WHERE T1.WHOLESALESTORE_ID = ? AND BASEITEM_ID = ?
 java.lang.String getBaseItemId()
          This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getBaseItemIdInEJBType()
          This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDistArrangId()
          This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getDistArrangIdInEJBType()
          This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getEndDate()
          This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getEndDateInEJBType()
          This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getField1()
          This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField2()
          This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField3()
          This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLastupdate()
          This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getMerchantStoreId()
          This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMerchantStoreIdInEJBType()
          This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getPickingMethod()
          This method provides access to the DISTARRANG.PICKINGMETHOD column of DB2 type CHAR(1) NULL.
 java.lang.String getStartDate()
          This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getStartDateInEJBType()
          This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getWholeSaleStoreId()
          This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getWholeSaleStoreIdInEJBType()
          This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setBaseItemId(java.lang.String aBaseItemId)
          This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setDistArrangId(java.lang.Long aDistArrangId)
          This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setDistArrangId(java.lang.String aDistArrangId)
          This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setEndDate(java.lang.String aEndDate)
          This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
 void setEndDate(java.sql.Timestamp aEndDate)
          This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_distArrangId(java.lang.String aInitKey_distArrangId)
          Set the primary key for this object
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMerchantStoreId(java.lang.Integer aMerchantStoreId)
          This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
 void setMerchantStoreId(java.lang.String aMerchantStoreId)
          This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
 void setPickingMethod(java.lang.String aPickingMethod)
          This method provides access to the DISTARRANG.PICKINGMETHOD column of DB2 type CHAR(1) NULL.
 void setStartDate(java.lang.String aStartDate)
          This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
 void setStartDate(java.sql.Timestamp aStartDate)
          This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
 void setWholeSaleStoreId(java.lang.Integer aWholeSaleStoreId)
          This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
 void setWholeSaleStoreId(java.lang.String aWholeSaleStoreId)
          This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER 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

DistributionArrangementAccessBean

public DistributionArrangementAccessBean()

Default constructor. Maps to findByPrimaryKey.


DistributionArrangementAccessBean

public DistributionArrangementAccessBean(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

DistributionArrangementAccessBean

public DistributionArrangementAccessBean(java.lang.Long BaseItemId,
                                         java.lang.Integer MerchantStoreId,
                                         java.lang.Integer WholeSaleStoreId,
                                         java.sql.Timestamp StartDate,
                                         java.sql.Timestamp EndDate)
                                  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:
BaseItemId - - java.lang.Long
MerchantStoreId - - java.lang.Integer
WholeSaleStoreId - - java.lang.Integer
StartDate - - java.sql.Timestamp
EndDate - 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

findByWholeSaleStoreIdAndBaseItemId

public java.util.Enumeration findByWholeSaleStoreIdAndBaseItemId(java.lang.Integer WholeSaleStoreId,
                                                                 java.lang.Long BaseItemId)
                                                          throws java.rmi.RemoteException,
                                                                 javax.ejb.FinderException,
                                                                 javax.naming.NamingException

Retrieves all the DistributionArrangements with the specified WHOLESALESTORE_ID and BASEITEM_ID
The SQL query used to fetch the requested row from the DISTARRANG table is:
SELECT * FROM DISTARRANG T1 WHERE T1.WHOLESALESTORE_ID = ? AND BASEITEM_ID = ?

Parameters:
WholeSaleStoreId - - java.lang.Integer
BaseItemId - - 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

getBaseItemId

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

This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The product covered by this distribution arrangement.

Specified by:
getBaseItemId in interface DistributionArrangementAccessBeanData
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

getBaseItemIdInEJBType

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

This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The product covered by this distribution arrangement.

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

getDistArrangId

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

This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

Specified by:
getDistArrangId in interface DistributionArrangementAccessBeanData
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

getDistArrangIdInEJBType

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

This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

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

getEndDate

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

This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement stops being effective.

Specified by:
getEndDate in interface DistributionArrangementAccessBeanData
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

getEndDateInEJBType

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

This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement stops being effective.

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

getField1

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

This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface DistributionArrangementAccessBeanData
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

getField2

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

This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface DistributionArrangementAccessBeanData
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

getField3

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

This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface DistributionArrangementAccessBeanData
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 DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this DistributionArrangement was most recently updated.

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

The following is a description of this column:

The time this DistributionArrangement was most recently updated.

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

getMerchantStoreId

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

This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.

Specified by:
getMerchantStoreId in interface DistributionArrangementAccessBeanData
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

getMerchantStoreIdInEJBType

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

This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.

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

getPickingMethod

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

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

The following is a description of this column:

Determines the sequence in which inventory is picked from the RECEIPT table under this arrangement:
F = FIFO (First In First Out) - the least recently received inventory.
L = LIFO (Last in First Out) - the most recently received inventory.

Specified by:
getPickingMethod in interface DistributionArrangementAccessBeanData
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

getStartDate

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

This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement begins being effective.

Specified by:
getStartDate in interface DistributionArrangementAccessBeanData
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

getStartDateInEJBType

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

This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement begins being effective.

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

getWholeSaleStoreId

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

This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The wholesale Store that owns the inventory that can be sold by the merchant Store.

Specified by:
getWholeSaleStoreId in interface DistributionArrangementAccessBeanData
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

getWholeSaleStoreIdInEJBType

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

This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The wholesale Store that owns the inventory that can be sold by the merchant Store.

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

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

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The product covered by this distribution arrangement.

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

setBaseItemId

public void setBaseItemId(java.lang.String aBaseItemId)

This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The product covered by this distribution arrangement.

Specified by:
setBaseItemId in interface DistributionArrangementAccessBeanData
Parameters:
aBaseItemId - java.lang.String
Returns:
void

setDistArrangId

public void setDistArrangId(java.lang.Long aDistArrangId)

This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

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

setDistArrangId

public void setDistArrangId(java.lang.String aDistArrangId)

This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

Specified by:
setDistArrangId in interface DistributionArrangementAccessBeanData
Parameters:
aDistArrangId - java.lang.String
Returns:
void

setEndDate

public void setEndDate(java.lang.String aEndDate)

This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement stops being effective.

Specified by:
setEndDate in interface DistributionArrangementAccessBeanData
Parameters:
aEndDate - java.lang.String
Returns:
void

setEndDate

public void setEndDate(java.sql.Timestamp aEndDate)

This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement stops being effective.

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

setField1

public void setField1(java.lang.String aField1)

This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface DistributionArrangementAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setField2

public void setField2(java.lang.String aField2)

This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface DistributionArrangementAccessBeanData
Parameters:
aField2 - java.lang.String
Returns:
void

setField3

public void setField3(java.lang.String aField3)

This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface DistributionArrangementAccessBeanData
Parameters:
aField3 - java.lang.String
Returns:
void

setInitKey_distArrangId

public void setInitKey_distArrangId(java.lang.String aInitKey_distArrangId)

Set the primary key for this object

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

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

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

The following is a description of this column:

The time this DistributionArrangement was most recently updated.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The time this DistributionArrangement was most recently updated.

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

setMerchantStoreId

public void setMerchantStoreId(java.lang.Integer aMerchantStoreId)

This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.

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

setMerchantStoreId

public void setMerchantStoreId(java.lang.String aMerchantStoreId)

This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.

Specified by:
setMerchantStoreId in interface DistributionArrangementAccessBeanData
Parameters:
aMerchantStoreId - java.lang.String
Returns:
void

setPickingMethod

public void setPickingMethod(java.lang.String aPickingMethod)

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

The following is a description of this column:

Determines the sequence in which inventory is picked from the RECEIPT table under this arrangement:
F = FIFO (First In First Out) - the least recently received inventory.
L = LIFO (Last in First Out) - the most recently received inventory.

Specified by:
setPickingMethod in interface DistributionArrangementAccessBeanData
Parameters:
aPickingMethod - java.lang.String
Returns:
void

setStartDate

public void setStartDate(java.lang.String aStartDate)

This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement begins being effective.

Specified by:
setStartDate in interface DistributionArrangementAccessBeanData
Parameters:
aStartDate - java.lang.String
Returns:
void

setStartDate

public void setStartDate(java.sql.Timestamp aStartDate)

This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this DistributionArrangement begins being effective.

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

setWholeSaleStoreId

public void setWholeSaleStoreId(java.lang.Integer aWholeSaleStoreId)

This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The wholesale Store that owns the inventory that can be sold by the merchant Store.

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

setWholeSaleStoreId

public void setWholeSaleStoreId(java.lang.String aWholeSaleStoreId)

This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The wholesale Store that owns the inventory that can be sold by the merchant Store.

Specified by:
setWholeSaleStoreId in interface DistributionArrangementAccessBeanData
Parameters:
aWholeSaleStoreId - java.lang.String
Returns:
void