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

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

public class SimpleDynamicSql
extends Object
implements Sql


Constructor Summary
SimpleDynamicSql(SqlMapExecutorDelegate delegate, String sqlStatement)
           
 
Method Summary
 void cleanup(StatementScope statementScope)
           
 ParameterMap getParameterMap(StatementScope statementScope, Object parameterObject)
           
 ResultMap getResultMap(StatementScope statementScope, Object parameterObject)
           
 String getSql(StatementScope statementScope, Object parameterObject)
           
static boolean isSimpleDynamicSql(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,
                        String sqlStatement)
Method Detail

getSql

public String getSql(StatementScope statementScope,
                     Object parameterObject)
Specified by:
getSql in interface Sql

getParameterMap

public ParameterMap getParameterMap(StatementScope statementScope,
                                    Object parameterObject)
Specified by:
getParameterMap in interface Sql

getResultMap

public ResultMap getResultMap(StatementScope statementScope,
                              Object parameterObject)
Specified by:
getResultMap in interface Sql

cleanup

public void cleanup(StatementScope statementScope)
Specified by:
cleanup in interface Sql

isSimpleDynamicSql

public static boolean isSimpleDynamicSql(String sql)


Copyright © 2010. All Rights Reserved.