net.sf.farrago.jdbc.param
Class FarragoJdbcTimestampParamDef

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

 class FarragoJdbcTimestampParamDef
extends FarragoJdbcParamDef

FarragoJdbcEngineTimestampParamDef defines a Timestamp parameter.

This class is JDK 1.4 compatible.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/param/FarragoJdbcTimestampParamDef.java#11 $
Author:
Julian Hyde

Field Summary
 
Fields inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
paramMetaData, paramName
 
Constructor Summary
FarragoJdbcTimestampParamDef(String paramName, FarragoParamFieldMetaData paramMetaData)
          Creates a FarragoJdbcEngineTimestampParamDef.
 
Method Summary
 Object scrubValue(Object x)
           
 Object scrubValue(Object x, Calendar cal)
           
 
Methods inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
checkNullable, checkRange, checkRange, checkRange, getParamMetaData, getParamName, newInvalidFormat, newInvalidType, newNotNullable, newValueOutOfRange, newValueTooLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FarragoJdbcTimestampParamDef

FarragoJdbcTimestampParamDef(String paramName,
                             FarragoParamFieldMetaData paramMetaData)
Creates a FarragoJdbcEngineTimestampParamDef.

Parameters:
paramName - Name
paramMetaData - Meta data
Method Detail

scrubValue

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

scrubValue

public Object scrubValue(Object x,
                         Calendar cal)
Overrides:
scrubValue in class FarragoJdbcParamDef