com.ibatis.sqlmap.engine.mapping.statement
Class BaseStatement

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.statement.BaseStatement
All Implemented Interfaces:
MappedStatement
Direct Known Subclasses:
GeneralStatement

public abstract class BaseStatement
extends java.lang.Object
implements MappedStatement


Constructor Summary
BaseStatement()
           
 
Method Summary
 void addExecuteListener(ExecuteListener listener)
           
 void addResultMap(ResultMap resultMap)
           
 ResultMap[] getAdditionalResultMaps()
           
 CacheKey getCacheKey(RequestScope request, java.lang.Object parameterObject)
           
 java.lang.Integer getFetchSize()
           
 java.lang.String getId()
           
 java.lang.Class getParameterClass()
           
 ParameterMap getParameterMap()
           
 java.lang.String getResource()
           
 ResultMap getResultMap()
           
 java.lang.Integer getResultSetType()
           
 Sql getSql()
           
 SqlExecutor getSqlExecutor()
           
 SqlMapClient getSqlMapClient()
           
 java.lang.Integer getTimeout()
           
 boolean hasMultipleResultMaps()
           
 void initRequest(RequestScope request)
           
 void notifyListeners()
           
 void setBaseCacheKey(int base)
           
 void setFetchSize(java.lang.Integer fetchSize)
           
 void setId(java.lang.String id)
           
 void setParameterClass(java.lang.Class parameterClass)
           
 void setParameterMap(ParameterMap parameterMap)
           
 void setResource(java.lang.String resource)
           
 void setResultMap(ResultMap resultMap)
           
 void setResultSetType(java.lang.Integer resultSetType)
           
 void setSql(Sql sql)
           
 void setSqlMapClient(SqlMapClient sqlMapClient)
           
 void setTimeout(java.lang.Integer timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
executeQueryForList, executeQueryForObject, executeQueryWithRowHandler, executeUpdate, getStatementType
 

Constructor Detail

BaseStatement

public BaseStatement()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface MappedStatement

getResultSetType

public java.lang.Integer getResultSetType()
Specified by:
getResultSetType in interface MappedStatement

setResultSetType

public void setResultSetType(java.lang.Integer resultSetType)

getFetchSize

public java.lang.Integer getFetchSize()
Specified by:
getFetchSize in interface MappedStatement

setFetchSize

public void setFetchSize(java.lang.Integer fetchSize)

setId

public void setId(java.lang.String id)

getSql

public Sql getSql()
Specified by:
getSql in interface MappedStatement

setSql

public void setSql(Sql sql)

getResultMap

public ResultMap getResultMap()
Specified by:
getResultMap in interface MappedStatement

setResultMap

public void setResultMap(ResultMap resultMap)

getParameterMap

public ParameterMap getParameterMap()
Specified by:
getParameterMap in interface MappedStatement

setParameterMap

public void setParameterMap(ParameterMap parameterMap)

getParameterClass

public java.lang.Class getParameterClass()
Specified by:
getParameterClass in interface MappedStatement

setParameterClass

public void setParameterClass(java.lang.Class parameterClass)

getResource

public java.lang.String getResource()

setResource

public void setResource(java.lang.String resource)

getCacheKey

public CacheKey getCacheKey(RequestScope request,
                            java.lang.Object parameterObject)
Specified by:
getCacheKey in interface MappedStatement

setBaseCacheKey

public void setBaseCacheKey(int base)
Specified by:
setBaseCacheKey in interface MappedStatement

addExecuteListener

public void addExecuteListener(ExecuteListener listener)
Specified by:
addExecuteListener in interface MappedStatement

notifyListeners

public void notifyListeners()
Specified by:
notifyListeners in interface MappedStatement

getSqlExecutor

public SqlExecutor getSqlExecutor()

getSqlMapClient

public SqlMapClient getSqlMapClient()

setSqlMapClient

public void setSqlMapClient(SqlMapClient sqlMapClient)

initRequest

public void initRequest(RequestScope request)
Specified by:
initRequest in interface MappedStatement

getTimeout

public java.lang.Integer getTimeout()
Specified by:
getTimeout in interface MappedStatement

setTimeout

public void setTimeout(java.lang.Integer timeout)

addResultMap

public void addResultMap(ResultMap resultMap)

hasMultipleResultMaps

public boolean hasMultipleResultMaps()
Specified by:
hasMultipleResultMaps in interface MappedStatement

getAdditionalResultMaps

public ResultMap[] getAdditionalResultMaps()
Specified by:
getAdditionalResultMaps in interface MappedStatement