Interface PropertyValueComparator

    • Method Detail

      • registerComparator

        void registerComparator​(ComparePropertyValueEvaluator evaluator)
        Callback method to register this comparator with the evaluator.
        Parameters:
        evaluator - the compare property value evaluator
      • compare

        boolean compare​(java.io.Serializable propertyValue,
                        java.io.Serializable compareValue,
                        ComparePropertyValueOperation operation)
        Compares the value of a property with the compare value, using the operator passed.
        Parameters:
        propertyValue - the property value
        compareValue - the compare value
        operation - the operation used to compare the two values
        Returns:
        the result of the comparison, true if successful false otherwise