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 Metamodel
protected final AbstractPathExpression
Fields inherited from class cz.cvut.kbss.jopa.query.criteria.expressions.AbstractExpression
cb, negated
Fields 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, setExpressionToQuery
Methods inherited from class cz.cvut.kbss.jopa.query.criteria.SelectionImpl
getAlias, getCompoundedSelectionItems, getJavaType, isCompoundedSelection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Expression
in, in
Methods inherited from interface cz.cvut.kbss.jopa.model.query.criteria.Selection
getCompoundedSelectionItems, isCompoundedSelection
Methods 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:Path
Create a path corresponding to the referenced attribute. -
getAttr
Description copied from interface:Path
Create a path corresponding to the referenced single-valued attribute. -
getParentPath
Description copied from interface:Path
Return the parent "node" in the path or null if no parent.- Specified by:
getParentPath
in interfacePath<X>
- Returns:
- parent
-