Package cz.cvut.kbss.jopa.query.criteria
Class AbstractPredicate
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<Y>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression<Boolean>
cz.cvut.kbss.jopa.query.criteria.AbstractPredicate
- All Implemented Interfaces:
- Expression<Boolean>,- Predicate,- Selection<Boolean>,- TupleElement<Boolean>
- Direct Known Subclasses:
- CompoundedPredicateImpl,- ExpressionInImpl,- IsMemberExpression,- SimplePredicateImpl
- 
Nested Class SummaryNested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.query.criteria.PredicatePredicate.BooleanOperator
- 
Field SummaryFieldsFields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpressioncb, negatedFields inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpltype
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractPredicate(Predicate.BooleanOperator booleanOperator, CriteriaBuilder cb) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract List<Expression<Boolean>>Return the top-level conjuncts or disjuncts of the predicate.Return the boolean operator for the predicate.protected voidabstract voidsetExpressionToQuery(StringBuilder query, CriteriaParameterFiller parameterFiller) Methods inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpressionin, in, isNegated, negateMethods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImplgetAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelectionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expressionin, inMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.SelectiongetCompoundedSelectionItems, isCompoundedSelectionMethods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElementgetAlias, getJavaType
- 
Field Details- 
booleanOperator
 
- 
- 
Constructor Details- 
AbstractPredicate
 
- 
- 
Method Details- 
getExpressionsDescription copied from interface:PredicateReturn the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate.- Specified by:
- getExpressionsin interface- Predicate
- Returns:
- list of boolean expressions forming the predicate
 
- 
getOperatorDescription copied from interface:PredicateReturn the boolean operator for the predicate. If the predicate is simple, this is AND.- Specified by:
- getOperatorin interface- Predicate
- Returns:
- boolean operator for the predicate
 
- 
setExpressionToQuerypublic abstract void setExpressionToQuery(StringBuilder query, CriteriaParameterFiller parameterFiller) - Specified by:
- setExpressionToQueryin class- AbstractExpression<Boolean>
 
- 
negateOperatorprotected void negateOperator()
 
-