| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Predicate. | |
| private final PredicateImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | getExpressions()
Implements javax. |
| public Predicate. | getOperator()
Implements javax. |
| public boolean | isJunction()
Implements org. |
| public boolean | isNegated()
Implements javax. Predicate.not() method
or the CriteriaBuilder.not() method.
|
| private static List | negateCompoundExpressions(List<Expression<Boolean>> expressions, CriteriaBuilderImpl criteriaBuilder)
|
| public Predicate | |
| public void | registerParameters(ParameterRegistry
The parameter registry with which to register. registry)Implements org. |
| public String | render(boolean
Should the predicate be negated. isNegated, RenderingContext The context for rendering renderingContext)Implements org. Renderable#render used when the predicate is wrapped in a negated wrapper.
|
| public String | render(RenderingContext renderingContext)
Implements org. |
| negatedExpressions | back to summary |
|---|---|
| private final List<Expression<Boolean>> negatedExpressions | |
| negatedOperator | back to summary |
|---|---|
| private final Predicate. | |
| predicate | back to summary |
|---|---|
| private final PredicateImplementor predicate | |
| NegatedPredicateWrapper | back to summary |
|---|---|
public NegatedPredicateWrapper(PredicateImplementor predicate)
| |
| getExpressions | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query.
| |
| getOperator | back to summary |
|---|---|
| public Predicate. Implements javax. Doc from javax. Return the boolean operator for the predicate.
If the predicate is simple, this is
| |
| isJunction | back to summary |
|---|---|
| public boolean isJunction() Implements org. Doc from org. Is this a conjunction or disjunction?
| |
| isNegated | back to summary |
|---|---|
| public boolean isNegated() Implements javax. Doc from javax. Whether the predicate has been created from another
predicate by applying the
| |
| negateCompoundExpressions | back to summary |
|---|---|
| private static List | |
| not | back to summary |
|---|---|
| public Predicate not() Implements javax. Doc from javax. Create a negation of the predicate. | |
| registerParameters | back to summary |
|---|---|
| public void registerParameters(ParameterRegistry registry) Implements org. Doc from org. Register any parameters contained within this query component with the given registry.
| |
| render | back to summary |
|---|---|
| public String render(boolean isNegated, RenderingContext renderingContext) Implements org. Doc from org. Form of Note that this form is no-op in compound (junction) predicates. The reason being that compound predicates are more complex and the negation is applied during its creation.
| |
| render | back to summary |
|---|---|
| public String render(RenderingContext renderingContext) Implements org. Doc from org. Perform the rendering, returning the rendition
| |