com.ibm.commerce.inventory.objects
Class ItemVersionBean

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

public class ItemVersionBean
implements java.io.Serializable

This bean provides access to the ITEMVERSN table.

The following is a description of this table:

Each row of this table represents an ItemVersion for a BaseItem. An ItemVersion expires when its expiration date is in the past. Each BaseItem must only have a single ItemVersion defined.

See Also:
Serialized Form

Constructor Summary
ItemVersionBean()
           
 
Method Summary
 java.lang.Long getBaseItemId()
          This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getExpirationDate()
          This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.Long getItemversnId()
          This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 java.sql.Timestamp getLastupdate()
          This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getVersionName()
          This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setExpirationDate(java.sql.Timestamp aExpirationDate)
          This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
 void setItemversnId(java.lang.Long aItemversnId)
          This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setVersionName(java.lang.String aVersionName)
          This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.
 

Constructor Detail

ItemVersionBean

public ItemVersionBean()
Method Detail

getBaseItemId

public java.lang.Long getBaseItemId()

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

The following is a description of this column:

The BaseItem for this ItemVersion.

Returns:
java.lang.Long

getExpirationDate

public java.sql.Timestamp getExpirationDate()

This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this ItemVersion expires.

Returns:
java.sql.Timestamp

getItemversnId

public java.lang.Long getItemversnId()

This method provides access to the ITEMVERSN.ITEMVERSN_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 ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this ItemVersion was most recently updated.

Returns:
java.sql.Timestamp

getVersionName

public java.lang.String getVersionName()

This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Uniquely identifies this ItemVersion for its BaseItem.

Returns:
java.lang.String

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

The following is a description of this column:

The BaseItem for this ItemVersion.

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

setExpirationDate

public void setExpirationDate(java.sql.Timestamp aExpirationDate)

This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time this ItemVersion expires.

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

setItemversnId

public void setItemversnId(java.lang.Long aItemversnId)

This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

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

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The time this ItemVersion was most recently updated.

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

setVersionName

public void setVersionName(java.lang.String aVersionName)

This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Uniquely identifies this ItemVersion for its BaseItem.

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