com.ibatis.sqlmap.engine.scope
Class StatementScope

java.lang.Object
  extended by com.ibatis.sqlmap.engine.scope.StatementScope

public class StatementScope
extends java.lang.Object

Request based implementation of Scope interface


构造器摘要
StatementScope(SessionScope sessionScope)
           
 
方法摘要
 java.lang.String getCurrentNestedKey()
           
 ParameterMap getDynamicParameterMap()
          Get the dynamic parameter for the request
 java.lang.String getDynamicSql()
          Get the dynamic SQL for the request
 ErrorContext getErrorContext()
          Get the request's error context
 ParameterMap getParameterMap()
          Get the parameter map for the request
 ResultMap getResultMap()
          Get the result map for the request
 java.sql.ResultSet getResultSet()
           
 SessionScope getSession()
          Get the session of the request
 Sql getSql()
          Get the SQL for the request
 MappedStatement getStatement()
          Get the statement for the request
 java.util.Map getUniqueKeys(ResultMap map)
           
 boolean isRowDataFound()
           
 void setCurrentNestedKey(java.lang.String currentNestedKey)
           
 void setDynamicParameterMap(ParameterMap dynamicParameterMap)
          Set the dynamic parameter for the request
 void setDynamicSql(java.lang.String dynamicSql)
          Set the dynamic SQL for the request
 void setParameterMap(ParameterMap parameterMap)
          Set the parameter map for the request
 void setResultMap(ResultMap resultMap)
          Set the result map for the request
 void setResultSet(java.sql.ResultSet resultSet)
           
 void setRowDataFound(boolean rowDataFound)
           
 void setSql(Sql sql)
          Set the SQL for the request
 void setStatement(MappedStatement statement)
          Set the statement for the request
 void setUniqueKeys(ResultMap map, java.util.Map keys)
           
 
类方法继承: java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

StatementScope

public StatementScope(SessionScope sessionScope)
方法详细信息

getCurrentNestedKey

public java.lang.String getCurrentNestedKey()
返回:
Returns the currentNestedKey.

setCurrentNestedKey

public void setCurrentNestedKey(java.lang.String currentNestedKey)
参数:
currentNestedKey - The currentNestedKey to set.

getErrorContext

public ErrorContext getErrorContext()
Get the request's error context

返回:
- the request's error context

getSession

public SessionScope getSession()
Get the session of the request

返回:
- the session

getStatement

public MappedStatement getStatement()
Get the statement for the request

返回:
- the statement

setStatement

public void setStatement(MappedStatement statement)
Set the statement for the request

参数:
statement - - the statement

getParameterMap

public ParameterMap getParameterMap()
Get the parameter map for the request

返回:
- the parameter map

setParameterMap

public void setParameterMap(ParameterMap parameterMap)
Set the parameter map for the request

参数:
parameterMap - - the new parameter map

getResultMap

public ResultMap getResultMap()
Get the result map for the request

返回:
- the result map

setResultMap

public void setResultMap(ResultMap resultMap)
Set the result map for the request

参数:
resultMap - - the result map

getSql

public Sql getSql()
Get the SQL for the request

返回:
- the sql

setSql

public void setSql(Sql sql)
Set the SQL for the request

参数:
sql - - the sql

getDynamicParameterMap

public ParameterMap getDynamicParameterMap()
Get the dynamic parameter for the request

返回:
- the dynamic parameter

setDynamicParameterMap

public void setDynamicParameterMap(ParameterMap dynamicParameterMap)
Set the dynamic parameter for the request

参数:
dynamicParameterMap - - the dynamic parameter

getDynamicSql

public java.lang.String getDynamicSql()
Get the dynamic SQL for the request

返回:
- the dynamic SQL

setDynamicSql

public void setDynamicSql(java.lang.String dynamicSql)
Set the dynamic SQL for the request

参数:
dynamicSql - - the dynamic SQL

getResultSet

public java.sql.ResultSet getResultSet()

setResultSet

public void setResultSet(java.sql.ResultSet resultSet)

getUniqueKeys

public java.util.Map getUniqueKeys(ResultMap map)

setUniqueKeys

public void setUniqueKeys(ResultMap map,
                          java.util.Map keys)

isRowDataFound

public boolean isRowDataFound()

setRowDataFound

public void setRowDataFound(boolean rowDataFound)