org.apache.tapestry.contrib.jdbc
Class TimestampParameter

java.lang.Object
  extended by org.apache.tapestry.contrib.jdbc.TimestampParameter
All Implemented Interfaces:
IParameter

public class TimestampParameter
extends Object
implements IParameter

Used with Timestamp parameters.

Version:
$Id: TimestampParameter.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
TimestampParameter(Timestamp timestamp)
           
 
Method Summary
 void set(PreparedStatement statement, int index)
          Invokes the appropriate setXXX() method on the PreparedStatement.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimestampParameter

public TimestampParameter(Timestamp timestamp)
Method Detail

set

public void set(PreparedStatement statement,
                int index)
         throws SQLException
Description copied from interface: IParameter
Invokes the appropriate setXXX() method on the PreparedStatement.

Specified by:
set in interface IParameter
Throws:
SQLException

toString

public String toString()
Overrides:
toString in class Object