Class AbstractCompareExpression

    • Constructor Detail

      • AbstractCompareExpression

        protected AbstractCompareExpression()
        Deprecated.
        The default constructor.
    • Method Detail

      • getValue

        public Object getValue()
        Deprecated.
        Compares the value read from the data-row with the value supplied by the expression itself. If the value is null or no comparable or cannot be compared for other reasons, this expression returns Boolean.FALSE.
        Returns:
        Boolean.TRUE or Boolean.FALSE.
      • getField

        public String getField()
        Deprecated.
        Returns the name of the field from where to read the first operand.
        Returns:
        the field name.
      • setField

        public void setField​(String field)
        Deprecated.
        Defines the name of the field from where to read the first operand.
        Parameters:
        field - the field name.
      • getCompareMethod

        public String getCompareMethod()
        Deprecated.
        Returns the compare method that should be used in the expression evaluation. Must be one of the constants declared in this expression.
        Returns:
        the compare method.
      • setCompareMethod

        public void setCompareMethod​(String compareMethod)
        Deprecated.
        Defines the compare method that should be used in the expression evaluation. Must be one of the constants declared in this expression.
        Parameters:
        compareMethod - the compare method.
      • getComparable

        protected abstract Comparable getComparable()
        Deprecated.
        Returns the right-hand operand used in the comparison.
        Returns:
        the right-hand operand.