com.ibm.commerce.order.beans

Class OrderItemOfferRelationshipDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.OrderItemOfferRelationshipInputDataBean, com.ibm.commerce.order.beans.OrderItemOfferRelationshipSmartDataBean, Delegator, java.io.Serializable


    public class OrderItemOfferRelationshipDataBean
    extends OrderItemOfferRelationshipDataBeanBase
    implements com.ibm.commerce.order.beans.OrderItemOfferRelationshipInputDataBean, com.ibm.commerce.order.beans.OrderItemOfferRelationshipSmartDataBean
    This databean represents an OrderItemOfferRelationship object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderItemOfferRelationshipDataBean

        public OrderItemOfferRelationshipDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        This method sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - TypedProperty
      • getDataBeanKeyIOrderItemId

        public java.lang.String getDataBeanKeyIOrderItemId()
        This method returns order item id.
        Specified by:
        getDataBeanKeyIOrderItemId in interface com.ibm.commerce.order.beans.OrderItemOfferRelationshipSmartDataBean
        Returns:
        java.lang.String
      • getDataBeanKeyIOfferId

        public java.lang.String getDataBeanKeyIOfferId()
        This method returns offer id.
        Specified by:
        getDataBeanKeyIOfferId in interface com.ibm.commerce.order.beans.OrderItemOfferRelationshipSmartDataBean
        Returns:
        java.lang.String
      • getCommandContext

        public CommandContext getCommandContext()
        This method returns the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        This method sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeyIOrderItemId

        public void setDataBeanKeyIOrderItemId(java.lang.String aIOrderItemId)
        This method sets order item id.
        Specified by:
        setDataBeanKeyIOrderItemId in interface com.ibm.commerce.order.beans.OrderItemOfferRelationshipInputDataBean
        Parameters:
        aIOrderItemId - java.lang.String
      • setDataBeanKeyIOfferId

        public void setDataBeanKeyIOfferId(java.lang.String aIOfferId)
        This method sets offer id.
        Specified by:
        setDataBeanKeyIOfferId in interface com.ibm.commerce.order.beans.OrderItemOfferRelationshipInputDataBean
        Parameters:
        aIOfferId - java.lang.String
      • populate

        public void populate()
        This method is used to populate the OrderItemOfferRelationshipDataBean. You must set the following parameters before running the populate() method.
      • OfferId
      • OrderItemId
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception
See Also:
setDataBeanKeyIOfferId(String), setDataBeanKeyIOrderItemId(String)