com.ibm.commerce.order.beans

Class OrderMemberGroupRelationshipDataBean

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


    public class OrderMemberGroupRelationshipDataBean
    extends OrderMemberGroupRelationshipDataBeanBase
    implements com.ibm.commerce.order.beans.OrderMemberGroupRelationshipInputDataBean, com.ibm.commerce.order.beans.OrderMemberGroupRelationshipSmartDataBean
    This databean represents an OrderMemberGroupRelationship 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

      • OrderMemberGroupRelationshipDataBean

        public OrderMemberGroupRelationshipDataBean(java.lang.String aIOrdersId,
                                                    java.lang.String aIMemberGroupId)
        Databean constructor.
        Parameters:
        aIOrdersId - order id.
        aIMemberGroupId - member group id
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method gets 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 - request property
      • getDataBeanKeyIOrdersId

        public java.lang.String getDataBeanKeyIOrdersId()
        This method gets the order id.
        Specified by:
        getDataBeanKeyIOrdersId in interface com.ibm.commerce.order.beans.OrderMemberGroupRelationshipSmartDataBean
        Returns:
        iDataBeanKeyIOrdersId order id
      • getDataBeanKeyIMemberGroupId

        public java.lang.String getDataBeanKeyIMemberGroupId()
        This method gets the member group id.
        Specified by:
        getDataBeanKeyIMemberGroupId in interface com.ibm.commerce.order.beans.OrderMemberGroupRelationshipSmartDataBean
        Returns:
        iDataBeanKeyIMemberGroupId member group id
      • getCommandContext

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

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

        public void setDataBeanKeyIOrdersId(java.lang.String aIOrdersId)
        This method sets the order id.
        Specified by:
        setDataBeanKeyIOrdersId in interface com.ibm.commerce.order.beans.OrderMemberGroupRelationshipInputDataBean
        Parameters:
        aIOrdersId - order id
      • setDataBeanKeyIMemberGroupId

        public void setDataBeanKeyIMemberGroupId(java.lang.String aIMemberGroupId)
        This method sets the member group id.
        Specified by:
        setDataBeanKeyIMemberGroupId in interface com.ibm.commerce.order.beans.OrderMemberGroupRelationshipInputDataBean
        Parameters:
        aIMemberGroupId - member group id
      • populate

        public void populate()
        This method is used to populate the OrderMemberGroupRelationshipDataBean. You must set the following parameters before running the populate() method.
      • MemberGroupId
      • OrderId
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception
See Also:
setDataBeanKeyIMemberGroupId(String), setDataBeanKeyIOrdersId(String)