Class AbstractCompareCriteria

    • Field Detail

      • EQ

        public static final int EQ
        Constant indicating the two operands are equal.
        See Also:
        Constant Field Values
      • NE

        public static final int NE
        Constant indicating the two operands are not equal.
        See Also:
        Constant Field Values
      • LT

        public static final int LT
        Constant indicating the first operand is less than the second.
        See Also:
        Constant Field Values
      • GT

        public static final int GT
        Constant indicating the first operand is greater than the second.
        See Also:
        Constant Field Values
      • LE

        public static final int LE
        Constant indicating the first operand is less than or equal to the second.
        See Also:
        Constant Field Values
      • GE

        public static final int GE
        Constant indicating the first operand is greater than or equal to the second.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractCompareCriteria

        public AbstractCompareCriteria()
    • Method Detail

      • getOperator

        public int getOperator()
        Returns the operator.
        Returns:
        The operator
      • setOperator

        public void setOperator​(int operator)
        Sets the operator.
        Parameters:
        operator -
      • getOperator

        public static int getOperator​(String op)
        Gets the operator constant given the string version
        Parameters:
        op - Operator, string form
        Returns:
        Operator, constant form
      • setLeftExpression

        public void setLeftExpression​(Expression expression)
        Set left expression.
        Parameters:
        expression - Left expression
      • getLeftExpression

        public Expression getLeftExpression()
        Get left expression.
        Returns:
        Left expression
      • getOperatorAsString

        public String getOperatorAsString()
        Returns the operator as a string.
        Returns:
        String version of operator
      • getInverseOperator

        public static int getInverseOperator​(int op)