Interface Predicate
- All Known Implementing Classes:
AndPredicate,BetweenExpression,EqualExpression,ExistsExpression,GreaterEqualExpression,GreaterThanExpression,InExpression,IsEmptyExpression,IsNullExpression,LessEqualExpression,LessThanExpression,LikeExpression,LogicalPredicate,MemberOfExpression,NotEqualExpression,OrPredicate
public interface Predicate
Interface used to define compound predicates.
-
Method Summary
-
Method Details
-
and
Creates an AND of the predicate with the argument.- Parameters:
predicate- - A simple or compound predicate- Returns:
- the predicate that is the AND of the original simple or compound predicate and the argument.
-
or
Creates an OR of the predicate with the argument.- Parameters:
predicate- - A simple or compound predicate- Returns:
- the predicate that is the OR of the original simple or compound predicate and the argument.
-
not
Predicate not()Creates a negation of the predicate with the argument.- Returns:
- the predicate that is the negation of the original simple or compound predicate.
-