Class PropertyEquals<T>

    • Constructor Detail

      • PropertyEquals

        public PropertyEquals​(Context<T> context,
                              String propertyName,
                              Object propertyValue)
        Deprecated.
        Creates a PropertyEquals query to query the specified context for objects with the specified property where that property is equal to the specified value.
        Parameters:
        context -
        propertyName -
        propertyValue -
      • PropertyEquals

        public PropertyEquals​(Context<T> context,
                              String propertyName,
                              Object propertyValue,
                              PropertyEqualsPredicate predicate)
        Deprecated.
        Creates a PropertyEquals query to query the specified context for objects with the specified property where that property is equal to the specified value.
        Parameters:
        context -
        propertyName -
        propertyValue -
        predicate - a custom predicate used to do the equals evaluation
    • Method Detail

      • createPredicate

        protected org.apache.commons.collections15.Predicate<T> createPredicate​(Context<T> context,
                                                                                String propertyName)
        Deprecated.
        Creates a Predicate that tests for property equality.
        Specified by:
        createPredicate in class AbstractPropertyQuery<T>
        Parameters:
        context -
        propertyName -
        Returns:
        a Predicate that tests for property equality.