com.ibm.commerce.catalog.beans

Class AttributeIntegerValueDataBean

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


    public class AttributeIntegerValueDataBean
    extends com.ibm.commerce.catalog.beansrc.AttributeIntegerValueDataBeanBase
    implements com.ibm.commerce.catalog.beans.AttributeIntegerValueInputDataBean, com.ibm.commerce.catalog.beans.AttributeIntegerValueSmartDataBean
    This bean represents an Integer type attribute value of a catalog entry. For example, if the catalog entry is a bag of paper towels, then an attribute may be the total number of rolls in a bag. The attribute 'the total number of rolls' can contain an attribute value of Integer type (for example 20 rolls, 5 rolls).

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

    Access Beans: AttributeIntegerValue

    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

      • AttributeIntegerValueDataBean

        public AttributeIntegerValueDataBean()
    • 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.AttributeIntegerValueSmartDataBean
        Returns:
        the 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.AttributeIntegerValueSmartDataBean
        Returns:
        the 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.AttributeIntegerValueInputDataBean
        Parameters:
        aAttributeValueReferenceNumber - the attribute value reference number
      • setDataBeanKeyLanguage_id

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