com.ibm.commerce.catalog.objects
Class AttributeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.AttributeAccessBean
All Implemented Interfaces:
AttributeAccessBeanData
Direct Known Subclasses:
AttributeDataBean

public class AttributeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AttributeAccessBeanData

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

See Also:
Serialized Form

Constructor Summary
AttributeAccessBean()
          constructor
AttributeAccessBean(java.lang.Integer arg0, java.lang.String arg1)
          constructor
AttributeAccessBean(java.lang.Integer arg0, java.lang.String arg1, java.lang.Double arg2)
          constructor
AttributeAccessBean(java.lang.Integer arg0, java.lang.String arg1, java.lang.Double arg2, java.lang.Long arg3, java.lang.String arg4)
          constructor
AttributeAccessBean(javax.ejb.EJBObject o)
          constructor
AttributeAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2)
          constructor
AttributeAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2, java.lang.Double arg3)
          constructor
AttributeAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2, java.lang.String arg3)
          constructor
AttributeAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.Integer arg2, java.lang.Long arg3, java.lang.String arg4)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByAttributeId(java.lang.Long arg0)
          Finds the attribute with the attribute reference number.
 java.util.Enumeration findByCatalogEntryId(java.lang.Long arg0)
          Finds the attribute with the Catalog Entry reference number.
 java.util.Enumeration findByCatEntryLanguageAndSequence(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Double arg2)
          Finds the attribute with the Catalog Entry reference number, language Id, and sequence number.
 java.util.Enumeration findByCatEntryLanguageAndUsage(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2)
          Finds the attribute with the Catalog Entry reference number, language Id, and usage.
  AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String arg0, java.lang.Long arg1, java.lang.Integer arg2)
          Finds the attribute with the aName, Catalog Entry reference number, and language Id.
 java.util.Enumeration findByProduct(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the attribute with the product.
 java.lang.String getAttributeReferenceNumber()
          This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAttributeReferenceNumberInEJBType()
          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.
  AttributeValueAccessBean[] getAttributeValues()
          Gets the list of values defined for this attribute.
 java.lang.String getCatalogEntryReferenceNumber()
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
 java.lang.Long getCatalogEntryReferenceNumberInEJBType()
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
 java.lang.String getDescription()
          This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254).
 java.lang.String getDescription2()
          This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254).
 java.lang.Object[] getDistinctAttributeValues()
          Gets the list of distinct attribute values.
 java.lang.String getField1()
          This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254).
 java.lang.String getGroupName()
          This method accesses a non-CMP field
 java.lang.String getLanguage_id()
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguage_idInEJBType()
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Double getMaxSequenceForCatEntryAndLanguage(java.lang.Long arg0, java.lang.Integer arg1)
          This method returns the maximum attribute sequence number with the given Catalog Entry reference number and language Id.
 java.lang.String getName()
          This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254).
 java.lang.String getNoteInfo()
          This method accesses a non-CMP field
 java.lang.String getOID()
          This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64).
 java.lang.String getSequenceNumber()
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 java.lang.Double getSequenceNumberInEJBType()
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 java.lang.String getUsage()
          This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) DEFAULT '1'.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAttributeReferenceNumber(java.lang.Long newValue)
          This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 void setAttributeReferenceNumber(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 void setAttributeType(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
 void setCatalogEntryReferenceNumber(java.lang.Long newValue)
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
 void setCatalogEntryReferenceNumber(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
 void setDescription(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254).
 void setDescription2(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254).
 void setField1(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254).
 void setGroupName(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_attributeReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_language_id(java.lang.String newValue)
          Set the primary key for this object
 void setLanguage_id(java.lang.Integer newValue)
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguage_id(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setName(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254).
 void setNoteInfo(java.lang.String newValue)
          This method accesses a non-CMP field
 void setOID(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64).
 void setSequenceNumber(java.lang.Double newValue)
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setSequenceNumber(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setUsage(java.lang.String newValue)
          This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) DEFAULT '1'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAccessBean

public AttributeAccessBean()
constructor

AttributeAccessBean

public AttributeAccessBean(javax.ejb.EJBObject o)
                    throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

AttributeAccessBean

public AttributeAccessBean(java.lang.Integer arg0,
                           java.lang.String arg1)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Integer arg0,
                           java.lang.String arg1,
                           java.lang.Double arg2)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
arg2 - java.lang.Double
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Integer arg0,
                           java.lang.String arg1,
                           java.lang.Double arg2,
                           java.lang.Long arg3,
                           java.lang.String arg4)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
arg2 - java.lang.Double
arg3 - java.lang.Long
arg4 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Long arg0,
                           java.lang.Integer arg1,
                           java.lang.String arg2)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Long arg0,
                           java.lang.Integer arg1,
                           java.lang.String arg2,
                           java.lang.Double arg3)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.String
arg3 - java.lang.Double
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Long arg0,
                           java.lang.Integer arg1,
                           java.lang.String arg2,
                           java.lang.String arg3)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.String
arg3 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

AttributeAccessBean

public AttributeAccessBean(java.lang.Long arg0,
                           java.lang.String arg1,
                           java.lang.Integer arg2,
                           java.lang.Long arg3,
                           java.lang.String arg4)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - java.lang.Integer
arg3 - java.lang.Long
arg4 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
Method Detail

findByNameAndCatalogEntryAndLanguage

public AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String arg0,
                                                                java.lang.Long arg1,
                                                                java.lang.Integer arg2)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

Finds the attribute with the aName, Catalog Entry reference number, and language Id.

SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.NAME = aName and ATTRIBUTE.CATENTRY_ID = aCatEntry_id and ATTRIBUTE.Language_id = aLanguage_id

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeId

public java.util.Enumeration findByAttributeId(java.lang.Long arg0)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Finds the attribute with the attribute reference number.

SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.ATTRIBUTE_ID = attributeId

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatEntryLanguageAndSequence

public java.util.Enumeration findByCatEntryLanguageAndSequence(java.lang.Long arg0,
                                                               java.lang.Integer arg1,
                                                               java.lang.Double arg2)
                                                        throws java.rmi.RemoteException,
                                                               javax.ejb.FinderException,
                                                               javax.naming.NamingException

Finds the attribute with the Catalog Entry reference number, language Id, and sequence number.

SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.SEQUENCE = sequence

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatEntryLanguageAndUsage

public java.util.Enumeration findByCatEntryLanguageAndUsage(java.lang.Long arg0,
                                                            java.lang.Integer arg1,
                                                            java.lang.String arg2)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

Finds the attribute with the Catalog Entry reference number, language Id, and usage.

SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.USAGE = usage ORDER BY ATTRIBUTE.SEQUENCE

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogEntryId

public java.util.Enumeration findByCatalogEntryId(java.lang.Long arg0)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Finds the attribute with the Catalog Entry reference number.

SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByProduct

public java.util.Enumeration findByProduct(java.lang.Long arg0,
                                           java.lang.Integer arg1)
                                    throws java.rmi.RemoteException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Finds the attribute with the product.

SQL:
SELECT DESCRIPTION2, DESCRIPTION, SEQUENCE, ATTRIBUTE_ID, CATENTRY_ID, LANGUAGE_ID, OID, FIELD1, NAME, ATTRTYPE_ID, USAGE FROM ATTRIBUTE WHERE CATENTRY_ID = productReferenceNumber AND LANGUAGE_ID = language_id

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_attributeReferenceNumber

public void setInitKey_attributeReferenceNumber(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_language_id

public void setInitKey_language_id(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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

The following is a description of this column:

The Attribute description.

Specified by:
getDescription in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)

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

The following is a description of this column:

The Attribute description.

Specified by:
setDescription in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getDescription2

public java.lang.String getDescription2()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

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

The following is a description of this column:

An additional description field for this Attribute.

Specified by:
getDescription2 in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription2

public void setDescription2(java.lang.String newValue)

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

The following is a description of this column:

An additional description field for this Attribute.

Specified by:
setDescription2 in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getOID

public java.lang.String getOID()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOID in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOID

public void setOID(java.lang.String newValue)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOID in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getSequenceNumber

public java.lang.String getSequenceNumber()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

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

The following is a description of this column:

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

Specified by:
getSequenceNumber in interface AttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSequenceNumberInEJBType

public java.lang.Double getSequenceNumberInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

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

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
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSequenceNumber

public void setSequenceNumber(java.lang.String newValue)

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

The following is a description of this column:

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

Specified by:
setSequenceNumber in interface AttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setSequenceNumber

public void setSequenceNumber(java.lang.Double newValue)

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

The following is a description of this column:

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

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

getCatalogEntryReferenceNumber

public java.lang.String getCatalogEntryReferenceNumber()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

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

The following is a description of this column:

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

Specified by:
getCatalogEntryReferenceNumber in interface AttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogEntryReferenceNumberInEJBType

public java.lang.Long getCatalogEntryReferenceNumberInEJBType()
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.CreateException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

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

The following is a description of this column:

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

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.String newValue)

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

The following is a description of this column:

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

Specified by:
setCatalogEntryReferenceNumber in interface AttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.Long newValue)

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

The following is a description of this column:

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

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

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getAttributeReferenceNumber

public java.lang.String getAttributeReferenceNumber()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

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.

Specified by:
getAttributeReferenceNumber in interface AttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAttributeReferenceNumberInEJBType

public java.lang.Long getAttributeReferenceNumberInEJBType()
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.CreateException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

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
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAttributeReferenceNumber

public void setAttributeReferenceNumber(java.lang.String newValue)

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.

Specified by:
setAttributeReferenceNumber in interface AttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setAttributeReferenceNumber

public void setAttributeReferenceNumber(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

getUsage

public java.lang.String getUsage()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

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

The following is a description of this column:

The purpose of the Attribute. NULL or &quo

Specified by:
getUsage in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUsage

public void setUsage(java.lang.String newValue)

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

The following is a description of this column:

The purpose of the Attribute. NULL or &quo

Specified by:
setUsage in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getAttributeType

public java.lang.String getAttributeType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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.

Specified by:
getAttributeType in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAttributeType

public void setAttributeType(java.lang.String newValue)

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.

Specified by:
setAttributeType in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getLanguage_id

public java.lang.String getLanguage_id()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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.

Specified by:
getLanguage_id in interface AttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLanguage_idInEJBType

public java.lang.Integer getLanguage_idInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

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
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLanguage_id

public void setLanguage_id(java.lang.String newValue)

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.

Specified by:
setLanguage_id in interface AttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setLanguage_id

public void setLanguage_id(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

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

The following is a description of this column:

The name given to this Attribute.

Specified by:
getName in interface AttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)

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

The following is a description of this column:

The name given to this Attribute.

Specified by:
setName in interface AttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getAttributeValues

public AttributeValueAccessBean[] getAttributeValues()
                                              throws javax.naming.NamingException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     java.rmi.RemoteException

Gets the list of values defined for this attribute.

Returns:
com.ibm.commerce.catalog.objects.AttributeValueAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getMaxSequenceForCatEntryAndLanguage

public java.lang.Double getMaxSequenceForCatEntryAndLanguage(java.lang.Long arg0,
                                                             java.lang.Integer arg1)
                                                      throws javax.naming.NamingException,
                                                             javax.ejb.CreateException,
                                                             java.sql.SQLException,
                                                             javax.ejb.FinderException,
                                                             java.rmi.RemoteException

This method returns the maximum attribute sequence number with the given Catalog Entry reference number and language Id.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.sql.SQLException - The java.sql.SQLException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDistinctAttributeValues

public java.lang.Object[] getDistinctAttributeValues()
                                              throws javax.naming.NamingException,
                                                     javax.ejb.CreateException,
                                                     java.sql.SQLException,
                                                     javax.ejb.FinderException,
                                                     java.rmi.RemoteException

Gets the list of distinct attribute values.

Returns:
java.lang.Object[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.sql.SQLException - The java.sql.SQLException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getNoteInfo

public java.lang.String getNoteInfo()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getNoteInfo in interface AttributeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNoteInfo

public void setNoteInfo(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNoteInfo in interface AttributeAccessBeanData

getGroupName

public java.lang.String getGroupName()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getGroupName in interface AttributeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setGroupName

public void setGroupName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setGroupName in interface AttributeAccessBeanData