Z - the type of the parent pathX - the type referenced by the pathpublic abstract class ParentPath<Z,X> extends AbstractPath<X> implements javax.persistence.criteria.Path<X>
Path.| Constructor and Description |
|---|
ParentPath(ParentPath<?,Z> parent,
Class<X> javaType) |
| Modifier and Type | Method and Description |
|---|---|
<K,V,M extends Map<K,V>> |
get(javax.persistence.metamodel.MapAttribute<? super X,K,V> map) |
<E,C extends Collection<E>> |
get(javax.persistence.metamodel.PluralAttribute<? super X,C,E> collection) |
<Y> AbstractPath<Y> |
get(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute) |
<Y> AbstractPath<Y> |
get(String name) |
String |
getColumnAlias(BaseQueryImpl<?> query,
AbstractColumn column)
Returns the table alias for the column.
|
<Y,C extends Collection<Y>> |
getExpression(String attributeName)
Returns the expression corresponding to the attribute name.
|
abstract FetchParentImpl<?,X> |
getFetchRoot()
Returns the fetch root of the path.
|
protected abstract <C,Y> Mapping<? super X,C,Y> |
getMapping(String name)
Returns the child mapping for the name.
|
cannotDereference, getParentPath, getRootPathas, generateJpqlRestriction, getConverter, in, in, in, in, isNotNull, isNull, setConverteralias, generateJpqlSelect, generateSqlSelect, getAlias, getCompoundSelectionItems, getSqlRestrictionFragments, handle, isCompoundSelection, isEntityListgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic ParentPath(ParentPath<?,Z> parent, Class<X> javaType)
parent - the parent path, may be nulljavaType - the java typepublic final <K,V,M extends Map<K,V>> MapExpression<M,K,V> get(javax.persistence.metamodel.MapAttribute<? super X,K,V> map)
get in interface javax.persistence.criteria.Path<X>get in class AbstractPath<X>public final <E,C extends Collection<E>> CollectionExpression<C,E> get(javax.persistence.metamodel.PluralAttribute<? super X,C,E> collection)
get in interface javax.persistence.criteria.Path<X>get in class AbstractPath<X>public final <Y> AbstractPath<Y> get(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute)
get in interface javax.persistence.criteria.Path<X>get in class AbstractPath<X>public final <Y> AbstractPath<Y> get(String name)
get in interface javax.persistence.criteria.Path<X>get in class AbstractPath<X>public String getColumnAlias(BaseQueryImpl<?> query, AbstractColumn column)
column - the columnquery - the querypublic <Y,C extends Collection<Y>> AbstractExpression<Y> getExpression(String attributeName)
Y - the type of the pathC - the element typeattributeName - the name of the attributepublic abstract FetchParentImpl<?,X> getFetchRoot()
protected abstract <C,Y> Mapping<? super X,C,Y> getMapping(String name)
C - the collection type of the child mappingY - the type of the child mappingname - the name of the child mappingCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.