Class CriteriaOrNode<T>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.criteria.AbstractCriteriaNode<T>
software.xdev.spring.data.eclipse.store.repository.query.criteria.CriteriaOrNode<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 either the leftCriteria or rightCriteria is true.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCriteriaOrNode(Criteria<T> leftCriteria, Criteria<T> rightCriteria) -
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
-
CriteriaOrNode
-
-
Method Details
-
evaluate
Checks the criteria against the given object.Evaluates to true if either the
leftCriteriaorrightCriteriais true.- Parameters:
object- to check the criteria against.- Returns:
trueif the object is within the criteria,falseif not.
-