Class AttributeValueDataBean

  • All Implemented Interfaces:

    public class AttributeValueDataBean
    extends AttributeValueAccessBean
    This bean represents an attribute value of a catalog entry. Attribute values are the property of an attribute such as a specific color (blue or yellow) or size (medium).

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

    Access Beans: AttributeValue

    Mandatory Parameters (for single row retrieval):

    • attribute value ID

    Some hints and tips for using this data bean are:

    • It is important to set the attribute value ID value before activating the data bean
    • You can set parameters using the constructor, or setters

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • istrAttributeId

        public java.lang.String istrAttributeId
        The attribute ID of the attribute value.
      • istrName

        public java.lang.String istrName
        Name of the attribute value.
      • istrCatalogEntryId

        public java.lang.String istrCatalogEntryId
        The catalog entry ID to which the attribute value belongs to.
    • Constructor Detail

      • AttributeValueDataBean

        public AttributeValueDataBean()
        Creates an empty attribute value data bean.
      • AttributeValueDataBean

        public AttributeValueDataBean(AttributeValueAccessBean abAttributeValue)
        Constructor of the AttributeValueDataBean using an AttributeValueAccessBean
        abAttributeValue - an AttributeValueAccessBean that represent an attribute value
    • Method Detail

      • getAttributeDataBean

        public AttributeDataBean getAttributeDataBean()
        Gets the AttributeDataBean that represents the attribute of the attribute value.
      • getAttributeId

        public java.lang.String getAttributeId()
        Gets the attribute ID of the attribute value.
        the attribute ID
      • getAttributeValueId

        public java.lang.String getAttributeValueId()
        Gets the attribute value ID.
        attribute value ID
      • getCatalogEntryId

        public java.lang.String getCatalogEntryId()
        Gets the catalog entry ID that owns the attribute value.
        catalog entry ID
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        command context
      • getLanguageId

        public java.lang.String getLanguageId()
        Gets the language ID of the attribute value.
        the language ID
      • getName

        public java.lang.String getName()
        Gets the language dependent name of the attribute value.
        getName in class AttributeValueAccessBean
        the name of the attribute value
      • getValue

        public java.lang.String getValue()
        Gets the value of the attribute value in the form of a String.
        value of the attribute value
      • populate

        public void populate()
                      throws java.lang.Exception
        Loads data into the data bean when the DataBeanManager.activate() runs.
      • setAttributeId

        public void setAttributeId(java.lang.String newAttributeId)
        Sets the attribute ID of the attribute value.
        newAttributeId - the attribute ID
      • setAttributeValueId

        public void setAttributeValueId(java.lang.String newAttributeValueId)
        Sets the attribute value ID of the attribute value.
        newAttributeValueId - the attribute value ID
      • setCatalogEntryId

        public void setCatalogEntryId(java.lang.String newCatalogEntryId)
        Sets the catalog entry ID to which the attribute value belongs.
        newCatalogEntryId - the catalog entry ID
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Sets the command context within this bean.
        newCommandContext - the command context
      • 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.
        newLanguageId - the language ID
      • setName

        public void setName(java.lang.String newName)
        Sets the language dependent name of the attribute value.
        setName in class AttributeValueAccessBean
        newName - name of the attribute value