com.ibm.commerce.inventory.objects
Class ItemSpecificationBean

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

public class ItemSpecificationBean
implements java.io.Serializable

This bean provides access to the ITEMSPC table.

The following is a description of this table:

Information about specified items. A specified item is a product with values for all its attributes. A specified item could correspond to a 2L bottle of milk, with 2% fat content. A specified item is the customer view of what the merchant sells.

See Also:
Serialized Form

Constructor Summary
ItemSpecificationBean()
           
 
Method Summary
 java.lang.Long getBaseItemId()
          This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDiscontinued()
          This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL.
 java.lang.Long getItemspcId()
          This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberId()
          This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPartNumber()
          This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the ITEMSPC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setDiscontinued(java.lang.String aDiscontinued)
          This method provides access to the ITEMSPC.DISCONTINUED column of DB2 type CHAR(1) NOT NULL.
 void setItemspcId(java.lang.Long aItemspcId)
          This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the ITEMSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the ITEMSPC.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the ITEMSPC.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setPartNumber(java.lang.String aPartNumber)
          This method provides access to the ITEMSPC.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 

Constructor Detail

ItemSpecificationBean

public ItemSpecificationBean()
Method Detail

getBaseItemId

public java.lang.Long getBaseItemId()

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

The following is a description of this column:

The product BaseItem.

Returns:
java.lang.Long

getDiscontinued

public java.lang.String getDiscontinued()

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

The following is a description of this column:

Y = This item specification has been discontinued. It can be ordered if there is sufficient inventory but it cannot be backordered.
N = This item specification is active and may be backordered if out of stock.

Returns:
java.lang.String

getItemspcId

public java.lang.Long getItemspcId()

This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long

getLastupdate

public java.sql.Timestamp getLastupdate()

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

The following is a description of this column:

Timestamp of last update.

Returns:
java.sql.Timestamp

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

The following is a description of this column:

Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.

Returns:
java.lang.Integer

getMemberId

public java.lang.Long getMemberId()

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

The following is a description of this column:

The owner of this specified item.

Returns:
java.lang.Long

getPartNumber

public java.lang.String getPartNumber()

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

The following is a description of this column:

Uniquely identifies an item for a particular owner.

Returns:
java.lang.String

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

The following is a description of this column:

The product BaseItem.

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

setDiscontinued

public void setDiscontinued(java.lang.String aDiscontinued)

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

The following is a description of this column:

Y = This item specification has been discontinued. It can be ordered if there is sufficient inventory but it cannot be backordered.
N = This item specification is active and may be backordered if out of stock.

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

setItemspcId

public void setItemspcId(java.lang.Long aItemspcId)

This method provides access to the ITEMSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

Timestamp of last update.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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

The following is a description of this column:

Indicates if the specified item is marked for deletion:
0 = No, it may be ordered.
1 = Marked for deletion and cannot be ordered or backordered.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

The owner of this specified item.

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

setPartNumber

public void setPartNumber(java.lang.String aPartNumber)

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

The following is a description of this column:

Uniquely identifies an item for a particular owner.

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