Class RangeCondition

    • Constructor Detail

      • RangeCondition

        public RangeCondition​(java.lang.String operator,
                              java.math.BigDecimal from,
                              java.math.BigDecimal to,
                              java.math.BigDecimal treatNullValuesAs)
      • RangeCondition

        public RangeCondition​(RangeConditionOperator operator,
                              java.math.BigDecimal from,
                              java.math.BigDecimal to)
        Creates a new RangeCondition instance.
        Parameters:
        operator - The operator of the range condition.
        from - The left boundary value.
        to - The right boundary value.
      • RangeCondition

        public RangeCondition​(RangeConditionOperator operator,
                              java.math.BigDecimal from,
                              java.math.BigDecimal to,
                              java.math.BigDecimal treatNullValuesAs)
        Creates a new RangeCondition instance.
        Parameters:
        operator - The operator of the range condition.
        from - The left boundary value.
        to - The right boundary value.
        treatNullValuesAs - The number that will be used instead of compared values that are null.
    • Method Detail

      • getStringOperator

        public java.lang.String getStringOperator()
      • getFrom

        public java.math.BigDecimal getFrom()
        Returns:
        left boundary of the range
      • getTo

        public java.math.BigDecimal getTo()
        Returns:
        right boundary of the range
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object