com.ibatis.sqlmap.engine.exchange
public interface DataExchange
| Method Summary | |
|---|---|
| CacheKey | getCacheKey(StatementScope statementScope, ParameterMap parameterMap, Object parameterObject)
Returns an object capable of being a unique cache key for a parameter object.
|
| Object[] | getData(StatementScope statementScope, ParameterMap parameterMap, Object parameterObject)
Gets a data array from a parameter object.
|
| void | initialize(Map properties)
Initializes the data exchange instance.
|
| Object | setData(StatementScope statementScope, ResultMap resultMap, Object resultObject, Object[] values)
Sets values from a data array into a result object.
|
| Object | setData(StatementScope statementScope, ParameterMap parameterMap, Object parameterObject, Object[] values)
Sets values from a data array into a parameter object
|
Parameters: statementScope - the request scope parameterMap - the parameter map parameterObject - the parameter object
Returns: - a cache key
Parameters: statementScope - the scope of the request parameterMap - the parameter map parameterObject - the parameter object
Returns: - the objects
Parameters: properties
Parameters: statementScope - the request scope resultMap - the result map resultObject - the result object values - the values to be mapped
Returns: the resultObject
Parameters: statementScope - the request scope parameterMap - the parameter map parameterObject - the parameter object values - the values to set
Returns: parameterObject