| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface AliasContext
The context holds named variables for nodes of CriteriaQuery. Can create unique alias for the nodes that has not been aliased explicitly.
| Method Summary | |
|---|---|
|  String | getAlias(Selection<?> node)Gets the alias for the given node. | 
|  Value | getRegisteredRootVariable(Root<?> node)Gets the registered root variable for the given node. | 
|  Value | getRegisteredValue(Selection<?> node)Gets the registered path value for the given node. | 
|  Value | getRegisteredVariable(Selection<?> node)Gets the registered variable for the given node. | 
|  boolean | isRegistered(Selection<?> node)Affirms if the given node has been registered. | 
|  void | registerVariable(Selection<?> node,
                 Value variable,
                 Value path)Register the given variable of corresponding given value against the given node. | 
| Method Detail | 
|---|
String getAlias(Selection<?> node)
void registerVariable(Selection<?> node,
                      Value variable,
                      Value path)
node - of query treevariable - must be a variablevalue - path valueboolean isRegistered(Selection<?> node)
Value getRegisteredVariable(Selection<?> node)
Value getRegisteredRootVariable(Root<?> node)
Value getRegisteredValue(Selection<?> node)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||