com.ibatis.db.sqlmap.typehandler
Class FloatTypeHandler

java.lang.Object
  extended bycom.ibatis.db.sqlmap.typehandler.BaseTypeHandler
      extended bycom.ibatis.db.sqlmap.typehandler.FloatTypeHandler
All Implemented Interfaces:
TypeHandler

public class FloatTypeHandler
extends BaseTypeHandler


Constructor Summary
FloatTypeHandler()
           
 
Method Summary
protected  java.lang.Object getNullValue(java.lang.String nullValue)
           
protected  java.lang.Object getValueByIndex(ResultMapping mapping, java.sql.ResultSet rs)
           
protected  java.lang.Object getValueByName(ResultMapping mapping, java.sql.ResultSet rs)
           
 java.lang.Object instantiateValue()
           
 boolean isEqualToNullValue(java.lang.String nullValue, java.lang.Object realValue)
           
 boolean isSimpleType()
           
 void setParameter(ParameterMapping mapping, java.sql.PreparedStatement ps, int index, java.lang.Object value)
           
 
Methods inherited from class com.ibatis.db.sqlmap.typehandler.BaseTypeHandler
setBeanProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatTypeHandler

public FloatTypeHandler()
Method Detail

getValueByName

protected java.lang.Object getValueByName(ResultMapping mapping,
                                          java.sql.ResultSet rs)
                                   throws java.sql.SQLException
Specified by:
getValueByName in class BaseTypeHandler
Throws:
java.sql.SQLException

getValueByIndex

protected java.lang.Object getValueByIndex(ResultMapping mapping,
                                           java.sql.ResultSet rs)
                                    throws java.sql.SQLException
Specified by:
getValueByIndex in class BaseTypeHandler
Throws:
java.sql.SQLException

getNullValue

protected java.lang.Object getNullValue(java.lang.String nullValue)
                                 throws java.sql.SQLException
Specified by:
getNullValue in class BaseTypeHandler
Throws:
java.sql.SQLException

instantiateValue

public java.lang.Object instantiateValue()

isEqualToNullValue

public boolean isEqualToNullValue(java.lang.String nullValue,
                                  java.lang.Object realValue)

isSimpleType

public boolean isSimpleType()

setParameter

public void setParameter(ParameterMapping mapping,
                         java.sql.PreparedStatement ps,
                         int index,
                         java.lang.Object value)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException