public abstract class AbstractPredicateImpl extends ExpressionImpl<Boolean> implements Predicate, Serializable
Predicate
implementors providing
expression handling, negation and conjunction/disjunction handling.Predicate.BooleanOperator
ParameterContainer.Helper
Modifier | Constructor and Description |
---|---|
protected |
AbstractPredicateImpl(CriteriaBuilderImpl criteriaBuilder) |
Modifier and Type | Method and Description |
---|---|
List<Selection<?>> |
getCompoundSelectionItems()
Return the selection items composing a compound selection.
|
boolean |
isCompoundSelection()
Whether the selection item is a compound selection.
|
boolean |
isNegated()
Whether the predicate has been created from another
predicate by applying the
Predicate.not() method
or the CriteriaBuilder.not() method. |
Predicate |
not()
Create a negation of the predicate.
|
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getValueHandlers
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressions, getOperator
as, in, in, in, in, isNotNull, isNull
getAlias, getJavaType
getValueHandlers
getValueHandler
render, renderProjection
registerParameters
protected AbstractPredicateImpl(CriteriaBuilderImpl criteriaBuilder)
public boolean isNegated()
Predicate
Predicate.not()
method
or the CriteriaBuilder.not()
method.public Predicate not()
Predicate
public final boolean isCompoundSelection()
Selection
isCompoundSelection
in interface Selection<Boolean>
isCompoundSelection
in class SelectionImpl<Boolean>
public final List<Selection<?>> getCompoundSelectionItems()
Selection
getCompoundSelectionItems
in interface Selection<Boolean>
getCompoundSelectionItems
in class SelectionImpl<Boolean>
Copyright © 2018 JBoss by Red Hat. All rights reserved.