public class PathImpl<X> extends ExpressionImpl<X> implements jakarta.persistence.criteria.Path<X>, Cloneable
Purpose: Contains the implementation of the Path interface of the JPA criteria API.
Description: This class represents an abstract path which is a model of the expression through joins.
Path,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
modelArtifact |
protected jakarta.persistence.criteria.Path<?> |
pathParent |
isLiteral, literal, metamodelalias, currentNode, javaType| Constructor and Description |
|---|
PathImpl(jakarta.persistence.criteria.Path<?> parent,
jakarta.persistence.metamodel.Metamodel metamodel,
Class<X> javaClass,
Expression expressionNode,
jakarta.persistence.metamodel.Bindable modelArtifact) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
<K,V,M extends Map<K,V>> |
get(jakarta.persistence.metamodel.MapAttribute<X,K,V> map)
Return the path corresponding to the referenced map-valued attribute.
|
<E,C extends Collection<E>> |
get(jakarta.persistence.metamodel.PluralAttribute<X,C,E> collection)
Return the path corresponding to the referenced collection-valued
attribute.
|
<Y> jakarta.persistence.criteria.Path<Y> |
get(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> att)
Return the path corresponding to the referenced non-collection valued
attribute.
|
<Y> jakarta.persistence.criteria.Path<Y> |
get(String attName) |
jakarta.persistence.metamodel.Bindable<X> |
getModel()
Return the bindable object that corresponds to the path expression.
|
jakarta.persistence.criteria.Path<?> |
getParentPath()
Return the parent "node" in the path.
|
jakarta.persistence.criteria.Expression<Class<? extends X>> |
type()
Return an expression corresponding to the type of the path.
|
as, buildExpressionForAs, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRootequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullprotected jakarta.persistence.criteria.Path<?> pathParent
protected Object modelArtifact
public PathImpl(jakarta.persistence.criteria.Path<?> parent,
jakarta.persistence.metamodel.Metamodel metamodel,
Class<X> javaClass,
Expression expressionNode,
jakarta.persistence.metamodel.Bindable modelArtifact)
public jakarta.persistence.metamodel.Bindable<X> getModel()
getModel in interface jakarta.persistence.criteria.Path<X>public jakarta.persistence.criteria.Path<?> getParentPath()
getParentPath in interface jakarta.persistence.criteria.Path<X>public <Y> jakarta.persistence.criteria.Path<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> att)
get in interface jakarta.persistence.criteria.Path<X>att - attributepublic <E,C extends Collection<E>> jakarta.persistence.criteria.Expression<C> get(jakarta.persistence.metamodel.PluralAttribute<X,C,E> collection)
get in interface jakarta.persistence.criteria.Path<X>collection - collection-valued attributepublic <K,V,M extends Map<K,V>> jakarta.persistence.criteria.Expression<M> get(jakarta.persistence.metamodel.MapAttribute<X,K,V> map)
get in interface jakarta.persistence.criteria.Path<X>map - map-valued attributepublic jakarta.persistence.criteria.Expression<Class<? extends X>> type()
type in interface jakarta.persistence.criteria.Path<X>public <Y> jakarta.persistence.criteria.Path<Y> get(String attName)
get in interface jakarta.persistence.criteria.Path<X>public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters in interface InternalSelectionfindRootAndParameters in class ExpressionImpl<X>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.