public class PredicateFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PredicateFactory.IntToStringPredicateHandler
Handler for handling Predicates for properties that are stored as String
in the database but returned as int.
|
static class |
PredicateFactory.KeyPredicateHandler
Handler for handling Key Predicates.
|
static class |
PredicateFactory.NestedPredicateHandler
Handler for handling Nested Predicates.
|
static class |
PredicateFactory.RegistryObjectPropertySlotPredicateHandler
Handler for handling Registry Object Property Slot Predicates.
|
static class |
PredicateFactory.SlotPredicateHandler
Handler for handling Slot Predicates.
|
static class |
PredicateFactory.SupportTypePredicateHandler
Handler for handling Support Predicates.
|
Modifier and Type | Method and Description |
---|---|
void |
addPredicateHandler(PredicateHandler handler)
Adds the given predicate handler to the list of handlers.
|
Predicate |
createPredicate(Property property,
Operation operation,
java.lang.Object value)
Creating specific predicate depending on the handler suitable for handling the given properties.
|
static PredicateFactory |
getInstance()
Gets the predicate factory instance.
|
public static PredicateFactory getInstance()
PredicateFactory
instancepublic void addPredicateHandler(PredicateHandler handler)
handler
- The PredicateHandler
to add