Package com.ibatis.sqlmap.engine.scope
Class StatementScope
java.lang.Object
com.ibatis.sqlmap.engine.scope.StatementScope
-
Constructor Summary
ConstructorsConstructorDescriptionStatementScope
(SessionScope sessionScope) Instantiates a new statement scope. -
Method Summary
Modifier and TypeMethodDescriptionGets the current nested key.Get the dynamic parameter for the request.Get the dynamic SQL for the request.Get the request's error context.Get the parameter map for the request.Get the result map for the request.Gets the result set.Get the session of the request.getSql()
Get the SQL for the request.Get the statement for the request.getUniqueKeys
(ResultMap map) Gets the unique keys.boolean
Checks if is row data found.void
setCurrentNestedKey
(String currentNestedKey) Sets the current nested key.void
setDynamicParameterMap
(ParameterMap dynamicParameterMap) Set the dynamic parameter for the request.void
setDynamicSql
(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
(ResultSet resultSet) Sets the result set.void
setRowDataFound
(boolean rowDataFound) Sets the row data found.void
Set the SQL for the request.void
setStatement
(MappedStatement statement) Set the statement for the request.void
setUniqueKeys
(ResultMap map, Map keys) Sets the unique keys.
-
Constructor Details
-
StatementScope
Instantiates a new statement scope.- Parameters:
sessionScope
- the session scope
-
-
Method Details
-
getCurrentNestedKey
Gets the current nested key.- Returns:
- Returns the currentNestedKey.
-
setCurrentNestedKey
Sets the current nested key.- Parameters:
currentNestedKey
- The currentNestedKey to set.
-
getErrorContext
Get the request's error context.- Returns:
- - the request's error context
-
getSession
-
getStatement
-
setStatement
Set the statement for the request.- Parameters:
statement
- - the statement
-
getParameterMap
Get the parameter map for the request.- Returns:
- - the parameter map
-
setParameterMap
Set the parameter map for the request.- Parameters:
parameterMap
- - the new parameter map
-
getResultMap
-
setResultMap
Set the result map for the request.- Parameters:
resultMap
- - the result map
-
getSql
-
setSql
-
getDynamicParameterMap
Get the dynamic parameter for the request.- Returns:
- - the dynamic parameter
-
setDynamicParameterMap
Set the dynamic parameter for the request.- Parameters:
dynamicParameterMap
- - the dynamic parameter
-
getDynamicSql
-
setDynamicSql
Set the dynamic SQL for the request.- Parameters:
dynamicSql
- - the dynamic SQL
-
getResultSet
-
setResultSet
Sets the result set.- Parameters:
resultSet
- the new result set
-
getUniqueKeys
-
setUniqueKeys
-
isRowDataFound
public boolean isRowDataFound()Checks if is row data found.- Returns:
- true, if is row data found
-
setRowDataFound
public void setRowDataFound(boolean rowDataFound) Sets the row data found.- Parameters:
rowDataFound
- the new row data found
-