Class CompareQueryCondition


  • public class CompareQueryCondition
    extends AbstractPropertyQueryCondition
    A comparison between a property and a passed value.
    Since:
    12.5RC1
    Version:
    $Id: db2e2421648180d29d22e69cdf56ca9000e4c982 $
    • Constructor Detail

      • CompareQueryCondition

        public CompareQueryCondition​(String property,
                                     Object value,
                                     CompareQueryCondition.CompareType type)
        Parameters:
        property - the name of the property
        value - the value the property should be equal to
        type - the type of comparison
      • CompareQueryCondition

        public CompareQueryCondition​(String property,
                                     Object value,
                                     CompareQueryCondition.CompareType type,
                                     boolean reversed)
        Parameters:
        property - the name of the property
        value - the value the property should be equal to
        type - the type of comparison
        reversed - true if the condition should be reversed
      • CompareQueryCondition

        public CompareQueryCondition​(String property,
                                     boolean custom,
                                     Object value,
                                     CompareQueryCondition.CompareType type,
                                     boolean reversed)
        Parameters:
        property - the name of the property
        custom - true if the property is a custom parameter
        value - the value the property should be equal to
        type - the type of comparison
        reversed - true if the condition should be reversed
        Since:
        13.9RC1
      • CompareQueryCondition

        public CompareQueryCondition​(String property,
                                     boolean custom,
                                     Type customType,
                                     Object value,
                                     CompareQueryCondition.CompareType type,
                                     boolean reversed)
        Parameters:
        property - the name of the property
        custom - true if it's a custom event reversed
        customType - the type in which that property was stored
        value - the value the property should be equal to
        type - the type of comparison
        reversed - true if the condition should be reversed
        Since:
        14.2RC1