com.ibm.commerce.inventory.objects
Class DistributionArrangementBean

com.ibm.commerce.inventory.objects.DistributionArrangementBean
All Implemented Interfaces:
java.io.Serializable

public class DistributionArrangementBean
implements java.io.Serializable

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

Constructor Summary
DistributionArrangementBean()
           
 
Method Summary
 java.lang.Long getBaseItemId()
          This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getDistArrangId()
          This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getEndDate()
          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.sql.Timestamp getLastupdate()
          This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getMerchantStoreId()
          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.sql.Timestamp getStartDate()
          This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Integer getWholeSaleStoreId()
          This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
 void setBaseItemId(java.lang.Long 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 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 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 setPickingMethod(java.lang.String aPickingMethod)
          This method provides access to the DISTARRANG.PICKINGMETHOD column of DB2 type CHAR(1) 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.
 

Constructor Detail

DistributionArrangementBean

public DistributionArrangementBean()
Method Detail

getBaseItemId

public java.lang.Long getBaseItemId()

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

getDistArrangId

public java.lang.Long getDistArrangId()

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

getEndDate

public java.sql.Timestamp getEndDate()

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

getField1

public java.lang.String getField1()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField2

public java.lang.String getField2()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField3

public java.lang.String getField3()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getLastupdate

public java.sql.Timestamp getLastupdate()

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

getMerchantStoreId

public java.lang.Integer getMerchantStoreId()

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

getPickingMethod

public java.lang.String getPickingMethod()

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.

Returns:
java.lang.String

getStartDate

public java.sql.Timestamp getStartDate()

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

getWholeSaleStoreId

public java.lang.Integer getWholeSaleStoreId()

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

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

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

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.

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.

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.

Parameters:
aField3 - 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

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.

Parameters:
aPickingMethod - 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