com.ibm.commerce.catalog.beans

Class AttributeListDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, java.io.Serializable


    public class AttributeListDataBean
    extends SmartDataBeanImpl
    This bean represents a list of attributes that belong to a catalog entry. The list is an array of type AttributeDataBean. For example, if the catalog entry is an item that is a shirt, then a possible attribute may be the colour of the shirt. The attribute can be a descriptive attribute or a defining attribute. Defining attributes are used for SKU resolution, and descriptive attributes are not used for SKU resolution.

    You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.

    Access Beans: Attribute

    Mandatory Parameters (for single row retrieval):

    • catentry ID

    Optional Parameters:

    • Attribute Id, langId

    Some hints and tips for using this data bean are:

    • It is important to set the catentry ID value before activating the data bean
    • You can set parameters using the setters

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Reserved for IBM internal use.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeListDataBean

        public AttributeListDataBean()
    • Method Detail

      • getAttributeId

        public java.lang.String getAttributeId()
        Gets the attribute ID of the attribute.
        Returns:
        the attribute ID
      • getAttributeList

        public AttributeDataBean[] getAttributeList()
        Gets the list of AttributeDataBean.
        Returns:
        the list of AttributeDataBean
      • getCatalogEntryId

        public java.lang.String getCatalogEntryId()
        Gets the catalog entry ID to which the attribute list belongs to.
        Returns:
        the catalog entry ID
      • getLanguageId

        public java.lang.String getLanguageId()
        Gets the language ID of the attributes.
        Returns:
        the language ID
      • setAttributeId

        public void setAttributeId(java.lang.String newAttributeId)
        Sets the attribute ID of the attribute.
        Parameters:
        newAttributeId - the attribute ID of the attribute
      • setAttributeList

        public void setAttributeList(AttributeDataBean[] newAttributeList)
        Sets the list of AttributeDataBean.
        Parameters:
        newAttributeList - the list of AttributeDataBean
      • setCatalogEntryId

        public void setCatalogEntryId(java.lang.String newCatalogEntryId)
        Sets the catalog entry ID to which the attributes belong.
        Parameters:
        newCatalogEntryId - the catalog entry ID
      • setLanguageId

        public void setLanguageId(java.lang.String newLanguageId)
        Sets the language ID for the attribute. The language ID value must be equal to an entry in the LANGUAGE database table.
        Parameters:
        newLanguageId - the language ID