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. This access bean corresponds to the database table 'ATTRIBUTE'.

See Also:
Serialized Form

Constructor Summary
AttributeAccessBean()
Zero argument constructor used to initialize the access bean.
AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(java.lang.Integer aLanguage_id, java.lang.String aAttributeType, java.lang.Double aSequenceNumber, java.lang.Long aCatEntry_id, java.lang.String aName)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(javax.ejb.EJBObject o)
constructor
AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id, java.lang.String aName, java.lang.String aAttributeType)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeAccessBean(java.lang.Long aAttributeReferenceNumber, java.lang.String aAttributeType, java.lang.Integer aLanguage_id, java.lang.Long aCatEntry_id, java.lang.String aName)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByAttributeId(java.lang.Long attributeId)
Finds the attribute with the attribute reference number.
java.util.Enumeration findByCatalogEntryId(java.lang.Long catalogEntryId)
Finds the attribute with the Catalog Entry reference number.
java.util.Enumeration findByCatEntryLanguageAndSequence(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.Double sequence)
Finds the attribute with the Catalog Entry reference number, language Id, and sequence number.
java.util.Enumeration findByCatEntryLanguageAndUsage(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.String usage)
Finds the attribute with the Catalog Entry reference number, language Id, and usage.
AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String aName, java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id)
Finds the attribute with the aName, Catalog Entry reference number, and language Id.
java.util.Enumeration findByProduct(java.lang.Long productReferenceNumber, java.lang.Integer language_id)
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 argCatEntryId, java.lang.Integer argLanguageId)
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 accesses a non-CMP field
void setAttributeReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setAttributeType(java.lang.String newValue)
This method accesses a non-CMP field
void setCatalogEntryReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatalogEntryReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription2(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
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 accesses a non-CMP field
void setLanguage_id(java.lang.String newValue)
This method accesses a non-CMP field
void setName(java.lang.String newValue)
This method accesses a non-CMP field
void setNoteInfo(java.lang.String newValue)
This method accesses a non-CMP field
void setOID(java.lang.String newValue)
This method accesses a non-CMP field
void setSequenceNumber(java.lang.Double newValue)
This method accesses a non-CMP field
void setSequenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setUsage(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AttributeAccessBean

public AttributeAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.Attribute com.ibm.commerce.catalog.objimpl.AttributeHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.AttributeKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_attributeReferenceNumber( java.lang.Long ) setInitKey_language_id( java.lang.Integer )

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 language_id,
                           java.lang.String attribute_type)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
language_id - The language id of the attribute. java.lang.Integer
attribute_type - The type of the attribute. java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Integer language_id,
                           java.lang.String attribute_type,
                           java.lang.Double sequence_number)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
language_id - The language id of the attribute. java.lang.Integer
attribute_type - The type of the attribute. java.lang.String
sequence_number - The sequence number of the attribute. java.lang.Double
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Integer aLanguage_id,
                           java.lang.String aAttributeType,
                           java.lang.Double aSequenceNumber,
                           java.lang.Long aCatEntry_id,
                           java.lang.String aName)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aLanguage_id - The language id of the attribute. java.lang.Integer
aAttributeType - The type of the attribute. java.lang.String
aSequenceNumber - The sequence number of the attribute. java.lang.Double
aCatEntry_id - The Catalog Entry Id of the attribute. java.lang.Long
aName - The aName of the attribute. java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Long attributeReferenceNumber,
                           java.lang.Integer language_id,
                           java.lang.String attribute_type)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
attributeReferenceNumber - The reference number of the attribute. java.lang.Long
language_id - The language id of the attribute. java.lang.Integer
attribute_type - The type of the attribute. java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Long attributeReferenceNumber,
                           java.lang.Integer language_id,
                           java.lang.String attribute_type,
                           java.lang.Double sequence_number)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
attributeReferenceNumber - The reference number of the attribute. java.lang.Long
language_id - The language id of the attribute. java.lang.Integer
attribute_type - The type of the attribute. java.lang.String
sequence_number - The sequence number of the attribute. java.lang.Double
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Long aCatEntry_id,
                           java.lang.Integer aLanguage_id,
                           java.lang.String aName,
                           java.lang.String aAttributeType)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aCatEntry_id - The reference number of the attribute. java.lang.Long
aLanguage_id - The language id of the attribute. java.lang.Integer
aName - The aName of the attribute. java.lang.String
aAttributeType - The type of the attribute. java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeAccessBean

public AttributeAccessBean(java.lang.Long aAttributeReferenceNumber,
                           java.lang.String aAttributeType,
                           java.lang.Integer aLanguage_id,
                           java.lang.Long aCatEntry_id,
                           java.lang.String aName)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException,
                           javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aAttributeReferenceNumber - The reference number of the attribute. java.lang.Long
aAttributeType - The type of the attribute. java.lang.String
aLanguage_id - The language id of the attribute. java.lang.Integer
aCatEntry_id - The Catalog Entry Id of the attribute. java.lang.Long
aName - The aName of the attribute. java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByNameAndCatalogEntryAndLanguage

public AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String aName,
                                                                java.lang.Long aCatEntry_id,
                                                                java.lang.Integer aLanguage_id)
                                                         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

Parameters:
aName - The aName of the attribute. java.lang.String
aCatEntry_id - An Catalog Entry reference number. java.lang.Long
aLanguage_id - The language Id. java.lang.Integer
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 attributeId)
                                        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

Parameters:
attributeId - An Attribute reference number. java.lang.Long
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 catalogEntryId,
                                                               java.lang.Integer languageId,
                                                               java.lang.Double sequence)
                                                        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

Parameters:
catalogEntryId - An Catalog Entry reference number. java.lang.Long
languageId - The language Id. java.lang.Integer
sequence - The sequence number. java.lang.Double
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 catalogEntryId,
                                                            java.lang.Integer languageId,
                                                            java.lang.String usage)
                                                     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

Parameters:
catalogEntryId - An Catalog Entry reference number. java.lang.Long
languageId - The language Id. java.lang.Integer
usage - The usage of the attribute. java.lang.String
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 catalogEntryId)
                                           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

Parameters:
catalogEntryId - An Catalog Entry reference number. java.lang.Long
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 productReferenceNumber,
                                           java.lang.Integer language_id)
                                    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

Parameters:
productReferenceNumber - The product reference number. java.lang.Long
language_id - The language ID. java.lang.Integer
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 accesses a non-CMP field
Specified by:
setDescription in interface AttributeAccessBeanData

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 accesses a non-CMP field
Specified by:
setDescription2 in interface AttributeAccessBeanData

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 accesses a non-CMP field
Specified by:
setOID in interface AttributeAccessBeanData

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 accesses a non-CMP field
Specified by:
setSequenceNumber in interface AttributeAccessBeanData

setSequenceNumber

public void setSequenceNumber(java.lang.Double newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setCatalogEntryReferenceNumber in interface AttributeAccessBeanData

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setField1 in interface AttributeAccessBeanData

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 accesses a non-CMP field
Specified by:
setAttributeReferenceNumber in interface AttributeAccessBeanData

setAttributeReferenceNumber

public void setAttributeReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field

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:

A code that represents 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 accesses a non-CMP field
Specified by:
setUsage in interface AttributeAccessBeanData

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 accesses a non-CMP field
Specified by:
setAttributeType in interface AttributeAccessBeanData

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 to which 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 to which 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 accesses a non-CMP field
Specified by:
setLanguage_id in interface AttributeAccessBeanData

setLanguage_id

public void setLanguage_id(java.lang.Integer newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setName in interface AttributeAccessBeanData

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 argCatEntryId,
                                                             java.lang.Integer argLanguageId)
                                                      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.

Parameters:
argCatEntryId - The Catalog Entry reference number.
argLanguageId - The 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
Throws:
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
Throws:
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

Feedback