Class QueryContainsProperty<T>

  • All Implemented Interfaces:
    java.io.Serializable

    public class QueryContainsProperty<T>
    extends QueryProperty
    Query to List/Array Property. Passes only if Property contains all queried values. IMPORTANT:Not properly tested yet. Use on own risk!!!!
    Version:
    $Id: $Id
    Author:
    denis
    See Also:
    Serialized Form
    • Constructor Detail

      • QueryContainsProperty

        public QueryContainsProperty​(java.lang.String aName,
                                     T... aValues)

        Constructor for QueryContainsProperty.

        Parameters:
        aName - a String object.
        aValues - a T object.
      • QueryContainsProperty

        public QueryContainsProperty​(java.lang.String aName,
                                     java.util.Collection<T> aValues)

        Constructor for QueryContainsProperty.

        Parameters:
        aName - a String object.
        aValues - a Collection object.
    • Method Detail

      • doesMatch

        public boolean doesMatch​(java.lang.Object o)

        doesMatch.

        Overrides:
        doesMatch in class QueryProperty
        Parameters:
        o - a Object object.
        Returns:
        a boolean.
      • getComparator

        public java.lang.String getComparator()
        Returns the comparator operation for this query.
        Overrides:
        getComparator in class QueryProperty
        Returns:
        a String object.
      • getValue

        public java.lang.Object getValue()

        Getter for the field value.

        Overrides:
        getValue in class QueryProperty
        Returns:
        a Object object.
      • unprepaireable

        public boolean unprepaireable()

        unprepaireable.

        Overrides:
        unprepaireable in class QueryProperty
        Returns:
        a boolean.