org.qi4j.api.query.grammar
Class ContainsAllSpecification<T>
java.lang.Object
org.qi4j.api.query.grammar.ExpressionSpecification
org.qi4j.api.query.grammar.ContainsAllSpecification<T>
- All Implemented Interfaces:
- Specification<Composite>
public class ContainsAllSpecification<T>
- extends ExpressionSpecification
Contains All Specification.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ContainsAllSpecification
public ContainsAllSpecification(PropertyFunction<? extends java.util.Collection<T>> collectionProperty,
java.lang.Iterable<T> valueCollection)
collectionProperty
public PropertyFunction<? extends java.util.Collection<T>> collectionProperty()
containedValues
public java.lang.Iterable<T> containedValues()
satisfiedBy
public boolean satisfiedBy(Composite item)
- Description copied from interface:
Specification
- Test whether an item matches the given specification
- Parameters:
item
- the item to be tested
- Returns:
- true if the item matches, false otherwise
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object