public class PathImpl<X> extends ExpressionBase<X> implements VPath<X>
| Modifier and Type | Field and Description |
|---|---|
protected String |
attributeName |
protected javax.persistence.criteria.Path<?> |
parentPath |
protected Class<X> |
valueType |
alias, javaType| Constructor and Description |
|---|
PathImpl(javax.persistence.criteria.Path<?> parentPath,
String attrName,
Class<X> valueType) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> visitor) |
<T> T |
accept(PathVisitor<T> visitor) |
<T> VExpression<T> |
as(Class<T> cls) |
<K,V,M extends Map<K,V>> |
get(javax.persistence.metamodel.MapAttribute<X,K,V> map) |
<E,C extends Collection<E>> |
get(javax.persistence.metamodel.PluralAttribute<X,C,E> collection) |
<Y> javax.persistence.criteria.Path<Y> |
get(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute) |
<Y> javax.persistence.criteria.Path<Y> |
get(String attributeName) |
javax.persistence.metamodel.Bindable<X> |
getModel() |
javax.persistence.criteria.Path<?> |
getParentPath() |
String |
getReachingAttributeName()
The attribute name by with this instance of path was reached.
|
String |
toString() |
javax.persistence.criteria.Expression<Class<? extends X>> |
type() |
getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNullaliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitin, in, in, in, isNotNull, isNullprotected javax.persistence.criteria.Path<?> parentPath
protected String attributeName
public String getReachingAttributeName()
getReachingAttributeName in interface VPath<X>public <T> VExpression<T> as(Class<T> cls)
as in interface javax.persistence.criteria.Expression<X>as in interface VExpression<X>as in class ExpressionBase<X>public <T> T accept(ExpressionVisitor<T> visitor)
accept in interface VExpression<X>public <T> T accept(PathVisitor<T> visitor)
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> attribute)
get in interface javax.persistence.criteria.Path<X>public <E,C extends Collection<E>> javax.persistence.criteria.Expression<C> get(javax.persistence.metamodel.PluralAttribute<X,C,E> collection)
get in interface javax.persistence.criteria.Path<X>public <K,V,M extends 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>public javax.persistence.criteria.Expression<Class<? extends X>> type()
type in interface javax.persistence.criteria.Path<X>public <Y> javax.persistence.criteria.Path<Y> get(String attributeName)
get in interface javax.persistence.criteria.Path<X>Copyright © 2017. All rights reserved.