public final class IdentityLinkPredicate extends Predicate
Note: Uses an IN
operator when comparing multiple expected values.
Constructor and Description |
---|
IdentityLinkPredicate(IdentityLinkType expectedType,
Collection<? extends Id> expectedValues)
Constructs a new predicate instance.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
apply(PredicateTransformation transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
getTypePredicate() |
Predicate |
getValuesPredicate() |
String |
toString() |
public IdentityLinkPredicate(IdentityLinkType expectedType, Collection<? extends Id> expectedValues)
expectedType
- the type of identity links used in this predicateexpectedValues
- the expected identity link values used in the comparisonpublic Predicate getTypePredicate()
public Predicate getValuesPredicate()
public Predicate apply(PredicateTransformation transformation)
Predicate
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.