public class AliasFactory extends Object
| Constructor and Description | 
|---|
| AliasFactory(PathFactory pathFactory,
            TypeSystem typeSystem) | 
| Modifier and Type | Method and Description | 
|---|---|
| <A> A | createAliasForExpr(Class<A> cl,
                  Expression<? extends A> expr)Create an alias instance for the given class and Expression | 
| <A> A | createAliasForProperty(Class<A> cl,
                      Object parent,
                      Expression<?> path)Create an alias instance for the given class, parent and path | 
| <A> A | createAliasForVariable(Class<A> cl,
                      String var)Create an alias instance for the given class and variable name | 
| protected <A> A | createProxy(Class<A> cl,
           Expression<?> path)Create a proxy instance for the given class and path | 
| <A extends Expression<?>> | getCurrent()Get the current thread bound expression without resetting it | 
| <A extends Expression<?>> | getCurrentAndReset()Get the current thread bound expression and reset it | 
| void | reset()Reset the thread bound expression to null | 
| void | setCurrent(Expression<?> expr)Set the thread bound expression to the given value | 
public AliasFactory(PathFactory pathFactory, TypeSystem typeSystem)
public <A> A createAliasForExpr(Class<A> cl, Expression<? extends A> expr)
A - cl - expr - public <A> A createAliasForProperty(Class<A> cl, Object parent, Expression<?> path)
A - cl - parent - path - public <A> A createAliasForVariable(Class<A> cl, String var)
A - cl - var - protected <A> A createProxy(Class<A> cl, Expression<?> path)
A - cl - path - @Nullable public <A extends Expression<?>> A getCurrent()
A - @Nullable public <A extends Expression<?>> A getCurrentAndReset()
A - public void reset()
public void setCurrent(Expression<?> expr)
expr - Copyright © 2007–2015 Querydsl. All rights reserved.