public class PathImpl<X> extends ExpressionImpl<X> implements javax.persistence.criteria.Path<X>, 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 FormConstructor and Description |
---|
PathImpl(javax.persistence.criteria.Path<?> parent,
javax.persistence.metamodel.Metamodel metamodel,
java.lang.Class<X> javaClass,
Expression expressionNode,
javax.persistence.metamodel.Bindable modelArtifact) |
Modifier and Type | Method and Description |
---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl query) |
<K,V,M extends java.util.Map<K,V>> |
get(javax.persistence.metamodel.MapAttribute<X,K,V> map)
Return the path corresponding to the referenced map-valued attribute.
|
<E,C extends java.util.Collection<E>> |
get(javax.persistence.metamodel.PluralAttribute<X,C,E> collection)
Return the path corresponding to the referenced collection-valued
attribute.
|
<Y> javax.persistence.criteria.Path<Y> |
get(javax.persistence.metamodel.SingularAttribute<? super X,Y> att)
Return the path corresponding to the referenced non-collection valued
attribute.
|
<Y> javax.persistence.criteria.Path<Y> |
get(java.lang.String attName) |
javax.persistence.metamodel.Bindable<X> |
getModel()
Return the bindable object that corresponds to the path expression.
|
javax.persistence.criteria.Path<?> |
getParentPath()
Return the parent "node" in the path.
|
javax.persistence.criteria.Expression<java.lang.Class<? extends X>> |
type()
Return an expression corresponding to the type of the path.
|
as, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubquery
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRoot
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
public PathImpl(javax.persistence.criteria.Path<?> parent, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<X> javaClass, Expression expressionNode, javax.persistence.metamodel.Bindable modelArtifact)
public javax.persistence.metamodel.Bindable<X> getModel()
getModel
in interface javax.persistence.criteria.Path<X>
public javax.persistence.criteria.Path<?> getParentPath()
getParentPath
in interface javax.persistence.criteria.Path<X>
public <Y> javax.persistence.criteria.Path<Y> get(javax.persistence.metamodel.SingularAttribute<? super X,Y> att)
get
in interface javax.persistence.criteria.Path<X>
model
- attributepublic <E,C extends java.util.Collection<E>> javax.persistence.criteria.Expression<C> get(javax.persistence.metamodel.PluralAttribute<X,C,E> collection)
get
in interface javax.persistence.criteria.Path<X>
model
- collection-valued attributepublic <K,V,M extends java.util.Map<K,V>> javax.persistence.criteria.Expression<M> get(javax.persistence.metamodel.MapAttribute<X,K,V> map)
get
in interface javax.persistence.criteria.Path<X>
model
- map-valued attributepublic javax.persistence.criteria.Expression<java.lang.Class<? extends X>> type()
type
in interface javax.persistence.criteria.Path<X>
public <Y> javax.persistence.criteria.Path<Y> get(java.lang.String attName)
get
in interface javax.persistence.criteria.Path<X>
public void findRootAndParameters(CommonAbstractCriteriaImpl query)
findRootAndParameters
in interface InternalSelection
findRootAndParameters
in class ExpressionImpl<X>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference