1 16 package com.ibatis.sqlmap.engine.mapping.parameter; 17 18 19 import com.ibatis.sqlmap.engine.cache.CacheKey; 20 import com.ibatis.sqlmap.engine.scope.RequestScope; 21 22 import java.sql.PreparedStatement ; 23 import java.sql.SQLException ; 24 25 public interface ParameterMap { 26 27 public String getId(); 28 29 public void setParameters(RequestScope request, PreparedStatement ps, Object [] parameters) 30 throws SQLException ; 31 32 public Object [] getParameterObjectValues(RequestScope request, Object parameterObject); 33 34 public CacheKey getCacheKey(RequestScope request, Object parameterObject); 35 36 public void refreshParameterObjectValues(RequestScope request, Object parameterObject, Object [] values); 37 38 public ParameterMapping[] getParameterMappings(); 39 40 public Class getParameterClass(); 41 42 } 43 | Popular Tags |