com.uwyn.rife.database
Class VirtualParameters

java.lang.Object
  extended by com.uwyn.rife.database.VirtualParameters

public class VirtualParameters
extends Object

Internal class to handle virtual parameters of a DbPreparedStatement.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Constructor Summary
VirtualParameters(QueryParameters parameters, VirtualParametersHandler handler)
          Creates a new VirtualParameters instance.
 
Method Summary
 void callHandler(DbPreparedStatement statement)
          Calls the registered VirtualParametersHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualParameters

public VirtualParameters(QueryParameters parameters,
                         VirtualParametersHandler handler)
Creates a new VirtualParameters instance.

Parameters:
parameters - the actual parameters that are virtual.
handler - the VirtualParametersHandler that will be used by the callHandler(DbPreparedStatement) method.
Since:
1.0
Method Detail

callHandler

public void callHandler(DbPreparedStatement statement)
Calls the registered VirtualParametersHandler. This is typically called when all virtual parameters have been defined in a prepared statement and the statement is ready to be executed.

Parameters:
statement - the prepared statement that has all the virtual parameters defined.
Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.