Class AbstractPathExpression<X>
java.lang.Object
cz.cvut.kbss.jopa.query.criteria.SelectionImpl<Y>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression<X>
cz.cvut.kbss.jopa.query.criteria.expressions.AbstractPathExpression<X>
- All Implemented Interfaces:
Expression<X>,Path<X>,Selection<X>,TupleElement<X>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Metamodelprotected final AbstractPathExpressionFields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
cb, negatedFields inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
type -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPathExpression(Class<X> type, AbstractPathExpression pathSource, Metamodel metamodel, CriteriaBuilder cb) -
Method Summary
Modifier and TypeMethodDescription<Y> Path<Y>getAttr(SingularAttribute<? super X, Y> attribute) Create a path corresponding to the referenced single-valued attribute.<Y> Path<Y>Create a path corresponding to the referenced attribute.Path<?>Return the parent "node" in the path or null if no parent.Methods inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
in, in, isNegated, negate, setExpressionToQueryMethods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
getAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expression
in, inMethods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Selection
getCompoundedSelectionItems, isCompoundedSelectionMethods inherited from interface cz.cvut.kbss.jopa.model.query.TupleElement
getAlias, getJavaType
-
Field Details
-
pathSource
-
metamodel
-
-
Constructor Details
-
AbstractPathExpression
public AbstractPathExpression(Class<X> type, AbstractPathExpression pathSource, Metamodel metamodel, CriteriaBuilder cb)
-
-
Method Details
-
getAttr
Description copied from interface:PathCreate a path corresponding to the referenced attribute. -
getAttr
Description copied from interface:PathCreate a path corresponding to the referenced single-valued attribute. -
getParentPath
Description copied from interface:PathReturn the parent "node" in the path or null if no parent.- Specified by:
getParentPathin interfacePath<X>- Returns:
- parent
-