public abstract class AbstractSimplePredicate extends AbstractPredicateImpl implements Serializable
Predicate.BooleanOperator
ParameterContainer.Helper
Constructor and Description |
---|
AbstractSimplePredicate(CriteriaBuilderImpl criteriaBuilder) |
Modifier and Type | Method and Description |
---|---|
List<Expression<Boolean>> |
getExpressions()
Return the top-level conjuncts or disjuncts of the predicate.
|
Predicate.BooleanOperator |
getOperator()
Return the boolean operator for the predicate.
|
boolean |
isJunction()
Is this a conjunction or disjunction?
|
String |
render(RenderingContext renderingContext) |
String |
renderProjection(RenderingContext renderingContext) |
getCompoundSelectionItems, isCompoundSelection, isNegated, not
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
criteriaBuilder, render
as, in, in, in, in, isNotNull, isNull
getAlias, getJavaType
getValueHandlers
getValueHandler
registerParameters
public AbstractSimplePredicate(CriteriaBuilderImpl criteriaBuilder)
public boolean isJunction()
PredicateImplementor
isJunction
in interface PredicateImplementor
true
if this predicate is a junction (AND/OR); false
otherwisepublic Predicate.BooleanOperator getOperator()
Predicate
AND
.getOperator
in interface Predicate
public final List<Expression<Boolean>> getExpressions()
Predicate
getExpressions
in interface Predicate
public String render(RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2016 JBoss by Red Hat. All rights reserved.