com.ibm.commerce.catalog.beans

Class AttributeStringValueDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.AttributeStringValueInputDataBean, com.ibm.commerce.catalog.beans.AttributeStringValueSmartDataBean, Delegator, java.io.Serializable


    public class AttributeStringValueDataBean
    extends com.ibm.commerce.catalog.beansrc.AttributeStringValueDataBeanBase
    implements com.ibm.commerce.catalog.beans.AttributeStringValueInputDataBean, com.ibm.commerce.catalog.beans.AttributeStringValueSmartDataBean
    This bean represents a String type attribute value of a catalog entry. 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 'colour' can contain attribute value of String type (for example red, green, blue).

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

    Access Beans: AttributeStringValue

    Mandatory Parameters (for single row retrieval):

    • attribute value reference number, language ID

    Some hints and tips for using this data bean are:

    • It is important to set the attribute value reference number, and language ID values 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
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeStringValueDataBean

        public AttributeStringValueDataBean()
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean. The following values are set in this method: attribute value reference number language ID
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - the request property
      • getDataBeanKeyAttributeValueReferenceNumber

        public java.lang.String getDataBeanKeyAttributeValueReferenceNumber()
        Gets the reference number of the attribute value.
        Specified by:
        getDataBeanKeyAttributeValueReferenceNumber in interface com.ibm.commerce.catalog.beans.AttributeStringValueSmartDataBean
        Returns:
        attribute value reference number
      • getDataBeanKeyLanguage_id

        public java.lang.String getDataBeanKeyLanguage_id()
        Gets the language ID of the attribute value.
        Specified by:
        getDataBeanKeyLanguage_id in interface com.ibm.commerce.catalog.beans.AttributeStringValueSmartDataBean
        Returns:
        language ID
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - the command context
      • setDataBeanKeyAttributeValueReferenceNumber

        public void setDataBeanKeyAttributeValueReferenceNumber(java.lang.String aAttributeValueReferenceNumber)
        Sets the reference number of the attribute value.
        Specified by:
        setDataBeanKeyAttributeValueReferenceNumber in interface com.ibm.commerce.catalog.beans.AttributeStringValueInputDataBean
        Parameters:
        aAttributeValueReferenceNumber - the attribute value reference number
      • setDataBeanKeyLanguage_id

        public void setDataBeanKeyLanguage_id(java.lang.String aLanguage_id)
        Sets the language ID of the attribute value.
        Specified by:
        setDataBeanKeyLanguage_id in interface com.ibm.commerce.catalog.beans.AttributeStringValueInputDataBean
        Parameters:
        aLanguage_id - language ID