KickJava   Java API By Example, From Geeks To Geeks.

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


1 // $Id: SelectExpressionImpl.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  * A select expression that was generated by a FROM element.
9  *
10  * @author josh Nov 6, 2004 8:27:38 AM
11  */

12 public class SelectExpressionImpl extends FromReferenceNode implements SelectExpression {
13
14     public void resolveIndex(AST parent) throws SemanticException {
15         throw new UnsupportedOperationException JavaDoc();
16     }
17
18     public void setScalarColumnText(int i) throws SemanticException {
19         String JavaDoc text = getFromElement().renderScalarIdentifierSelect( i );
20         setText( text );
21     }
22
23     public void resolve(boolean generateJoin, boolean implicitJoin, String JavaDoc classAlias, AST parent) throws SemanticException {
24         // Generated select expressions are already resolved, nothing to do.
25
return;
26     }
27 }
28
Popular Tags