KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > hql > ast > tree > ResolvableNode


1 // $Id: ResolvableNode.java,v 1.1 2005/07/12 20:27:16 steveebersole Exp $
2
package org.hibernate.hql.ast.tree;
3
4 import antlr.SemanticException;
5 import antlr.collections.AST;
6
7 /**
8  * The contract for expression sub-trees that can resolve themselves.
9  *
10  * @author josh Sep 25, 2004 11:27:36 AM
11  */

12 public interface ResolvableNode {
13     /**
14      * Does the work of resolving an identifier or a dot
15      */

16     void resolve(boolean generateJoin, boolean implicitJoin, String JavaDoc classAlias, AST parent) throws SemanticException;
17
18     /**
19      * Does the work of resolving an identifier or a dot, but without a parent node
20      */

21     void resolve(boolean generateJoin, boolean implicitJoin, String JavaDoc classAlias) throws SemanticException;
22
23     /**
24      * Does the work of resolving an identifier or a dot, but without a parent node or alias
25      */

26     void resolve(boolean generateJoin, boolean implicitJoin) throws SemanticException;
27
28     /**
29      * Does the work of resolving inside of the scope of a function call
30      */

31     void resolveInFunctionCall(boolean generateJoin, boolean implicitJoin) throws SemanticException;
32
33     /**
34      * Does the work of resolving an an index [].
35      */

36     void resolveIndex(AST parent) throws SemanticException;
37
38 }
39
Popular Tags