| com.ibatis.sqlmap.engine.mapping.result.ResultMap
All known Subclasses: com.ibatis.sqlmap.engine.mapping.result.BasicResultMap,
ResultMap | public interface ResultMap (Code) | | This is a grouping of ResultMapping objects used to map results back to objects
|
getId | public String getId()(Code) | | A way to identify the ResultMap
- an ID |
getResultClass | public Class getResultClass()(Code) | | Getter for the class that data wil be mapped into
- the class |
getResultMappings | public ResultMapping[] getResultMappings()(Code) | | Getter for the ResultMapping objects
- an array of ResultMapping objects |
getResults | public Object[] getResults(RequestScope request, ResultSet rs) throws SQLException(Code) | | Perform the mapping, and return the results
Parameters: request - - the request scope Parameters: rs - - the result set to map - an object array with the data in it throws: SQLException - - if an exception is thrown processing the results |
getUniqueKey | public Object getUniqueKey(Object[] values)(Code) | | Gets a unique key based on the values provided.
Parameters: values - Result values representing a single row of results. The unique key. |
setResultObjectValues | public Object setResultObjectValues(RequestScope request, Object resultObject, Object[] values)(Code) | | Callback method for RowHandler
Parameters: request - - the request scope Parameters: resultObject - - the object being populated Parameters: values - - the values from the database - the populated object |
|
|