com.ibm.commerce.edp.parsers.scoreandresponserules

Class ScoreRule

  • java.lang.Object
    • com.ibm.commerce.edp.parsers.scoreandresponserules.ScoreRule


  • public class ScoreRule
    extends java.lang.Object
    This class represents the complex type ScoreRule.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ScoreRule() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDescription()
      This method returns the description of this score rule.
      int getFrom()
      This method returns the beginning value of this score rule.
      java.lang.String getResponse()
      This method returns the response of this score rule.
      java.lang.String getRuleType()
      This method returns the current rule type.
      int getTo()
      This method returns the ending value of this score rule.
      void setDescription(java.lang.String string)
      This method sets the description of this score rule.
      void setFrom(int i)
      This method sets the beginning value of this score value.
      void setResponse(java.lang.String string)
      This method sets the response of this score rule.
      void setRuleType(java.lang.String string)
      This method sets the rule type.
      void setTo(int i)
      This method sets the ending value of this score value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • ScoreRule

        public ScoreRule()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        This method returns the description of this score rule.
        Returns:
        The description of this score rule
      • getFrom

        public int getFrom()
        This method returns the beginning value of this score rule.
        Returns:
        The beginning value of this score rule
      • getResponse

        public java.lang.String getResponse()
        This method returns the response of this score rule.
        Returns:
        The response of this score rule
      • getRuleType

        public java.lang.String getRuleType()
        This method returns the current rule type.
        Returns:
        The current rule type
      • getTo

        public int getTo()
        This method returns the ending value of this score rule.
        Returns:
        The ending value of this score rule
      • setDescription

        public void setDescription(java.lang.String string)
        This method sets the description of this score rule.
        Parameters:
        string - The description to set
      • setFrom

        public void setFrom(int i)
        This method sets the beginning value of this score value.
        Parameters:
        i - The beginning value to set
      • setResponse

        public void setResponse(java.lang.String string)
        This method sets the response of this score rule.
        Parameters:
        string - The response to set
      • setRuleType

        public void setRuleType(java.lang.String string)
        This method sets the rule type.
        Parameters:
        string - The rule type to set
      • setTo

        public void setTo(int i)
        This method sets the ending value of this score value.
        Parameters:
        i - The ending value of this score value