JPA defines support for only IS TRUE and IS FALSE, not IS UNKNOWN (a > NULL is an example where the result would be UNKNOWN.
| Modifier and Type | Field and Description |
|---|---|
| private final Expression | |
| private final TruthValue |
| Access | Constructor and Description |
|---|---|
| public | ExplicitTruthValueCheck(CriteriaBuilderImpl criteriaBuilder, Expression<Boolean> booleanExpression, TruthValue truthValue)
|
| Modifier and Type | Method and Description |
|---|---|
| public Expression | |
| public TruthValue | |
| 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.
|
| booleanExpression | back to summary |
|---|---|
| private final Expression<Boolean> booleanExpression | |
| truthValue | back to summary |
|---|---|
| private final TruthValue truthValue | |
| ExplicitTruthValueCheck | back to summary |
|---|---|
| public ExplicitTruthValueCheck(CriteriaBuilderImpl criteriaBuilder, Expression<Boolean> booleanExpression, TruthValue truthValue) | |
| getBooleanExpression | back to summary |
|---|---|
| public Expression | |
| getTruthValue | back to summary |
|---|---|
| public TruthValue getTruthValue() | |
| 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.
| |