public class PathImpl<X> extends ExpressionImpl<X> implements java.lang.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 java.lang.Object |
modelArtifact |
protected <any> |
pathParent |
isLiteral, literal, metamodelalias, currentNode, javaType| Constructor and Description |
|---|
PathImpl(<any> parent,
Metamodel metamodel,
java.lang.Class<X> javaClass,
org.eclipse.persistence.expressions.Expression expressionNode,
Bindable modelArtifact) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
<E,C extends java.util.Collection<E>> |
get(<any> collection)
Return the path corresponding to the referenced collection-valued
attribute.
|
<K,V,M extends java.util.Map<K,V>> |
get(<any> map)
Return the path corresponding to the referenced map-valued attribute.
|
<Y> <any> |
get(<any> att)
Return the path corresponding to the referenced non-collection valued
attribute.
|
<Y> <any> |
get(java.lang.String attName) |
<any> |
getModel()
Return the bindable object that corresponds to the path expression.
|
<any> |
getParentPath()
Return the parent "node" in the path.
|
<any> |
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, isRootprotected <any> pathParent
protected java.lang.Object modelArtifact
public PathImpl(<any> parent,
Metamodel metamodel,
java.lang.Class<X> javaClass,
org.eclipse.persistence.expressions.Expression expressionNode,
Bindable modelArtifact)
public <any> getModel()
public <any> getParentPath()
public <Y> <any> get(<any> att)
att - attributepublic <E,C extends java.util.Collection<E>> <any> get(<any> collection)
collection - collection-valued attributepublic <K,V,M extends java.util.Map<K,V>> <any> get(<any> map)
map - map-valued attributepublic <any> type()
public <Y> <any> get(java.lang.String attName)
public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters in interface InternalSelectionfindRootAndParameters in class ExpressionImpl<X>protected java.lang.Object clone()
clone in class java.lang.Object