Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.sqlmap.engine.exchange
Class MapDataExchange  view MapDataExchange download MapDataExchange.java

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.exchange.BaseDataExchange
      extended bycom.ibatis.sqlmap.engine.exchange.MapDataExchange
All Implemented Interfaces:
DataExchange

public class MapDataExchange
extends BaseDataExchange
implements DataExchange

DataExchange implementation for Map objects


Field Summary
 
Fields inherited from class com.ibatis.sqlmap.engine.exchange.BaseDataExchange
 
Constructor Summary
protected MapDataExchange(DataExchangeFactory dataExchangeFactory)
           
 
Method Summary
 java.lang.Object[] getData(com.ibatis.sqlmap.engine.scope.RequestScope request, com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap, java.lang.Object parameterObject)
          Gets a data array from a parameter object.
 void initialize(java.util.Map properties)
          Initializes the data exchange instance.
 java.lang.Object setData(com.ibatis.sqlmap.engine.scope.RequestScope request, com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap, java.lang.Object parameterObject, java.lang.Object[] values)
          Sets values from a data array into a parameter object
 java.lang.Object setData(com.ibatis.sqlmap.engine.scope.RequestScope request, com.ibatis.sqlmap.engine.mapping.result.ResultMap resultMap, java.lang.Object resultObject, java.lang.Object[] values)
          Sets values from a data array into a result object.
 
Methods inherited from class com.ibatis.sqlmap.engine.exchange.BaseDataExchange
getCacheKey, getDataExchangeFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibatis.sqlmap.engine.exchange.DataExchange
getCacheKey
 

Constructor Detail

MapDataExchange

protected MapDataExchange(DataExchangeFactory dataExchangeFactory)
Method Detail

initialize

public void initialize(java.util.Map properties)
Description copied from interface: DataExchange
Initializes the data exchange instance.

Specified by:
initialize in interface DataExchange

getData

public java.lang.Object[] getData(com.ibatis.sqlmap.engine.scope.RequestScope request,
                                  com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap,
                                  java.lang.Object parameterObject)
Description copied from interface: DataExchange
Gets a data array from a parameter object.

Specified by:
getData in interface DataExchange

setData

public java.lang.Object setData(com.ibatis.sqlmap.engine.scope.RequestScope request,
                                com.ibatis.sqlmap.engine.mapping.result.ResultMap resultMap,
                                java.lang.Object resultObject,
                                java.lang.Object[] values)
Description copied from interface: DataExchange
Sets values from a data array into a result object.

Specified by:
setData in interface DataExchange

setData

public java.lang.Object setData(com.ibatis.sqlmap.engine.scope.RequestScope request,
                                com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap,
                                java.lang.Object parameterObject,
                                java.lang.Object[] values)
Description copied from interface: DataExchange
Sets values from a data array into a parameter object

Specified by:
setData in interface DataExchange