Class QueryInProperty<T>

  • All Implemented Interfaces:
    java.io.Serializable

    public class QueryInProperty<T>
    extends QueryProperty
    Difference with QueryProperty is collection of possible values instead of single value. IMPORTANT:Tested only in postgressql!
    Version:
    $Id: $Id
    Author:
    denis
    See Also:
    Serialized Form
    • Constructor Detail

      • QueryInProperty

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

        Constructor for QueryInProperty.

        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.