net.sf.letsparty.driver.typehandlers
Class NullHandler

java.lang.Object
  extended bynet.sf.letsparty.driver.typehandlers.NullHandler
All Implemented Interfaces:
TypeHandler

public class NullHandler
extends java.lang.Object
implements TypeHandler


Field Summary
private  int sqlType
           
private  java.lang.String typeName
           
 
Constructor Summary
NullHandler(int sqlType)
           
NullHandler(int sqlType, java.lang.String typeName)
           
 
Method Summary
 java.lang.Object getValueAsObject()
           
 void setParameter(java.sql.PreparedStatement preparedStatement, int indexAt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sqlType

private int sqlType

typeName

private java.lang.String typeName
Constructor Detail

NullHandler

public NullHandler(int sqlType,
                   java.lang.String typeName)

NullHandler

public NullHandler(int sqlType)
Method Detail

setParameter

public void setParameter(java.sql.PreparedStatement preparedStatement,
                         int indexAt)
                  throws java.sql.SQLException
Specified by:
setParameter in interface TypeHandler
Throws:
java.sql.SQLException

getValueAsObject

public java.lang.Object getValueAsObject()
Specified by:
getValueAsObject in interface TypeHandler