Package cz.encircled.joiner.core
Class DefaultAliasResolver
- java.lang.Object
-
- cz.encircled.joiner.core.DefaultAliasResolver
-
- All Implemented Interfaces:
AliasResolver
public class DefaultAliasResolver extends Object implements AliasResolver
- Author:
- Vlad on 16-Aug-16.
- See Also:
AliasResolver
-
-
Constructor Summary
Constructors Constructor Description DefaultAliasResolver(javax.persistence.EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.querydsl.core.types.Path<?>doFindPathOnParent(com.querydsl.core.types.Path<?> parent, Class<?> targetType, JoinDescription joinDescription)voidresolveFieldPathForJoinAlias(JoinDescription join, com.querydsl.core.types.EntityPath<?> root)Find and set the path to field (collection or single) for the givenjoin
-
-
-
Method Detail
-
resolveFieldPathForJoinAlias
public void resolveFieldPathForJoinAlias(JoinDescription join, com.querydsl.core.types.EntityPath<?> root)
Description copied from interface:AliasResolverFind and set the path to field (collection or single) for the givenjoin- Specified by:
resolveFieldPathForJoinAliasin interfaceAliasResolver
-
doFindPathOnParent
protected com.querydsl.core.types.Path<?> doFindPathOnParent(com.querydsl.core.types.Path<?> parent, Class<?> targetType, JoinDescription joinDescription)- Parameters:
parent- parent join or "from" elementtargetType- type of joined attributejoinDescription- join description- Returns:
- path on parent Q class
-
-