net.sf.farrago.jdbc.param
Class FarragoJdbcApproxParamDef

java.lang.Object
  extended by net.sf.farrago.jdbc.param.FarragoJdbcParamDef
      extended by net.sf.farrago.jdbc.param.FarragoJdbcApproxParamDef

 class FarragoJdbcApproxParamDef
extends FarragoJdbcParamDef

FarragoJdbcEngineApproxParamDef defines a approximate numeric parameter. This class is JDK 1.4 compatible.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/param/FarragoJdbcApproxParamDef.java#10 $
Author:
Angel Chang

Field Summary
(package private)  double max
           
(package private)  double min
           
 
Fields inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
paramMetaData, paramName
 
Constructor Summary
FarragoJdbcApproxParamDef(String paramName, FarragoParamFieldMetaData paramMetaData)
           
 
Method Summary
private  Double getDouble(Object value)
           
private  Float getFloat(Object value)
           
 Object scrubValue(Object x)
           
 
Methods inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
checkNullable, checkRange, checkRange, checkRange, getParamMetaData, getParamName, newInvalidFormat, newInvalidType, newNotNullable, newValueOutOfRange, newValueTooLong, scrubValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

final double min

max

final double max
Constructor Detail

FarragoJdbcApproxParamDef

FarragoJdbcApproxParamDef(String paramName,
                          FarragoParamFieldMetaData paramMetaData)
Method Detail

getDouble

private Double getDouble(Object value)

getFloat

private Float getFloat(Object value)

scrubValue

public Object scrubValue(Object x)
Overrides:
scrubValue in class FarragoJdbcParamDef