Class CriteriaAndNode<T>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.criteria.AbstractCriteriaNode<T>
software.xdev.spring.data.eclipse.store.repository.query.criteria.CriteriaAndNode<T>
- All Implemented Interfaces:
Criteria<T>
Criteria to apply to an entity and check if the criteria is fulfilled or not.
Evaluates to true if all it's own AbstractCriteriaNode.predicates and childCriteria is true.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCriteriaAndNode(Criteria<T> childCriteria, ReflectedField<T, ?> field) -
Method Summary
Methods inherited from class software.xdev.spring.data.eclipse.store.repository.query.criteria.AbstractCriteriaNode
and, between, containing, endWith, exists, gt, gte, in, is, like, lt, lte, ne, nin, notContaining, notLike, orOperator, startWith
-
Constructor Details
-
CriteriaAndNode
-
-
Method Details
-
evaluate
Checks the criteria against the given object.Checks all it's own
AbstractCriteriaNode.predicatesand then evaluates it'schildCriteria- Parameters:
object- to check the criteria against.- Returns:
trueif the object is within the criteria,falseif not.
-