net.sourceforge.backpedal.impl.db
Class IntegerBindVariable

java.lang.Object
  |
  +--net.sourceforge.backpedal.impl.db.AbstractBindVariable
        |
        +--net.sourceforge.backpedal.impl.db.IntegerBindVariable
All Implemented Interfaces:
BindVariable, Cloneable

public class IntegerBindVariable
extends AbstractBindVariable


Constructor Summary
IntegerBindVariable(int index, int value, String columnName)
           
 
Method Summary
 int getSqlType()
          Return the value from java.sql.Types that I represent.
 void setInto(int index, PreparedStatement preparedStatement)
          Call the relevant set() method on preparedStatement but with a index override supplied
 
Methods inherited from class net.sourceforge.backpedal.impl.db.AbstractBindVariable
clone, getColumnName, getIndex, getValue, isNull, setColumnName, setIndex, setInto, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerBindVariable

public IntegerBindVariable(int index,
                           int value,
                           String columnName)
Method Detail

setInto

public void setInto(int index,
                    PreparedStatement preparedStatement)
             throws SQLException
Description copied from interface: BindVariable
Call the relevant set() method on preparedStatement but with a index override supplied

SQLException

getSqlType

public int getSqlType()
Description copied from interface: BindVariable
Return the value from java.sql.Types that I represent.

Specified by:
getSqlType in interface BindVariable
Specified by:
getSqlType in class AbstractBindVariable


Copyright © Sourceforge. All Rights Reserved.