Top Description Fields Constructors Methods
org.hibernate.query.criteria.internal.predicate

public abstract Class AbstractSimplePredicate

extends AbstractPredicateImpl
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Known Direct Subclasses
org.hibernate.query.criteria.internal.predicate.BetweenPredicate, org.hibernate.query.criteria.internal.predicate.BooleanAssertionPredicate, org.hibernate.query.criteria.internal.predicate.BooleanExpressionPredicate, org.hibernate.query.criteria.internal.predicate.BooleanStaticAssertionPredicate, org.hibernate.query.criteria.internal.predicate.ComparisonPredicate, org.hibernate.query.criteria.internal.predicate.ExistsPredicate, org.hibernate.query.criteria.internal.predicate.ExplicitTruthValueCheck, org.hibernate.query.criteria.internal.predicate.InPredicate, org.hibernate.query.criteria.internal.predicate.IsEmptyPredicate, org.hibernate.query.criteria.internal.predicate.LikePredicate, org.hibernate.query.criteria.internal.predicate.MemberOfPredicate, org.hibernate.query.criteria.internal.predicate.NullnessPredicate
Imports
java.io.Serializable, java.util.Collections, .List, javax.persistence.criteria.Expression, org.hibernate.query.criteria.internal.CriteriaBuilderImpl, org.hibernate.query.criteria.internal.compile.RenderingContext

TODO : javadoc
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final List<Expression<Boolean>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final List<Expression<Boolean>>
getExpressions()

Implements javax.persistence.criteria.Predicate.getExpressions.

Return the top-level conjuncts or disjuncts of the predicate.
public Predicate.BooleanOperator
getOperator()

Implements javax.persistence.criteria.Predicate.getOperator.

Return the boolean operator for the predicate.
public boolean
public String
render(RenderingContext renderingContext)

Implements org.hibernate.query.criteria.internal.Renderable.render.

Perform the rendering, returning the rendition
Inherited from org.hibernate.query.criteria.internal.predicate.AbstractPredicateImpl:
getCompoundSelectionItemsisCompoundSelectionisNegatednot

Field Detail

NO_EXPRESSIONSback to summary
private static final List<Expression<Boolean>> NO_EXPRESSIONS

Constructor Detail

AbstractSimplePredicateback to summary
public AbstractSimplePredicate(CriteriaBuilderImpl criteriaBuilder)

Method Detail

getExpressionsback to summary
public final List<Expression<Boolean>> getExpressions()

Implements javax.persistence.criteria.Predicate.getExpressions.

Doc from javax.persistence.criteria.Predicate.getExpressions.

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.

Returns:List<Expression<Boolean>>

list of boolean expressions forming the predicate

Annotations
@Override
getOperatorback to summary
public Predicate.BooleanOperator getOperator()

Implements javax.persistence.criteria.Predicate.getOperator.

Doc from javax.persistence.criteria.Predicate.getOperator.

Return the boolean operator for the predicate. If the predicate is simple, this is AND.

Returns:Predicate.BooleanOperator

boolean operator for the predicate

Annotations
@Override
isJunctionback to summary
public boolean isJunction()

Implements org.hibernate.query.criteria.internal.predicate.PredicateImplementor.isJunction.

Doc from org.hibernate.query.criteria.internal.predicate.PredicateImplementor.isJunction.

Is this a conjunction or disjunction?

Returns:boolean

true if this predicate is a junction (AND/OR); false otherwise

Annotations
@Override
renderback to summary
public String render(RenderingContext renderingContext)

Implements org.hibernate.query.criteria.internal.Renderable.render.

Doc from org.hibernate.query.criteria.internal.Renderable.render.

Perform the rendering, returning the rendition

Annotations
@Override