org.dhmp.io
Class MapSQLStatement.InOutParameter

java.lang.Object
  extended byorg.dhmp.io.MapSQLStatement.Parameter
      extended byorg.dhmp.io.MapSQLStatement.OutParameter
          extended byorg.dhmp.io.MapSQLStatement.InOutParameter
Enclosing class:
MapSQLStatement

public static class MapSQLStatement.InOutParameter
extends MapSQLStatement.OutParameter

Static class to flag a node to be registered as in/out parameter.


Field Summary
 
Fields inherited from class org.dhmp.io.MapSQLStatement.OutParameter
type
 
Constructor Summary
MapSQLStatement.InOutParameter(java.lang.Object parameter, int type)
          Create an instance representing a out parameter of designated type.
 
Method Summary
 java.lang.Object getInputParameter()
          Retrieves the input parameter.
 java.lang.String toString()
           
 
Methods inherited from class org.dhmp.io.MapSQLStatement.OutParameter
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapSQLStatement.InOutParameter

public MapSQLStatement.InOutParameter(java.lang.Object parameter,
                                      int type)
Create an instance representing a out parameter of designated type. This type is registered before statement execution. Also sets the designated parameter to the given Object.

Parameters:
parameter - value passed to data base during statement execution.
type - a value from java.sql.Types to be registered.
Method Detail

getInputParameter

public java.lang.Object getInputParameter()
Retrieves the input parameter.

Returns:
parameter to be set before statement execution.

toString

public java.lang.String toString()
Overrides:
toString in class MapSQLStatement.OutParameter