Home » iBatis-2.3.4 » com.ibatis.sqlmap.engine.mapping » result » [javadoc | source]
public interface: ResultMap [javadoc | source]

All Known Implementing Classes:
    AutoResultMap, BasicResultMap

This is a grouping of ResultMapping objects used to map results back to objects
Field Summary
public static final  Object NO_VALUE     
Method from com.ibatis.sqlmap.engine.mapping.result.ResultMap Summary:
getDiscriminator,   getId,   getResultClass,   getResultMappings,   getResults,   getUniqueKey,   resolveSubMap,   setResultObjectValues
Method from com.ibatis.sqlmap.engine.mapping.result.ResultMap Detail:
 public Discriminator getDiscriminator()
 public String getId()
    A way to identify the ResultMap
 public Class getResultClass()
    Getter for the class that data wil be mapped into
 public ResultMapping[] getResultMappings()
    Getter for the ResultMapping objects
 public Object[] getResults(RequestScope request,
    ResultSet rs) throws SQLException
    Perform the mapping, and return the results
 public Object getUniqueKey(Object[] values)
    Gets a unique key based on the values provided.
 public ResultMap resolveSubMap(RequestScope request,
    ResultSet rs) throws SQLException
 public Object setResultObjectValues(RequestScope request,
    Object resultObject,
    Object[] values)
    Callback method for RowHandler