com.ibm.commerce.inventory.objects
Class BaseItemBean

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

public class BaseItemBean
implements java.io.Serializable

This bean provides access to the BASEITEM table.

The following is a description of this table:

BaseItems represent a general family of goods with a common name and description. BaseItems are used exclusively for fulfillment. Each CatalogEntry that represents a Product in the catalog has a corresponding BaseItem for fulfillment purposes.

See Also:
Serialized Form

Constructor Summary
BaseItemBean()
           
 
Method Summary
 java.lang.Long getBaseItemId()
          This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getItemTypeId()
          This method provides access to the BASEITEM.ITEMTYPE_ID column of DB2 type CHAR(4) NOT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberId()
          This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPartnumber()
          This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.String getQuantityMeasure()
          This method provides access to the BASEITEM.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
 java.lang.Double getQuantityMultiple()
          This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setItemTypeId(java.lang.String aItemTypeId)
          This method provides access to the BASEITEM.ITEMTYPE_ID column of DB2 type CHAR(4) NOT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setPartnumber(java.lang.String aPartnumber)
          This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 void setQuantityMeasure(java.lang.String aQuantityMeasure)
          This method provides access to the BASEITEM.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL.
 void setQuantityMultiple(java.lang.Double aQuantityMultiple)
          This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL.
 

Constructor Detail

BaseItemBean

public BaseItemBean()
Method Detail

getBaseItemId

public java.lang.Long getBaseItemId()

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

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getItemTypeId

public java.lang.String getItemTypeId()

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

The following is a description of this column:

The type of BaseItem.

Returns:
java.lang.String

getLastupdate

public java.sql.Timestamp getLastupdate()

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

The following is a description of this column:

The last time this BaseItem was updated.

Returns:
java.sql.Timestamp

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

The following is a description of this column:

Indicates whether a BaseItem has been marked for deletion:
0 = No, the BaseItem can be used.
1 = Yes, The BaseItem has been marked for deletion and cannot be used. Refer to the DBClean utility online help for more information.

Returns:
java.lang.Integer

getMemberId

public java.lang.Long getMemberId()

This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of this BaseItem.

Returns:
java.lang.Long

getPartnumber

public java.lang.String getPartnumber()

This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

Uniquely identifies a BaseItem for a particular owner.

Returns:
java.lang.String

getQuantityMeasure

public java.lang.String getQuantityMeasure()

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

The following is a description of this column:

The unit of measure for QUANTITYMULTIPLE. For example, to represent one quarter of an inch, QUANTITYMULTIPLE would be 0.25, and QUANTITYMEASURE would indicate the QTYUNIT that represents inches (normally INH).

Returns:
java.lang.String

getQuantityMultiple

public java.lang.Double getQuantityMultiple()

This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Amounts of this BaseItem are measured in integral units. QUANTITYMULTIPLE, along with QUANTITYMEASURE, indicates how much each integral unit represents. For example, textiles might be measured in integral units each representing one quarter of an inch.

Returns:
java.lang.Double

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

The following is a description of this column:

Generated unique key.

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

setItemTypeId

public void setItemTypeId(java.lang.String aItemTypeId)

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

The following is a description of this column:

The type of BaseItem.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The last time this BaseItem was updated.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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

The following is a description of this column:

Indicates whether a BaseItem has been marked for deletion:
0 = No, the BaseItem can be used.
1 = Yes, The BaseItem has been marked for deletion and cannot be used. Refer to the DBClean utility online help for more information.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of this BaseItem.

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

setPartnumber

public void setPartnumber(java.lang.String aPartnumber)

This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

Uniquely identifies a BaseItem for a particular owner.

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

setQuantityMeasure

public void setQuantityMeasure(java.lang.String aQuantityMeasure)

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

The following is a description of this column:

The unit of measure for QUANTITYMULTIPLE. For example, to represent one quarter of an inch, QUANTITYMULTIPLE would be 0.25, and QUANTITYMEASURE would indicate the QTYUNIT that represents inches (normally INH).

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

setQuantityMultiple

public void setQuantityMultiple(java.lang.Double aQuantityMultiple)

This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL.

The following is a description of this column:

Amounts of this BaseItem are measured in integral units. QUANTITYMULTIPLE, along with QUANTITYMEASURE, indicates how much each integral unit represents. For example, textiles might be measured in integral units each representing one quarter of an inch.

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