com.ibatis.sqlmap.engine.mapping.statement
Class BaseStatement
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.BaseStatement
- All Implemented Interfaces:
- MappedStatement
- Direct Known Subclasses:
- GeneralStatement
- public abstract class BaseStatement
- extends java.lang.Object
- implements MappedStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseStatement
public BaseStatement()
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