| com.ibatis.sqlmap.engine.exchange.DataExchange
All known Subclasses: com.ibatis.sqlmap.engine.exchange.DomDataExchange, com.ibatis.sqlmap.engine.exchange.PrimitiveDataExchange, com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange, com.ibatis.sqlmap.engine.exchange.ComplexDataExchange, com.ibatis.sqlmap.engine.exchange.MapDataExchange, com.ibatis.sqlmap.engine.exchange.ListDataExchange, com.ibatis.sqlmap.engine.exchange.BaseDataExchange,
DataExchange | public interface DataExchange (Code) | | Interface for exchanging data between a parameter map/result map and the related objects
|
Method Summary | |
public CacheKey | getCacheKey(RequestScope request, ParameterMap parameterMap, Object parameterObject) Returns an object capable of being a unique cache key for a parameter object. | public Object[] | getData(RequestScope request, ParameterMap parameterMap, Object parameterObject) Gets a data array from a parameter object. | public void | initialize(Map properties) Initializes the data exchange instance. | public Object | setData(RequestScope request, ResultMap resultMap, Object resultObject, Object[] values) Sets values from a data array into a result object. | public Object | setData(RequestScope request, ParameterMap parameterMap, Object parameterObject, Object[] values) |
getCacheKey | public CacheKey getCacheKey(RequestScope request, ParameterMap parameterMap, Object parameterObject)(Code) | | Returns an object capable of being a unique cache key for a parameter object.
Parameters: request - - the request scope Parameters: parameterMap - - the parameter map Parameters: parameterObject - - the parameter object - a cache key |
getData | public Object[] getData(RequestScope request, ParameterMap parameterMap, Object parameterObject)(Code) | | Gets a data array from a parameter object.
Parameters: request - - the scope of the request Parameters: parameterMap - - the parameter map Parameters: parameterObject - - the parameter object - the objects |
initialize | public void initialize(Map properties)(Code) | | Initializes the data exchange instance.
Parameters: properties - |
setData | public Object setData(RequestScope request, ResultMap resultMap, Object resultObject, Object[] values)(Code) | | Sets values from a data array into a result object.
Parameters: request - - the request scope Parameters: resultMap - - the result map Parameters: resultObject - - the result object Parameters: values - - the values to be mapped the resultObject |
setData | public Object setData(RequestScope request, ParameterMap parameterMap, Object parameterObject, Object[] values)(Code) | | Sets values from a data array into a parameter object
Parameters: request - - the request scope Parameters: parameterMap - - the parameter map Parameters: parameterObject - - the parameter object Parameters: values - - the values to set parameterObject |
|
|