com.jpattern.orm.persistor.type.jdbc
Class FloatPrimitiveJdbcIO

java.lang.Object
  extended by com.jpattern.orm.persistor.type.jdbc.FloatPrimitiveJdbcIO
All Implemented Interfaces:
JdbcIO<Float>

public class FloatPrimitiveJdbcIO
extends Object
implements JdbcIO<Float>

Author:
ufo

Constructor Summary
FloatPrimitiveJdbcIO()
           
 
Method Summary
 Class<Float> getDBClass()
           
 Float getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 Float getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(Float value, PreparedStatement ps, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatPrimitiveJdbcIO

public FloatPrimitiveJdbcIO()
Method Detail

getValueFromResultSet

public Float getValueFromResultSet(ResultSet rs,
                                   String rsColumnName)
                            throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<Float>
Throws:
SQLException

getValueFromResultSet

public Float getValueFromResultSet(ResultSet rs,
                                   int rsColumnIndex)
                            throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<Float>
Throws:
SQLException

setValueToPreparedStatement

public void setValueToPreparedStatement(Float value,
                                        PreparedStatement ps,
                                        int index)
                                 throws SQLException
Specified by:
setValueToPreparedStatement in interface JdbcIO<Float>
Throws:
SQLException

getDBClass

public Class<Float> getDBClass()
Specified by:
getDBClass in interface JdbcIO<Float>


Copyright © 2013. All Rights Reserved.