com.ibm.commerce.catalog.objects
Class CatalogEntryRelationBean

com.ibm.commerce.catalog.objects.CatalogEntryRelationBean
All Implemented Interfaces:
java.io.Serializable

public class CatalogEntryRelationBean
implements java.io.Serializable

This bean provides access to the CATENTREL table.

The following is a description of this table:

This table holds containment relationships between CatalogEntries. Examples of these relationships are Product-Item, Bundle, and Package relationships. This table should not be used for peer-to-peer catalog relationships, such as cross-sells.

See Also:
Serialized Form

Constructor Summary
CatalogEntryRelationBean()
           
 
Method Summary
 java.lang.Long getCatalogEntryIdChild()
          This method provides access to the CATENTREL.CATENTRY_ID_CHILD column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogEntryIdParent()
          This method provides access to the CATENTREL.CATENTRY_ID_PARENT column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatalogRelationTypeId()
          This method provides access to the CATENTREL.CATRELTYPE_ID column of DB2 type CHAR(32) NOT NULL.
 java.lang.String getField1()
          This method provides access to the CATENTREL.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getField2()
          This method provides access to the CATENTREL.FIELD2 column of DB2 type INTEGER NULL.
 java.math.BigDecimal getField3()
          This method provides access to the CATENTREL.FIELD3 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getGroupName()
          This method provides access to the CATENTREL.GROUPNAME column of DB2 type VARCHAR(254) NULL.
 java.lang.String getOID()
          This method provides access to the CATENTREL.OID column of DB2 type VARCHAR(64) NULL.
 java.lang.Double getQuantity()
          This method provides access to the CATENTREL.QUANTITY column of DB2 type FLOAT NULL.
 java.lang.Double getSequence()
          This method provides access to the CATENTREL.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setCatalogEntryIdChild(java.lang.Long aCatalogEntryIdChild)
          This method provides access to the CATENTREL.CATENTRY_ID_CHILD column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryIdParent(java.lang.Long aCatalogEntryIdParent)
          This method provides access to the CATENTREL.CATENTRY_ID_PARENT column of DB2 type BIGINT NOT NULL.
 void setCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
          This method provides access to the CATENTREL.CATRELTYPE_ID column of DB2 type CHAR(32) NOT NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the CATENTREL.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setField2(java.lang.Integer aField2)
          This method provides access to the CATENTREL.FIELD2 column of DB2 type INTEGER NULL.
 void setField3(java.math.BigDecimal aField3)
          This method provides access to the CATENTREL.FIELD3 column of DB2 type DECIMAL(20,5) NULL.
 void setGroupName(java.lang.String aGroupName)
          This method provides access to the CATENTREL.GROUPNAME column of DB2 type VARCHAR(254) NULL.
 void setOID(java.lang.String aOID)
          This method provides access to the CATENTREL.OID column of DB2 type VARCHAR(64) NULL.
 void setQuantity(java.lang.Double aQuantity)
          This method provides access to the CATENTREL.QUANTITY column of DB2 type FLOAT NULL.
 void setSequence(java.lang.Double aSequence)
          This method provides access to the CATENTREL.SEQUENCE column of DB2 type FLOAT NOT NULL.
 

Constructor Detail

CatalogEntryRelationBean

public CatalogEntryRelationBean()
Method Detail

getCatalogEntryIdChild

public java.lang.Long getCatalogEntryIdChild()

This method provides access to the CATENTREL.CATENTRY_ID_CHILD column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the target CatalogEntry in this relationship.

Returns:
java.lang.Long

getCatalogEntryIdParent

public java.lang.Long getCatalogEntryIdParent()

This method provides access to the CATENTREL.CATENTRY_ID_PARENT column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the source CatalogEntry in this relationship.

Returns:
java.lang.Long

getCatalogRelationTypeId

public java.lang.String getCatalogRelationTypeId()

This method provides access to the CATENTREL.CATRELTYPE_ID column of DB2 type CHAR(32) NOT NULL.

The following is a description of this column:

The type of relationship: PRODUCT_ITEM, PACKAGE_COMPONENT or BUNDLE_COMPONENT. Foreign key to the CATRELTYPE table.

Returns:
java.lang.String

getField1

public java.lang.String getField1()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField2

public java.lang.Integer getField2()

This method provides access to the CATENTREL.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 CATENTREL.FIELD3 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal

getGroupName

public java.lang.String getGroupName()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getOID

public java.lang.String getOID()

This method provides access to the CATENTREL.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

getQuantity

public java.lang.Double getQuantity()

This method provides access to the CATENTREL.QUANTITY column of DB2 type FLOAT NULL.

The following is a description of this column:

A quantity that can be associated with the relationship.

Returns:
java.lang.Double

getSequence

public java.lang.Double getSequence()

This method provides access to the CATENTREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number used to determine the display order.

Returns:
java.lang.Double

setCatalogEntryIdChild

public void setCatalogEntryIdChild(java.lang.Long aCatalogEntryIdChild)

This method provides access to the CATENTREL.CATENTRY_ID_CHILD column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the target CatalogEntry in this relationship.

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

setCatalogEntryIdParent

public void setCatalogEntryIdParent(java.lang.Long aCatalogEntryIdParent)

This method provides access to the CATENTREL.CATENTRY_ID_PARENT column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the source CatalogEntry in this relationship.

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

setCatalogRelationTypeId

public void setCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)

This method provides access to the CATENTREL.CATRELTYPE_ID column of DB2 type CHAR(32) NOT NULL.

The following is a description of this column:

The type of relationship: PRODUCT_ITEM, PACKAGE_COMPONENT or BUNDLE_COMPONENT. Foreign key to the CATRELTYPE table.

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

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.lang.Integer aField2)

This method provides access to the CATENTREL.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 CATENTREL.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

setGroupName

public void setGroupName(java.lang.String aGroupName)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setOID

public void setOID(java.lang.String aOID)

This method provides access to the CATENTREL.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

setQuantity

public void setQuantity(java.lang.Double aQuantity)

This method provides access to the CATENTREL.QUANTITY column of DB2 type FLOAT NULL.

The following is a description of this column:

A quantity that can be associated with the relationship.

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

setSequence

public void setSequence(java.lang.Double aSequence)

This method provides access to the CATENTREL.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The sequence number used to determine the display order.

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