| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.alias.AliasFactory
public class AliasFactory
AliasFactory is a factory class for alias creation
| Constructor Summary | |
|---|---|
AliasFactory(PathFactory pathFactory,
             TypeSystem typeSystem)
 | 
|
| Method Summary | ||
|---|---|---|
 | 
createAliasForExpr(Class<A> cl,
                   Expression<? extends A> expr)
Create an alias instance for the given class and Expression  | 
|
 | 
createAliasForProperty(Class<A> cl,
                       Object parent,
                       Expression<?> path)
Create an alias instance for the given class, parent and path  | 
|
 | 
createAliasForVariable(Class<A> cl,
                       String var)
Create an alias instance for the given class and variable name  | 
|
 | 
getCurrent()
Get the current thread bound expression without reseting it  | 
|
 | 
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  | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AliasFactory(PathFactory pathFactory,
                    TypeSystem typeSystem)
| Method Detail | 
|---|
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 - 
@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 - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||