com.ibatis.sqlmap.engine.mapping.result
Class AutoResultMap

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.result.BasicResultMap
      extended bycom.ibatis.sqlmap.engine.mapping.result.AutoResultMap
All Implemented Interfaces:
ResultMap

public class AutoResultMap
extends BasicResultMap

An automatic result map for simple stuff


Field Summary
 
Fields inherited from class com.ibatis.sqlmap.engine.mapping.result.BasicResultMap
allowRemapping
 
Fields inherited from interface com.ibatis.sqlmap.engine.mapping.result.ResultMap
NO_VALUE
 
Constructor Summary
AutoResultMap(SqlMapExecutorDelegate delegate, boolean allowRemapping)
          Constructor to pass in the SqlMapExecutorDelegate
 
Method Summary
 java.lang.Object[] getResults(RequestScope request, java.sql.ResultSet rs)
          Perform the mapping, and return the results
 
Methods inherited from class com.ibatis.sqlmap.engine.mapping.result.BasicResultMap
addGroupByProperty, addNestedResultMappings, doNullMapping, getDataExchange, getDelegate, getDiscriminator, getId, getNestedSelectMappingValue, getPrimitiveResultMappingValue, getResource, getResultClass, getResultCount, getResultMappings, getUniqueKey, getXmlName, groupByProps, hasGroupBy, resolveSubMap, setDataExchange, setDiscriminator, setId, setNestedResultMappingValue, setResource, setResultClass, setResultMappingList, setResultObjectValues, setXmlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoResultMap

public AutoResultMap(SqlMapExecutorDelegate delegate,
                     boolean allowRemapping)
Constructor to pass in the SqlMapExecutorDelegate

Parameters:
delegate - - the delegate
Method Detail

getResults

public java.lang.Object[] getResults(RequestScope request,
                                     java.sql.ResultSet rs)
                              throws java.sql.SQLException
Description copied from interface: ResultMap
Perform the mapping, and return the results

Specified by:
getResults in interface ResultMap
Overrides:
getResults in class BasicResultMap
Parameters:
rs -
Returns:
Throws:
java.sql.SQLException