com.ibm.commerce.inventory.objects
Class InventoryAdjustmentCodeBean

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

public class InventoryAdjustmentCodeBean
implements java.io.Serializable

This bean provides access to the INVADJCODE table.

The following is a description of this table:

Each row of this table defines an InventoryAdjustmentCode for a Store, or the Stores in a StoreGroup. Each code represents a reason for an InventoryAdjustment, such as broken, lost, or found.

See Also:
Serialized Form

Constructor Summary
InventoryAdjustmentCodeBean()
           
 
Method Summary
 java.lang.String getAdjustCode()
          This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.
 java.lang.Long getInvAdjCodeId()
          This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
 java.lang.Integer getStoreentId()
          This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setAdjustCode(java.lang.String aAdjustCode)
          This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.
 void setInvAdjCodeId(java.lang.Long aInvAdjCodeId)
          This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

InventoryAdjustmentCodeBean

public InventoryAdjustmentCodeBean()
Method Detail

getAdjustCode

public java.lang.String getAdjustCode()

This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

A code that uniquely identifies this InventoryAdjustmentCode for a particular StoreEntity, suitable for display in a user interface that manages InventoryAdjustments and InventoryAdjustmentCodes.

Returns:
java.lang.String

getInvAdjCodeId

public java.lang.Long getInvAdjCodeId()

This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

Returns:
java.lang.Long

getLastupdate

public java.sql.Timestamp getLastupdate()

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

The following is a description of this column:

The time this InventoryAdjustmentCode was most recently updated.

Returns:
java.sql.Timestamp

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

The following is a description of this column:

Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.

Returns:
java.lang.Integer

getStoreentId

public java.lang.Integer getStoreentId()

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

The following is a description of this column:

The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.

Returns:
java.lang.Integer

setAdjustCode

public void setAdjustCode(java.lang.String aAdjustCode)

This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

A code that uniquely identifies this InventoryAdjustmentCode for a particular StoreEntity, suitable for display in a user interface that manages InventoryAdjustments and InventoryAdjustmentCodes.

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

setInvAdjCodeId

public void setInvAdjCodeId(java.lang.Long aInvAdjCodeId)

This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The time this InventoryAdjustmentCode was most recently updated.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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

The following is a description of this column:

Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.

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

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

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

The following is a description of this column:

The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.

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