Class AbstractExpression<Y>
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<Y>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression<Y>
- All Implemented Interfaces:
- Expression<Y>,- Selection<Y>,- TupleElement<Y>
- Direct Known Subclasses:
- AbstractComparisonExpression,- AbstractFunctionExpression,- AbstractPathExpression,- AbstractPredicate,- ExpressionLiteralImpl,- ParameterExpressionImpl
Parent of all other types of expressions.
 
It offers its children the implementation of methods for IN expression as prescribed by the Expression interface. Prescribes an abstract method for expressing an expression to string builder representing the query.
- 
Field SummaryFieldsFields inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpltype
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreate a predicate to test whether the expression is a member of the argument list.in(Collection<?> values) Create a predicate to test whether the expression is a member of the collection.booleanvoidnegate()abstract voidsetExpressionToQuery(StringBuilder query, CriteriaParameterFiller parameterFiller) Methods 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.SelectiongetCompoundedSelectionItems, isCompoundedSelectionMethods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElementgetAlias, getJavaType
- 
Field Details- 
cb
- 
negatedprotected boolean negated
 
- 
- 
Constructor Details- 
AbstractExpression
 
- 
- 
Method Details- 
inDescription copied from interface:ExpressionCreate a predicate to test whether the expression is a member of the collection.- Specified by:
- inin interface- Expression<Y>
- Parameters:
- values- collection of values to be tested against
- Returns:
- predicate testing for membership
 
- 
inDescription copied from interface:ExpressionCreate a predicate to test whether the expression is a member of the argument list.- Specified by:
- inin interface- Expression<Y>
- Parameters:
- values- values to be tested against
- Returns:
- predicate testing for membership
 
- 
setExpressionToQuerypublic abstract void setExpressionToQuery(StringBuilder query, CriteriaParameterFiller parameterFiller) 
- 
isNegatedpublic boolean isNegated()
- 
negatepublic void negate()
 
-