1 16 package com.ibatis.sqlmap.engine.mapping.result; 17 18 19 import com.ibatis.sqlmap.engine.scope.RequestScope; 20 21 import java.sql.ResultSet ; 22 import java.sql.SQLException ; 23 24 27 public interface ResultMap { 28 29 public static final Object NO_VALUE = new Object (); 30 31 36 public String getId(); 37 38 48 public Object [] getResults(RequestScope request, ResultSet rs) 49 throws SQLException ; 50 51 60 public Object setResultObjectValues(RequestScope request, Object resultObject, Object [] values); 61 62 67 public ResultMapping[] getResultMappings(); 68 69 74 public Class getResultClass(); 75 76 81 public Object getUniqueKey(Object [] values); 82 83 public ResultMap resolveSubMap (RequestScope request, ResultSet rs) throws SQLException ; 84 85 public Discriminator getDiscriminator(); 86 } 87 | Popular Tags |