com.ibatis.db.sqlmap.dynamic
Class DynamicMappedStatement

java.lang.Object
  extended by com.ibatis.db.sqlmap.MappedStatement
      extended by com.ibatis.db.sqlmap.dynamic.DynamicMappedStatement

public class DynamicMappedStatement
extends MappedStatement


Field Summary
private  java.util.List childFragmentList
           
private static java.lang.String PARAMETER_TOKEN
           
 
Fields inherited from class com.ibatis.db.sqlmap.MappedStatement
NO_MAXIMUM_RESULTS, NO_SKIPPED_RESULTS
 
Constructor Summary
DynamicMappedStatement()
           
 
Method Summary
 void addAllChildFragment(java.util.Collection c)
           
 void addChildFragment(BaseFragment fragment)
           
 BaseFragment getChildFragment(int i)
           
 int getChildFragmentCount()
           
 java.util.Iterator getChildFragments()
           
 java.lang.String getSql(java.lang.Object parameterObject)
          Returns the SQL statement for the object
protected  SqlStatement getSqlStatement(java.lang.Object parameterObject)
           
 boolean isDynamic()
          Getter for flag that indicates if this MappedStatement is 'dynamic'
 
Methods inherited from class com.ibatis.db.sqlmap.MappedStatement
addExecuteListener, assertParameterClass, executeQueryForList, executeQueryForList, executeQueryForMap, executeQueryForMap, executeQueryForObject, executeQueryForObject, executeQueryForPaginatedList, executeQueryWithRowHandler, executeUpdate, getCache, getDataCacheHitRatio, getName, getParameterClass, getParameterMapName, getResourceName, getResultClass, getResultMapName, getSqlMap, isInline, isStoredProcedure, setCache, setInline, setName, setParameterClass, setParameterMapName, setResourceName, setResultClass, setResultMapName, setSql, setSqlMap, setStoredProcedure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARAMETER_TOKEN

private static final java.lang.String PARAMETER_TOKEN
See Also:
Constant Field Values

childFragmentList

private java.util.List childFragmentList
Constructor Detail

DynamicMappedStatement

public DynamicMappedStatement()
Method Detail

isDynamic

public boolean isDynamic()
Description copied from class: MappedStatement
Getter for flag that indicates if this MappedStatement is 'dynamic'

Overrides:
isDynamic in class MappedStatement
Returns:
True if the MappedStatement is dynamic

addChildFragment

public void addChildFragment(BaseFragment fragment)

getChildFragment

public BaseFragment getChildFragment(int i)

getChildFragmentCount

public int getChildFragmentCount()

addAllChildFragment

public void addAllChildFragment(java.util.Collection c)

getChildFragments

public java.util.Iterator getChildFragments()

getSql

public java.lang.String getSql(java.lang.Object parameterObject)
Description copied from class: MappedStatement
Returns the SQL statement for the object

Overrides:
getSql in class MappedStatement
Parameters:
parameterObject - The bean containing the parameters for the SQL statement
Returns:
The SQL statement

getSqlStatement

protected SqlStatement getSqlStatement(java.lang.Object parameterObject)
Overrides:
getSqlStatement in class MappedStatement