com.ibatis.sqlmap.engine.mapping.parameter
Class BasicParameterMap
java.lang.Object
com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap
- All Implemented Interfaces:
- ParameterMap
- Direct Known Subclasses:
- NoParameterMap
- public class BasicParameterMap
- extends java.lang.Object
- implements ParameterMap
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicParameterMap
public BasicParameterMap(SqlMapExecutorDelegate delegate)
getDelegate
public SqlMapExecutorDelegate getDelegate()
getId
public java.lang.String getId()
- Specified by:
getId
in interface ParameterMap
setId
public void setId(java.lang.String id)
getParameterClass
public java.lang.Class getParameterClass()
- Specified by:
getParameterClass
in interface ParameterMap
setParameterClass
public void setParameterClass(java.lang.Class parameterClass)
getDataExchange
public DataExchange getDataExchange()
setDataExchange
public void setDataExchange(DataExchange dataExchange)
getParameterMappings
public ParameterMapping[] getParameterMappings()
- Specified by:
getParameterMappings
in interface ParameterMap
setParameterMappingList
public void setParameterMappingList(java.util.List parameterMappingList)
getParameterIndex
public int getParameterIndex(java.lang.String propertyName)
getParameterCount
public int getParameterCount()
setParameters
public void setParameters(RequestScope request,
java.sql.PreparedStatement ps,
java.lang.Object[] parameters)
throws java.sql.SQLException
- Specified by:
setParameters
in interface ParameterMap
- Parameters:
ps
- parameters
-
- Throws:
java.sql.SQLException
getParameterObjectValues
public java.lang.Object[] getParameterObjectValues(RequestScope request,
java.lang.Object parameterObject)
- Specified by:
getParameterObjectValues
in interface ParameterMap
getCacheKey
public CacheKey getCacheKey(RequestScope request,
java.lang.Object parameterObject)
- Specified by:
getCacheKey
in interface ParameterMap
refreshParameterObjectValues
public void refreshParameterObjectValues(RequestScope request,
java.lang.Object parameterObject,
java.lang.Object[] values)
- Specified by:
refreshParameterObjectValues
in interface ParameterMap
getResource
public java.lang.String getResource()
setResource
public void setResource(java.lang.String resource)
setParameter
protected void setParameter(java.sql.PreparedStatement ps,
BasicParameterMapping mapping,
java.lang.Object[] parameters,
int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException