public abstract class AbstractPredicateImpl extends ExpressionImpl<Boolean> implements PredicateImplementor, Serializable
Predicate implementors providing
expression handling, negation and conjunction/disjunction handling.Predicate.BooleanOperatorParameterContainer.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, isNullalias, getValueHandlersforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcriteriaBuilder, isJunction, rendergetExpressions, getOperatoras, in, in, in, in, isNotNull, isNullgetAlias, getJavaTyperender, renderProjectiongetValueHandlersgetValueHandlerregisterParametersprotected AbstractPredicateImpl(CriteriaBuilderImpl criteriaBuilder)
public boolean isNegated()
PredicatePredicate.not() method
or the CriteriaBuilder.not() method.public Predicate not()
Predicatepublic final boolean isCompoundSelection()
SelectionisCompoundSelection in interface Selection<Boolean>isCompoundSelection in class SelectionImpl<Boolean>public final List<Selection<?>> getCompoundSelectionItems()
SelectiongetCompoundSelectionItems in interface Selection<Boolean>getCompoundSelectionItems in class SelectionImpl<Boolean>Copyright © 2017 JBoss by Red Hat. All rights reserved.