站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

IntoClause (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.hql.ast.tree
Class IntoClause

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.CommonAST
          extended byorg.hibernate.hql.ast.tree.Node
              extended byorg.hibernate.hql.ast.tree.SqlNode
                  extended byorg.hibernate.hql.ast.tree.HqlSqlWalkerNode
                      extended byorg.hibernate.hql.ast.tree.IntoClause
All Implemented Interfaces:
antlr.collections.AST, DisplayableNode, InitializeableNode, Serializable

public class IntoClause
extends HqlSqlWalkerNode
implements DisplayableNode

Represents an entity referenced in the INTO clause of an HQL INSERT statement.

Author:
Steve Ebersole
See Also:
Serialized Form

Field Summary
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
IntoClause()
           
 
Method Summary
 String getDisplayText()
          Returns additional display text for the AST node.
 String getEntityName()
           
 Type[] getInsertionTypes()
           
 Queryable getQueryable()
           
 String getTableName()
           
 void initialize(Queryable persister)
           
 boolean isDiscriminated()
           
 boolean isExplicitIdInsertion()
           
 boolean isExplicitVersionInsertion()
           
 void prependIdColumnSpec()
           
 void prependVersionColumnSpec()
           
 void validateTypes(SelectClause selectClause)
           
 
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
 
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode
getDataType, getOriginalText, setDataType, setText
 
Methods inherited from class org.hibernate.hql.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntoClause

public IntoClause()
Method Detail

initialize

public void initialize(Queryable persister)

getTableName

public String getTableName()

getQueryable

public Queryable getQueryable()

getEntityName

public String getEntityName()

getInsertionTypes

public Type[] getInsertionTypes()

isDiscriminated

public boolean isDiscriminated()

isExplicitIdInsertion

public boolean isExplicitIdInsertion()

isExplicitVersionInsertion

public boolean isExplicitVersionInsertion()

prependIdColumnSpec

public void prependIdColumnSpec()

prependVersionColumnSpec

public void prependVersionColumnSpec()

validateTypes

public void validateTypes(SelectClause selectClause)
                   throws QueryException
Throws:
QueryException

getDisplayText

public String getDisplayText()
Returns additional display text for the AST node.

Specified by:
getDisplayText in interface DisplayableNode
Returns:
String - The additional display text.