net.sf.letsparty.driver.typehandlers
Class DoubleHandler

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

public class DoubleHandler
extends java.lang.Object
implements TypeHandler


Field Summary
private  double value
           
private  java.lang.Double valueObj
           
 
Constructor Summary
DoubleHandler(double value)
           
 
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

value

private double value

valueObj

private java.lang.Double valueObj
Constructor Detail

DoubleHandler

public DoubleHandler(double value)
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