FileDocCategorySizeDatePackage
AbstractStatement.javaAPI DocHibernate 3.2.5889Thu Jul 14 23:39:42 BST 2005org.hibernate.hql.ast.tree

AbstractStatement

public abstract class AbstractStatement extends HqlSqlWalkerNode implements Statement, DisplayableNode
Convenience implementation of Statement to centralize common functionality.
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetDisplayText()
Returns additional display text for the AST node.

return
String - The additional display text.

		StringBuffer buf = new StringBuffer();
		if ( getWalker().getQuerySpaces().size() > 0 ) {
			buf.append( " querySpaces (" );
			for ( Iterator iterator = getWalker().getQuerySpaces().iterator(); iterator.hasNext(); ) {
				buf.append( iterator.next() );
				if ( iterator.hasNext() ) {
					buf.append( "," );
				}
			}
			buf.append( ")" );
		}
		return buf.toString();