com.ibm.commerce.fulfillment.objects
Class InventoryBean

com.ibm.commerce.fulfillment.objects.InventoryBean
All Implemented Interfaces:
java.io.Serializable

public class InventoryBean
implements java.io.Serializable

This bean provides access to the INVENTORY table.

The following is a description of this table:

The inventory table. Refer to INVENTORY table: details for more information.

See Also:
Serialized Form

Constructor Summary
InventoryBean()
           
 
Method Summary
 java.lang.Long getCatalogEntryId()
          This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getFulfillmentCenterId()
          This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getInventoryFlags()
          This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
 java.lang.Double getQuantity()
          This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
 java.lang.String getQuantityMeasure()
          This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
 java.lang.Integer getStoreId()
          This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setInventoryFlags(java.lang.Integer aInventoryFlags)
          This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.
 void setQuantity(java.lang.Double aQuantity)
          This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.
 void setQuantityMeasure(java.lang.String aQuantityMeasure)
          This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the INVENTORY.STORE_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

InventoryBean

public InventoryBean()
Method Detail

getCatalogEntryId

public java.lang.Long getCatalogEntryId()

This method provides access to the INVENTORY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry.

Returns:
java.lang.Long

getFulfillmentCenterId

public java.lang.Integer getFulfillmentCenterId()

This method provides access to the INVENTORY.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The FulfillmentCenter.

Returns:
java.lang.Integer

getInventoryFlags

public java.lang.Integer getInventoryFlags()

This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.

Returns:
java.lang.Integer

getQuantity

public java.lang.Double getQuantity()

This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The quantity amount, in units indicated by QUANTITYMEASURE.

Returns:
java.lang.Double

getQuantityMeasure

public java.lang.String getQuantityMeasure()

This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

The unit of measurement for QUANTITY.

Returns:
java.lang.String

getStoreId

public java.lang.Integer getStoreId()

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

The following is a description of this column:

The Store.

Returns:
java.lang.Integer

setInventoryFlags

public void setInventoryFlags(java.lang.Integer aInventoryFlags)

This method provides access to the INVENTORY.INVENTORYFLAGS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Bit flags, from low to high order, indicating how QUANTITY is used:
1 = noUpdate. The default UpdateInventory task command does not update QUANTITY.
2 = noCheck. The default CheckInventory and UpdateInventory task commands do not check QUANTITY.

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

setQuantity

public void setQuantity(java.lang.Double aQuantity)

This method provides access to the INVENTORY.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The quantity amount, in units indicated by QUANTITYMEASURE.

Parameters:
aQuantity - java.lang.Double
Returns:
void

setQuantityMeasure

public void setQuantityMeasure(java.lang.String aQuantityMeasure)

This method provides access to the INVENTORY.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

The unit of measurement for QUANTITY.

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

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

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

The following is a description of this column:

The Store.

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