org.apache.tapestry.contrib.jdbc
Class ObjectParameter

java.lang.Object
  |
  +--org.apache.tapestry.contrib.jdbc.ObjectParameter
All Implemented Interfaces:
IParameter

public class ObjectParameter
extends Object
implements IParameter

An arbitrary object parameter.

Since:
2.3
Version:
$Id: ObjectParameter.java,v 1.2 2004/01/19 21:34:27 hlship Exp $
Author:
Howard Lewis Ship

Constructor Summary
ObjectParameter(Object value)
           
 
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

ObjectParameter

public ObjectParameter(Object value)
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
SQLException

toString

public String toString()
Overrides:
toString in class Object