com.buzzsurf.sql
Class InOutParameter

java.lang.Object
  extended by com.buzzsurf.sql.OutParameter
      extended by com.buzzsurf.sql.InOutParameter

public class InOutParameter
extends OutParameter

An object that models a stored procedure INOUT parameter.

See com.buzzsurf.sql.StoredProcedure for usage information.

Author:
Paul Cowan (www.buzzsurf.com/sql)
See Also:
StoredProcedure, Types

Field Summary
protected  java.lang.Object inValue
           
 
Fields inherited from class com.buzzsurf.sql.OutParameter
outSqlType, outValue
 
Constructor Summary
InOutParameter()
          Empty constructor provided for convenience
InOutParameter(int outSqlType, java.lang.Object inValue)
          Construct a stored procedure INOUT parameter of the specified type
 
Method Summary
 java.lang.Object getInValue()
           
 void setInValue(java.lang.Object inValue)
           
 
Methods inherited from class com.buzzsurf.sql.OutParameter
getBoolean, getByte, getBytes, getCalendar, getDate, getDouble, getFloat, getInt, getLong, getObject, getOutSqlType, getShort, getString, setCalendar, setOutSqlType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inValue

protected java.lang.Object inValue
Constructor Detail

InOutParameter

public InOutParameter()
Empty constructor provided for convenience


InOutParameter

public InOutParameter(int outSqlType,
                      java.lang.Object inValue)
Construct a stored procedure INOUT parameter of the specified type

Parameters:
outSqlType - A java.sql.Type constant int
inValue - The input parameter value
Method Detail

setInValue

public void setInValue(java.lang.Object inValue)
Parameters:
inValue - The input parameter value

getInValue

public java.lang.Object getInValue()
Returns:
The input parameter value