com.ibm.commerce.edp.parsers.scoreandresponserules

Class ScoreRules

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


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

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

      Constructors 
      Constructor and Description
      ScoreRules() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ScoreRule getScoreRule(int index)
      This method returns the current score rule at a specified index.
      int getScoreRuleCount()
      This method returns the count of the score rules.
      void setScoreRule(int index, ScoreRule ScoreRule)
      This method sets the current score rule at a specified index.
      • 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

      • ScoreRules

        public ScoreRules()
    • Method Detail

      • setScoreRule

        public void setScoreRule(int index,
                                 ScoreRule ScoreRule)
        This method sets the current score rule at a specified index.
        Parameters:
        index - The position
        ScoreRule - The score rule to set
      • getScoreRule

        public ScoreRule getScoreRule(int index)
        This method returns the current score rule at a specified index.
        Parameters:
        index - The position
        Returns:
        The score rule at a specified index
      • getScoreRuleCount

        public int getScoreRuleCount()
        This method returns the count of the score rules.
        Returns:
        The count of the score rules