com.ibm.commerce.negotiation.beans

Class ControlRuleDataBean

  • java.lang.Object
    • com.ibm.commerce.negotiation.beans.ControlRuleDataBean
    • Constructor Detail

      • ControlRuleDataBean

        public ControlRuleDataBean()
        Constructs a control rule data bean.
    • Method Detail

      • getCommandInterfaceName

        public abstract java.lang.String getCommandInterfaceName()
        Abstract method establishes interface used to get the value of command interface name.
        Specified by:
        getCommandInterfaceName in interface CommandDataBean
        Returns:
        the active command interface name.
      • getId

        public java.lang.String getId()
        Gets the control rule ID.
        Specified by:
        getId in interface ControlRuleSmartDataBean
        Returns:
        the control rule ID
      • getRuleDesc

        public java.lang.String getRuleDesc()
        Gets the control rule description.
        Specified by:
        getRuleDesc in interface ControlRuleSmartDataBean
        Returns:
        the rule description.
      • getRuleInterpreterClassId

        public java.lang.String getRuleInterpreterClassId()
        Gets the ID of the control rule interpreter class.
        Specified by:
        getRuleInterpreterClassId in interface ControlRuleSmartDataBean
        Returns:
        the ID of the control rule interpreter class.
      • setCommandInterfaceName

        public abstract void setCommandInterfaceName(java.lang.String ifname)
        Sets the command interface name.
        Specified by:
        setCommandInterfaceName in interface CommandDataBean
        Parameters:
        the - new command interface name.
      • setId

        public void setId(java.lang.String newId)
        Sets the control rule ID.
        Specified by:
        setId in interface ControlRuleInputDataBean
        Parameters:
        newId - the new control rule ID.
      • setOwnerId

        public void setOwnerId(java.lang.String newOwnerId)
        Sets the ownerId field.
        Specified by:
        setOwnerId in interface ControlRuleInputDataBean
        Parameters:
        newOwnerId - ID of the auction owner.
      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Parses required parameters from TypedProperty param.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        param - the name-value pairs of parameters.
      • setRuleDesc

        public void setRuleDesc(java.lang.String newRuleDesc)
        Sets the rule description.
        Specified by:
        setRuleDesc in interface ControlRuleInputDataBean
        Parameters:
        newRuleDesc - the new rule description.
      • setRuleInterpreterClassId

        public void setRuleInterpreterClassId(java.lang.String newRuleInterpreterClassId)
        Sets the rule interpreter class ID.
        Specified by:
        setRuleInterpreterClassId in interface ControlRuleInputDataBean
        Parameters:
        newRuleInterpreterClassId - the rule interpreter class ID.
      • setRuleName

        public void setRuleName(java.lang.String newRuleName)
        Sets the ruleName.
        Specified by:
        setRuleName in interface ControlRuleInputDataBean
        Parameters:
        newRuleName - the new rule name.
      • setRuleType

        public void setRuleType(java.lang.String newRuleType)
        Sets the ruleType.
        Specified by:
        setRuleType in interface ControlRuleInputDataBean
        Parameters:
        newRuleType - the new rule type.
      • setCommandContext

        public void setCommandContext(CommandContext cmdContext)
        Sets command context.
        Parameters:
        commandContext - The command context.