FileDocCategorySizeDatePackage
SqlNode.javaAPI DocHibernate 3.2.5795Fri Sep 23 11:51:56 BST 2005org.hibernate.hql.ast.tree

SqlNode

public class SqlNode extends Node
A base AST node for the intermediate tree. User: josh Date: Dec 6, 2003 Time: 10:29:14 AM

Fields Summary
private String
originalText
The original text for the node, mostly for debugging.
private org.hibernate.type.Type
dataType
The data type of this node. Null for 'no type'.
Constructors Summary
Methods Summary
public org.hibernate.type.TypegetDataType()

		return dataType;
	
public java.lang.StringgetOriginalText()

		return originalText;
	
public voidsetDataType(org.hibernate.type.Type dataType)

		this.dataType = dataType;
	
public voidsetText(java.lang.String s)

		super.setText( s );
		if ( s != null && s.length() > 0 && originalText == null ) {
			originalText = s;
		}