Class NumberRangeRule

java.lang.Object
org.pentaho.di.trans.steps.numberrange.NumberRangeRule

public class NumberRangeRule extends Object
Contains one rule for a number range
Author:
ronny.roeller@fredhopper.com
  • Constructor Details

    • NumberRangeRule

      public NumberRangeRule(double lowerBound, double upperBound, String value)
  • Method Details

    • evaluate

      public String evaluate(double compareValue)
      Evaluates if the current value is within the range. If so, it returns the value. Otherwise it returns null.
    • getLowerBound

      public double getLowerBound()
    • getUpperBound

      public double getUpperBound()
    • getValue

      public String getValue()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object