Module org.eclipse.persistence.jpa
Class PathImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.PathImpl<X>
- All Implemented Interfaces:
Expression<X>
,Path<X>
,Selection<X>
,TupleElement<X>
,Serializable
,Cloneable
,InternalExpression
,InternalSelection
- Direct Known Subclasses:
FromImpl
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.
- Since:
- EclipseLink 1.2
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
isLiteral, literal, metamodel
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, currentNode, javaType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
void
<K,
V, M extends Map<K, V>>
Expression<M> get
(MapAttribute<X, K, V> map) Return the path corresponding to the referenced map-valued attribute.<E,
C extends Collection<E>>
Expression<C> get
(PluralAttribute<X, C, E> collection) Return the path corresponding to the referenced collection-valued attribute.<Y> Path
<Y> get
(SingularAttribute<? super X, Y> att) Return the path corresponding to the referenced non-collection valued attribute.<Y> Path
<Y> getModel()
Return the bindable object that corresponds to the path expression.Path
<?> Return the parent "node" in the path.Expression
<Class<? extends X>> type()
Return an expression corresponding to the type of the path.Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
as, buildExpressionForAs, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubquery
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot, setJavaType
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
Methods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Field Details
-
pathParent
-
modelArtifact
-
-
Constructor Details
-
PathImpl
-
-
Method Details
-
getModel
Return the bindable object that corresponds to the path expression. -
getParentPath
Return the parent "node" in the path.- Specified by:
getParentPath
in interfacePath<X>
- Returns:
- parent
-
get
Return the path corresponding to the referenced non-collection valued attribute. -
get
Return the path corresponding to the referenced collection-valued attribute. -
get
Return the path corresponding to the referenced map-valued attribute. -
type
Return an expression corresponding to the type of the path. -
get
-
findRootAndParameters
- Specified by:
findRootAndParameters
in interfaceInternalSelection
- Overrides:
findRootAndParameters
in classExpressionImpl<X>
-
clone
-