public final class MultipleNamedValuePredicate extends Predicate
NamedValue
predicates (variable / property predicates) from each other.Modifier and Type | Method and Description |
---|---|
Predicate |
apply(PredicateTransformation transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
getPredicate()
Returns the marked predicate.
|
static Predicate |
match(Predicate predicate)
Marks the given predicate.
|
static Predicate |
matchAll(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
matchAny(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the OR operator.
|
static Predicate |
matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
String |
toString() |
public Predicate getPredicate()
public static Predicate matchAll(List<? extends Predicate> predicates)
predicates
- the predicates to markpublic static Predicate matchAny(List<? extends Predicate> predicates)
predicates
- the predicates to markpublic static Predicate match(Predicate predicate)
predicate
- the predicate to be markedpublic static Predicate matchAll(Predicate one, Predicate two, Predicate... more)
one
- the first predicatetwo
- the second predicatemore
- all further predicatespublic static Predicate matchAny(Predicate one, Predicate two, Predicate... more)
one
- the first predicatetwo
- the second predicatemore
- all further predicatespublic Predicate apply(PredicateTransformation transformation)
Predicate
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.