com.ibm.commerce.catalog.objects
Class AttributeBean

com.ibm.commerce.catalog.objects.AttributeBean

public class AttributeBean

This bean provides access to the ATTRIBUTE table.

The following is a description of this table:

This table holds product Attributes which are used for descriptive or SKU resolution purposes.


Constructor Summary
AttributeBean()
           
 
Method Summary
 java.lang.Long getAttributeReferenceNumber()
          This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getAttributeType()
          This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
 java.lang.Long getCatalogEntryReferenceNumber()
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
 java.lang.String getDescription()
          This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDescription2()
          This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField1()
          This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getLanguage_id()
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getName()
          This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL.
 java.lang.String getOID()
          This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL.
 java.lang.Double getSequenceNumber()
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.String getUsage()
          This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) NULL.
 void setAttributeReferenceNumber(java.lang.Long aAttributeReferenceNumber)
          This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 void setAttributeType(java.lang.String aAttributeType)
          This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
 void setCatalogEntryReferenceNumber(java.lang.Long aCatalogEntryReferenceNumber)
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setDescription2(java.lang.String aDescription2)
          This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setLanguage_id(java.lang.Integer aLanguage_id)
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL.
 void setOID(java.lang.String aOID)
          This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL.
 void setSequenceNumber(java.lang.Double aSequenceNumber)
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
 void setUsage(java.lang.String aUsage)
          This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) NULL.
 

Constructor Detail

AttributeBean

public AttributeBean()
Method Detail

getAttributeReferenceNumber

public java.lang.Long getAttributeReferenceNumber()

This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Attribute.

Returns:
java.lang.Long

getAttributeType

public java.lang.String getAttributeType()

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

The following is a description of this column:

The type of the corresponding Attribute value. Foreign key to the ATTRTYPE table.

Returns:
java.lang.String

getCatalogEntryReferenceNumber

public java.lang.Long getCatalogEntryReferenceNumber()

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

The following is a description of this column:

The reference number of the Product to which this Attribute belongs.

Returns:
java.lang.Long

getDescription

public java.lang.String getDescription()

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

The following is a description of this column:

The Attribute description.

Returns:
java.lang.String

getDescription2

public java.lang.String getDescription2()

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

The following is a description of this column:

An additional description field for this Attribute.

Returns:
java.lang.String

getField1

public java.lang.String getField1()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getLanguage_id

public java.lang.Integer getLanguage_id()

This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language that this Attribute pertains to. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer

getName

public java.lang.String getName()

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

The following is a description of this column:

The name given to this Attribute.

Returns:
java.lang.String

getOID

public java.lang.String getOID()

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

getSequenceNumber

public java.lang.Double getSequenceNumber()

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

The following is a description of this column:

A sequence number that determines the display order of Attributes for a given product.

Returns:
java.lang.Double

getUsage

public java.lang.String getUsage()

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

The following is a description of this column:

The purpose of the Attribute. NULL or "1" indicates SKU-resolution. "2" indicates a descriptive Attribute and should not be used to resolve SKUs.

Returns:
java.lang.String

setAttributeReferenceNumber

public void setAttributeReferenceNumber(java.lang.Long aAttributeReferenceNumber)

This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Attribute.

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

setAttributeType

public void setAttributeType(java.lang.String aAttributeType)

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

The following is a description of this column:

The type of the corresponding Attribute value. Foreign key to the ATTRTYPE table.

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

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.Long aCatalogEntryReferenceNumber)

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

The following is a description of this column:

The reference number of the Product to which this Attribute belongs.

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

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

The Attribute description.

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

setDescription2

public void setDescription2(java.lang.String aDescription2)

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

The following is a description of this column:

An additional description field for this Attribute.

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

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

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

setLanguage_id

public void setLanguage_id(java.lang.Integer aLanguage_id)

This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language that this Attribute pertains to. For a list of language components, see the LANGUAGE table.

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

setName

public void setName(java.lang.String aName)

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

The following is a description of this column:

The name given to this Attribute.

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

setOID

public void setOID(java.lang.String aOID)

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

setSequenceNumber

public void setSequenceNumber(java.lang.Double aSequenceNumber)

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

The following is a description of this column:

A sequence number that determines the display order of Attributes for a given product.

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

setUsage

public void setUsage(java.lang.String aUsage)

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

The following is a description of this column:

The purpose of the Attribute. NULL or "1" indicates SKU-resolution. "2" indicates a descriptive Attribute and should not be used to resolve SKUs.

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