Z - the type of the parent pathX - the type referenced by the pathpublic abstract class ParentPath<Z,X> extends AbstractPath<X> implements 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(MapAttribute<? super X,K,V> map) |
<E,C extends Collection<E>> |
get(PluralAttribute<? super X,C,E> collection) |
<Y> AbstractPath<Y> |
get(SingularAttribute<? super X,Y> attribute) |
<Y> AbstractPath<Y> |
get(String name) |
<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, waitgetModel, getParentPath, typeas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic 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(MapAttribute<? super X,K,V> map)
public final <E,C extends Collection<E>> CollectionExpression<C,E> get(PluralAttribute<? super X,C,E> collection)
public final <Y> AbstractPath<Y> get(SingularAttribute<? super X,Y> attribute)
public final <Y> AbstractPath<Y> get(String name)
public <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.