com.ibm.commerce.catalog.objects
Class CatalogEntryBean

com.ibm.commerce.catalog.objects.CatalogEntryBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BundleBean, DynamicKitBean, ItemBean, PackageBean, ProductBean

public class CatalogEntryBean
implements java.io.Serializable

This bean provides access to the CATENTRY table.

The following is a description of this table:

This table hold the information related to a CatalogEntry. Examples of CatalogEntries include Products, Items, Packages, and Bundles.

See Also:
Serialized Form

Constructor Summary
CatalogEntryBean()
           
 
Method Summary
 java.lang.Long getBaseItemId()
          This method provides access to the CATENTRY.BASEITEM_ID column of DB2 type BIGINT NULL.
 java.lang.Integer getBuyable()
          This method provides access to the CATENTRY.BUYABLE column of DB2 type INTEGER NULL.
 java.lang.Long getCatalogEntryReferenceNumber()
          This method provides access to the CATENTRY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getField1()
          This method provides access to the CATENTRY.FIELD1 column of DB2 type INTEGER NULL.
 java.lang.Integer getField2()
          This method provides access to the CATENTRY.FIELD2 column of DB2 type INTEGER NULL.
 java.math.BigDecimal getField3()
          This method provides access to the CATENTRY.FIELD3 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getField4()
          This method provides access to the CATENTRY.FIELD4 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField5()
          This method provides access to the CATENTRY.FIELD5 column of DB2 type VARCHAR(254) NULL.
 java.lang.Long getItemspc_id()
          This method provides access to the CATENTRY.ITEMSPC_ID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getLastUpdate()
          This method provides access to the CATENTRY.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getManufacturerName()
          This method provides access to the CATENTRY.MFNAME column of DB2 type VARCHAR(64) NULL.
 java.lang.String getManufacturerPartNumber()
          This method provides access to the CATENTRY.MFPARTNUMBER column of DB2 type VARCHAR(64) NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the CATENTRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberId()
          This method provides access to the CATENTRY.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOid()
          This method provides access to the CATENTRY.OID column of DB2 type VARCHAR(64) NULL.
 java.lang.Integer getOnAuction()
          This method provides access to the CATENTRY.ONAUCTION column of DB2 type INTEGER NULL.
 java.lang.Integer getOnSpecial()
          This method provides access to the CATENTRY.ONSPECIAL column of DB2 type INTEGER NULL.
 java.lang.String getPartNumber()
          This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.String getState()
          This method provides access to the CATENTRY.STATE column of DB2 type CHAR(1) NULL.
 java.lang.String getUrl()
          This method provides access to the CATENTRY.URL column of DB2 type VARCHAR(254) NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the CATENTRY.BASEITEM_ID column of DB2 type BIGINT NULL.
 void setBuyable(java.lang.Integer aBuyable)
          This method provides access to the CATENTRY.BUYABLE column of DB2 type INTEGER NULL.
 void setField1(java.lang.Integer aField1)
          This method provides access to the CATENTRY.FIELD1 column of DB2 type INTEGER NULL.
 void setField2(java.lang.Integer aField2)
          This method provides access to the CATENTRY.FIELD2 column of DB2 type INTEGER NULL.
 void setField3(java.math.BigDecimal aField3)
          This method provides access to the CATENTRY.FIELD3 column of DB2 type DECIMAL(20,5) NULL.
 void setField4(java.lang.String aField4)
          This method provides access to the CATENTRY.FIELD4 column of DB2 type VARCHAR(254) NULL.
 void setField5(java.lang.String aField5)
          This method provides access to the CATENTRY.FIELD5 column of DB2 type VARCHAR(254) NULL.
 void setItemspc_id(java.lang.Long aItemspc_id)
          This method provides access to the CATENTRY.ITEMSPC_ID column of DB2 type BIGINT NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the CATENTRY.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setManufacturerName(java.lang.String aManufacturerName)
          This method provides access to the CATENTRY.MFNAME column of DB2 type VARCHAR(64) NULL.
 void setManufacturerPartNumber(java.lang.String aManufacturerPartNumber)
          This method provides access to the CATENTRY.MFPARTNUMBER column of DB2 type VARCHAR(64) NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the CATENTRY.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the CATENTRY.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOid(java.lang.String aOid)
          This method provides access to the CATENTRY.OID column of DB2 type VARCHAR(64) NULL.
 void setOnAuction(java.lang.Integer aOnAuction)
          This method provides access to the CATENTRY.ONAUCTION column of DB2 type INTEGER NULL.
 void setOnSpecial(java.lang.Integer aOnSpecial)
          This method provides access to the CATENTRY.ONSPECIAL column of DB2 type INTEGER NULL.
 void setPartNumber(java.lang.String aPartNumber)
          This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 void setState(java.lang.String aState)
          This method provides access to the CATENTRY.STATE column of DB2 type CHAR(1) NULL.
 void setUrl(java.lang.String aUrl)
          This method provides access to the CATENTRY.URL column of DB2 type VARCHAR(254) NULL.
 

Constructor Detail

CatalogEntryBean

public CatalogEntryBean()
Method Detail

getBaseItemId

public java.lang.Long getBaseItemId()

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

The following is a description of this column:

The BaseItem that this CatalogEntry relates to. This column should only be populated for CatalogEntries that are of type "ProductBean" or "PackageBean". BaseItems are used for fulfillment.

Returns:
java.lang.Long

getBuyable

public java.lang.Integer getBuyable()

This method provides access to the CATENTRY.BUYABLE column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates whether this CatalogEntry can be purchased individually: 1=yes and 0=no.

Returns:
java.lang.Integer

getCatalogEntryReferenceNumber

public java.lang.Long getCatalogEntryReferenceNumber()

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

The following is a description of this column:

The internal reference number of the CatalogEntry.

Returns:
java.lang.Long

getField1

public java.lang.Integer getField1()

This method provides access to the CATENTRY.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer

getField2

public java.lang.Integer getField2()

This method provides access to the CATENTRY.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer

getField3

public java.math.BigDecimal getField3()

This method provides access to the CATENTRY.FIELD3 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getField4

public java.lang.String getField4()

This method provides access to the CATENTRY.FIELD4 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField5

public java.lang.String getField5()

This method provides access to the CATENTRY.FIELD5 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getItemspc_id

public java.lang.Long getItemspc_id()

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

The following is a description of this column:

The SpecifiedItem that this CatalogEntry relates to. This column should only be populated for CatalogEntries that are of type "ItemBean", "PackageBean", or "DynamicKitBean". SpecifiedItems are used for fulfillment.

Returns:
java.lang.Long

getLastUpdate

public java.sql.Timestamp getLastUpdate()

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

The following is a description of this column:

Indicates the last time the CatalogEntry was updated.

Returns:
java.sql.Timestamp

getManufacturerName

public java.lang.String getManufacturerName()

This method provides access to the CATENTRY.MFNAME column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the manufacturer of this CatalogEntry.

Returns:
java.lang.String

getManufacturerPartNumber

public java.lang.String getManufacturerPartNumber()

This method provides access to the CATENTRY.MFPARTNUMBER column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The part number used by the manufacturer to identify this CatalogEntry.

Returns:
java.lang.String

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

The following is a description of this column:

Indicates if this CatalogEntry has been marked for deletion:
0 = No.
1 = Yes.

Returns:
java.lang.Integer

getMemberId

public java.lang.Long getMemberId()

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

The following is a description of this column:

The reference number that identifies the owner of the CatalogEntry. Along with the PARTNUMBER, these columns are a unique index.

Returns:
java.lang.Long

getOid

public java.lang.String getOid()

This method provides access to the CATENTRY.OID column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getOnAuction

public java.lang.Integer getOnAuction()

This method provides access to the CATENTRY.ONAUCTION column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag identifies if this CatalogEntry is on auction.

Returns:
java.lang.Integer

getOnSpecial

public java.lang.Integer getOnSpecial()

This method provides access to the CATENTRY.ONSPECIAL column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag identifies if this CatalogEntry is on special.

Returns:
java.lang.Integer

getPartNumber

public java.lang.String getPartNumber()

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

The following is a description of this column:

The reference number that identifies the part number of the CatalogEntry. Along with the MEMBER_ID, these columns are a unique index.

Returns:
java.lang.String

getState

public java.lang.String getState()

This method provides access to the CATENTRY.STATE column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getUrl

public java.lang.String getUrl()

This method provides access to the CATENTRY.URL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The URL to this Catalog Entry. This can be used as a download URL for soft goods.

Returns:
java.lang.String

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

The following is a description of this column:

The BaseItem that this CatalogEntry relates to. This column should only be populated for CatalogEntries that are of type "ProductBean" or "PackageBean". BaseItems are used for fulfillment.

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

setBuyable

public void setBuyable(java.lang.Integer aBuyable)

This method provides access to the CATENTRY.BUYABLE column of DB2 type INTEGER NULL.

The following is a description of this column:

Indicates whether this CatalogEntry can be purchased individually: 1=yes and 0=no.

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

setField1

public void setField1(java.lang.Integer aField1)

This method provides access to the CATENTRY.FIELD1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.lang.Integer aField2)

This method provides access to the CATENTRY.FIELD2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Customizable.

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

setField3

public void setField3(java.math.BigDecimal aField3)

This method provides access to the CATENTRY.FIELD3 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField3 - java.math.BigDecimal
Returns:
void

setField4

public void setField4(java.lang.String aField4)

This method provides access to the CATENTRY.FIELD4 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

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

setField5

public void setField5(java.lang.String aField5)

This method provides access to the CATENTRY.FIELD5 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

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

setItemspc_id

public void setItemspc_id(java.lang.Long aItemspc_id)

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

The following is a description of this column:

The SpecifiedItem that this CatalogEntry relates to. This column should only be populated for CatalogEntries that are of type "ItemBean", "PackageBean", or "DynamicKitBean". SpecifiedItems are used for fulfillment.

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

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

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

The following is a description of this column:

Indicates the last time the CatalogEntry was updated.

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

setManufacturerName

public void setManufacturerName(java.lang.String aManufacturerName)

This method provides access to the CATENTRY.MFNAME column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the manufacturer of this CatalogEntry.

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

setManufacturerPartNumber

public void setManufacturerPartNumber(java.lang.String aManufacturerPartNumber)

This method provides access to the CATENTRY.MFPARTNUMBER column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The part number used by the manufacturer to identify this CatalogEntry.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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

The following is a description of this column:

Indicates if this CatalogEntry has been marked for deletion:
0 = No.
1 = Yes.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

The reference number that identifies the owner of the CatalogEntry. Along with the PARTNUMBER, these columns are a unique index.

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

setOid

public void setOid(java.lang.String aOid)

This method provides access to the CATENTRY.OID column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setOnAuction

public void setOnAuction(java.lang.Integer aOnAuction)

This method provides access to the CATENTRY.ONAUCTION column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag identifies if this CatalogEntry is on auction.

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

setOnSpecial

public void setOnSpecial(java.lang.Integer aOnSpecial)

This method provides access to the CATENTRY.ONSPECIAL column of DB2 type INTEGER NULL.

The following is a description of this column:

This flag identifies if this CatalogEntry is on special.

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

setPartNumber

public void setPartNumber(java.lang.String aPartNumber)

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

The following is a description of this column:

The reference number that identifies the part number of the CatalogEntry. Along with the MEMBER_ID, these columns are a unique index.

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

setState

public void setState(java.lang.String aState)

This method provides access to the CATENTRY.STATE column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setUrl

public void setUrl(java.lang.String aUrl)

This method provides access to the CATENTRY.URL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The URL to this Catalog Entry. This can be used as a download URL for soft goods.

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