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

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


org.hibernate.engine.query.sql
Class NativeSQLQueryNonScalarReturn

java.lang.Object
  extended byorg.hibernate.engine.query.sql.NativeSQLQueryNonScalarReturn
All Implemented Interfaces:
NativeSQLQueryReturn, Serializable
Direct Known Subclasses:
NativeSQLQueryCollectionReturn, NativeSQLQueryJoinReturn, NativeSQLQueryRootReturn

public abstract class NativeSQLQueryNonScalarReturn
extends Object
implements NativeSQLQueryReturn, Serializable

Represents the base information for a non-scalar return defined as part of a native sql query.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
protected NativeSQLQueryNonScalarReturn(String alias, Map propertyResults, LockMode lockMode)
          Constructs some form of non-scalar return descriptor
 
Method Summary
 String getAlias()
          Retrieve the defined result alias
 LockMode getLockMode()
          Retrieve the lock-mode to apply to this return
 Map getPropertyResultsMap()
          Retrieve the user-supplied column->property mappings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeSQLQueryNonScalarReturn

protected NativeSQLQueryNonScalarReturn(String alias,
                                        Map propertyResults,
                                        LockMode lockMode)
Constructs some form of non-scalar return descriptor

Parameters:
alias - The result alias
propertyResults - Any user-supplied column->property mappings
lockMode - The lock mode to apply to the return.
Method Detail

getAlias

public String getAlias()
Retrieve the defined result alias

Returns:
The result alias.

getLockMode

public LockMode getLockMode()
Retrieve the lock-mode to apply to this return

Returns:
The lock mode

getPropertyResultsMap

public Map getPropertyResultsMap()
Retrieve the user-supplied column->property mappings.

Returns:
The property mappings.