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

Quick Search    Search Deep

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

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

public class ComplexDataExchange
extends BaseDataExchange
implements DataExchange

A DataExchange implemtation for working with beans


Field Summary
private static com.ibatis.common.beans.Probe PROBE
           
 
Fields inherited from class com.ibatis.sqlmap.engine.exchange.BaseDataExchange
 
Constructor Summary
ComplexDataExchange(DataExchangeFactory dataExchangeFactory)
          Constructor for the factory
 
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
 

Field Detail

PROBE

private static final com.ibatis.common.beans.Probe PROBE
Constructor Detail

ComplexDataExchange

public ComplexDataExchange(DataExchangeFactory dataExchangeFactory)
Constructor for the factory

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