com.ibatis.sqlmap.engine.mapping.sql.simple
Class SimpleDynamicSql

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.sql.simple.SimpleDynamicSql
All Implemented Interfaces:
Sql

public class SimpleDynamicSql
extends java.lang.Object
implements Sql


Constructor Summary
SimpleDynamicSql(SqlMapExecutorDelegate delegate, java.lang.String sqlStatement)
           
 
Method Summary
 void cleanup(RequestScope request)
           
 ParameterMap getParameterMap(RequestScope request, java.lang.Object parameterObject)
           
 ResultMap getResultMap(RequestScope request, java.lang.Object parameterObject)
           
 java.lang.String getSql(RequestScope request, java.lang.Object parameterObject)
           
static boolean isSimpleDynamicSql(java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDynamicSql

public SimpleDynamicSql(SqlMapExecutorDelegate delegate,
                        java.lang.String sqlStatement)
Method Detail

getSql

public java.lang.String getSql(RequestScope request,
                               java.lang.Object parameterObject)
Specified by:
getSql in interface Sql

getParameterMap

public ParameterMap getParameterMap(RequestScope request,
                                    java.lang.Object parameterObject)
Specified by:
getParameterMap in interface Sql

getResultMap

public ResultMap getResultMap(RequestScope request,
                              java.lang.Object parameterObject)
Specified by:
getResultMap in interface Sql

cleanup

public void cleanup(RequestScope request)
Specified by:
cleanup in interface Sql

isSimpleDynamicSql

public static boolean isSimpleDynamicSql(java.lang.String sql)