net.sourceforge.backpedal.impl.db
Class NullBindVariable

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

public class NullBindVariable
extends AbstractBindVariable


Constructor Summary
NullBindVariable(int index, int sqlType, String columnName)
           
 
Method Summary
 int getSqlType()
          Return the value from java.sql.Types that I represent.
 boolean isNull()
           
 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, setColumnName, setIndex, setInto, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullBindVariable

public NullBindVariable(int index,
                        int sqlType,
                        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

isNull

public boolean isNull()
Specified by:
isNull in interface BindVariable
Overrides:
isNull in class AbstractBindVariable


Copyright © Sourceforge. All Rights Reserved.