org.apache.tapestry.contrib.jdbc
Class BooleanParameter
java.lang.Object
org.apache.tapestry.contrib.jdbc.BooleanParameter
- All Implemented Interfaces:
- IParameter
- public class BooleanParameter
- extends java.lang.Object
- implements IParameter
Wrapper around a boolean parameter.
- Since:
- 2.3
- Author:
- Howard Lewis Ship
Method Summary |
void |
set(java.sql.PreparedStatement statement,
int index)
Invokes the appropriate setXXX() method on the
PreparedStatement . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TRUE
public static final BooleanParameter TRUE
FALSE
public static final BooleanParameter FALSE
set
public void set(java.sql.PreparedStatement statement,
int index)
throws java.sql.SQLException
- Description copied from interface:
IParameter
- Invokes the appropriate setXXX() method on the
PreparedStatement
.
- Specified by:
set
in interface IParameter
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()