Interface Criteria<T>
- Type Parameters:
T- entity-type to apply the criteria to.
- All Known Implementing Classes:
AbstractCriteriaNode,CriteriaAndNode,CriteriaByExample,CriteriaOrNode,CriteriaSingleNode
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Criteria to apply to an entity and check if the criteria is fulfilled or not.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Criteria<T>Empty criteria which is alwaystrue.booleanChecks the criteria against the given object.
-
Method Details
-
createNoCriteria
Empty criteria which is alwaystrue. -
evaluate
Checks the criteria against the given object.- Parameters:
object- to check the criteria against.- Returns:
trueif the object is within the criteria,falseif not.
-