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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.exchange.BaseDataExchange
All Implemented Interfaces:
DataExchange
Direct Known Subclasses:
ComplexDataExchange, DomDataExchange, JavaBeanDataExchange, ListDataExchange, MapDataExchange, PrimitiveDataExchange

public abstract class BaseDataExchange
extends java.lang.Object
implements DataExchange

Base implementation for the DataExchange interface


Field Summary
private  DataExchangeFactory dataExchangeFactory
           
 
Constructor Summary
protected BaseDataExchange(DataExchangeFactory dataExchangeFactory)
           
 
Method Summary
 com.ibatis.sqlmap.engine.cache.CacheKey getCacheKey(com.ibatis.sqlmap.engine.scope.RequestScope request, com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap, java.lang.Object parameterObject)
          Returns an object capable of being a unique cache key for a parameter object.
 DataExchangeFactory getDataExchangeFactory()
          Getter for the factory that created this object
 
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
getData, initialize, setData, setData
 

Field Detail

dataExchangeFactory

private DataExchangeFactory dataExchangeFactory
Constructor Detail

BaseDataExchange

protected BaseDataExchange(DataExchangeFactory dataExchangeFactory)
Method Detail

getCacheKey

public com.ibatis.sqlmap.engine.cache.CacheKey getCacheKey(com.ibatis.sqlmap.engine.scope.RequestScope request,
                                                           com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap parameterMap,
                                                           java.lang.Object parameterObject)
Description copied from interface: DataExchange
Returns an object capable of being a unique cache key for a parameter object.

Specified by:
getCacheKey in interface DataExchange

getDataExchangeFactory

public DataExchangeFactory getDataExchangeFactory()
Getter for the factory that created this object