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

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

public class BooleanPrimitiveJdbcIO
extends Object
implements JdbcIO<Boolean>

Author:
ufo

Constructor Summary
BooleanPrimitiveJdbcIO()
           
 
Method Summary
 Class<Boolean> getDBClass()
           
 Boolean getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 Boolean getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(Boolean 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

BooleanPrimitiveJdbcIO

public BooleanPrimitiveJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.