com.ibm.commerce.inventory.objects
Class StoreItemBean

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

public class StoreItemBean
implements java.io.Serializable

This bean provides access to the STOREITEM table.

The following is a description of this table:

Each row of this table contains attributes that affect how a particular Store allocates inventory for the specified items of a particular BaseItem. If there is no row for the Store, then the row for its StoreGroup is used.

See Also:
Serialized Form

Constructor Summary
StoreItemBean()
           
 
Method Summary
 java.lang.String getBackOrderable()
          This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.
 java.lang.Long getBaseItemId()
          This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCreditable()
          This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getForceBackOrder()
          This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getForeignSKU()
          This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20) NULL.
 java.lang.Long getForeignSystem()
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getMinimumQtyForSplit()
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 java.lang.String getReleaseSeparately()
          This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getReturnNotDesired()
          This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.
 java.lang.Integer getStoreentId()
          This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTrackInventory()
          This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL.
 void setBackOrderable(java.lang.String aBackOrderable)
          This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setCreditable(java.lang.String aCreditable)
          This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.
 void setForceBackOrder(java.lang.String aForceBackOrder)
          This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.
 void setforeignSKU(java.lang.String aForeignSKU)
          This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20) NULL.
 void setForeignSystem(java.lang.Long aForeignSystem)
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMinimumQtyForSplit(java.lang.Integer aMinimumQtyForSplit)
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 void setReleaseSeparately(java.lang.String aReleaseSeparately)
          This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.
 void setReturnNotDesired(java.lang.String aReturnNotDesired)
          This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setTrackInventory(java.lang.String aTrackInventory)
          This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL.
 

Constructor Detail

StoreItemBean

public StoreItemBean()
Method Detail

getBackOrderable

public java.lang.String getBackOrderable()

This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to indicate that specified items for this BaseItem cannot be backordered.
N = Items may not be backordered.
Y = Items may be backordered.

Returns:
java.lang.String

getBaseItemId

public java.lang.Long getBaseItemId()

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

The following is a description of this column:

The BaseItem.

Returns:
java.lang.Long

getCreditable

public java.lang.String getCreditable()

This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Whether the merchant will, without an override, issue a credit for this item.
N = Sold as-is.
Y = Creditable.
The requirement for the return of merchandise is evaluated separately.

Returns:
java.lang.String

getForceBackOrder

public java.lang.String getForceBackOrder()

This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to temporarily suspend allocation of specified items for this BaseItem.
N = Inventory can be allocated (normal behavior).
Y = Inventory cannot be allocated, even if there is enough inventory.

Returns:
java.lang.String

getForeignSKU

public java.lang.String getForeignSKU()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getForeignSystem

public java.lang.Long getForeignSystem()

This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long

getLastupdate

public java.sql.Timestamp getLastupdate()

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

The following is a description of this column:

The most recent time this row was updated.

Returns:
java.sql.Timestamp

getMinimumQtyForSplit

public java.lang.Integer getMinimumQtyForSplit()

This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

Returns:
java.lang.Integer

getReleaseSeparately

public java.lang.String getReleaseSeparately()

This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls how OrderItems for specified items for this BaseItem are released.
N = OrderItems may be released along with other OrderItems.
Y = OrderItems must be released separately (in their own boxes).

Returns:
java.lang.String

getReturnNotDesired

public java.lang.String getReturnNotDesired()

This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Item return not wanted, even if customer is willing or able to return it. For example, perishable food items. N = Request for credit evaluated based on the customers intention to return the item Y = Request for credit evaluated as if return is expected.

Returns:
java.lang.String

getStoreentId

public java.lang.Integer getStoreentId()

This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store or StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

Returns:
java.lang.Integer

getTrackInventory

public java.lang.String getTrackInventory()

This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls whether or not inventory is tracked in the RECEIPT table.
N = Inventory is not tracked (there are no entries in the RECEIPT table).
Y = Inventory is tracked in the RECEIPT table.

Returns:
java.lang.String

setBackOrderable

public void setBackOrderable(java.lang.String aBackOrderable)

This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to indicate that specified items for this BaseItem cannot be backordered.
N = Items may not be backordered.
Y = Items may be backordered.

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

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

The following is a description of this column:

The BaseItem.

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

setCreditable

public void setCreditable(java.lang.String aCreditable)

This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Whether the merchant will, without an override, issue a credit for this item.
N = Sold as-is.
Y = Creditable.
The requirement for the return of merchandise is evaluated separately.

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

setForceBackOrder

public void setForceBackOrder(java.lang.String aForceBackOrder)

This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to temporarily suspend allocation of specified items for this BaseItem.
N = Inventory can be allocated (normal behavior).
Y = Inventory cannot be allocated, even if there is enough inventory.

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

setforeignSKU

public void setforeignSKU(java.lang.String aForeignSKU)

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

The following is a description of this column:

Customizable.

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

setForeignSystem

public void setForeignSystem(java.lang.Long aForeignSystem)

This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The most recent time this row was updated.

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

setMinimumQtyForSplit

public void setMinimumQtyForSplit(java.lang.Integer aMinimumQtyForSplit)

This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

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

setReleaseSeparately

public void setReleaseSeparately(java.lang.String aReleaseSeparately)

This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls how OrderItems for specified items for this BaseItem are released.
N = OrderItems may be released along with other OrderItems.
Y = OrderItems must be released separately (in their own boxes).

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

setReturnNotDesired

public void setReturnNotDesired(java.lang.String aReturnNotDesired)

This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Item return not wanted, even if customer is willing or able to return it. For example, perishable food items. N = Request for credit evaluated based on the customers intention to return the item Y = Request for credit evaluated as if return is expected.

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

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store or StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

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

setTrackInventory

public void setTrackInventory(java.lang.String aTrackInventory)

This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls whether or not inventory is tracked in the RECEIPT table.
N = Inventory is not tracked (there are no entries in the RECEIPT table).
Y = Inventory is tracked in the RECEIPT table.

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