public abstract class Predicate extends Object
Query
.
Multiple predicates can be combined through boolean operators in bulk via and(2 .. n Predicates)
/ or(2 .. n Predicates)
.
Constructor and Description |
---|
Predicate() |
Modifier and Type | Method and Description |
---|---|
Predicate |
and(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical AND operator.
|
Predicate |
apply(PredicateTransformation transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
not()
Negates this predicate through a logical NOT operator.
|
Predicate |
or(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical OR operator.
|
public Predicate and(Predicate predicate)
predicate
- the other predicatepublic Predicate or(Predicate predicate)
predicate
- the other predicatepublic Predicate not()
public Predicate apply(PredicateTransformation transformation)
transformation
- the predicate transformation to be appliedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.