public static class PredicateFactory.NestedPredicateHandler extends java.lang.Object implements PredicateHandler
Constructor and Description |
---|
PredicateFactory.NestedPredicateHandler() |
Modifier and Type | Method and Description |
---|---|
Predicate |
createPredicate(Property property,
Operation operation,
java.lang.Object value)
Creates a specific predicate.
|
boolean |
isHandling(Property property,
Operation operation,
java.lang.Object value)
Checks if the handler is applying to specific conditions concerning one
or more of the predicates properties.
|
public PredicateFactory.NestedPredicateHandler()
public Predicate createPredicate(Property property, Operation operation, java.lang.Object value)
PredicateHandler
createPredicate
in interface PredicateHandler
property
- The predicate's Property
objectoperation
- The Operation
to be applied for the predicatevalue
- The predicate's valuePredicate
instancepublic boolean isHandling(Property property, Operation operation, java.lang.Object value)
PredicateHandler
isHandling
in interface PredicateHandler
property
- The predicate's Property
objectoperation
- The Operation
applied on the predicatevalue
- The value for the predicatetrue
if it is handled for the given property and false
otherwise