|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.sqlmap.engine.exchange.BaseDataExchange com.ibatis.sqlmap.engine.exchange.ListDataExchange
DataExchange implementation for List objects
Constructor Summary | |
protected |
ListDataExchange(DataExchangeFactory dataExchangeFactory)
|
Method Summary | |
java.lang.Object[] |
getData(RequestScope request,
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(RequestScope request,
ParameterMap parameterMap,
java.lang.Object parameterObject,
java.lang.Object[] values)
Sets values from a data array into a parameter object |
java.lang.Object |
setData(RequestScope request,
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 |
protected ListDataExchange(DataExchangeFactory dataExchangeFactory)
Method Detail |
public void initialize(java.util.Map properties)
DataExchange
initialize
in interface DataExchange
properties
- public java.lang.Object[] getData(RequestScope request, ParameterMap parameterMap, java.lang.Object parameterObject)
DataExchange
getData
in interface DataExchange
request
- - the scope of the requestparameterMap
- - the parameter mapparameterObject
- - the parameter object
public java.lang.Object setData(RequestScope request, ResultMap resultMap, java.lang.Object resultObject, java.lang.Object[] values)
DataExchange
setData
in interface DataExchange
request
- - the request scoperesultMap
- - the result mapresultObject
- - the result objectvalues
- - the values to be mapped
public java.lang.Object setData(RequestScope request, ParameterMap parameterMap, java.lang.Object parameterObject, java.lang.Object[] values)
DataExchange
setData
in interface DataExchange
request
- - the request scopeparameterMap
- - the parameter mapparameterObject
- - the parameter objectvalues
- - the values to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |