com.sibvisions.rad.persist.jdbc.param
Class InParam

java.lang.Object
  extended by com.sibvisions.rad.persist.jdbc.param.AbstractParam
      extended by com.sibvisions.rad.persist.jdbc.param.InParam

public class InParam
extends AbstractParam

The InParam defines a simple input parameter. The value is not changed due to a JDBC call. Only manual value updates are possible.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
AbstractParam.ParameterType
 
Field Summary
 
Fields inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
SQLTYPE_AUTOMATIC, SQLTYPE_DECIMAL, SQLTYPE_TIMESTAMP, SQLTYPE_VARCHAR
 
Constructor Summary
InParam(int pSqlType)
          Creates a new instance of InParam for the given sql type.
InParam(int pSqlType, Object pValue)
          Creates a new instance of InParam for the given value and sql type.
InParam(Object pValue)
          Creates a new instance of InParam with the given value.
 
Method Summary
 
Methods inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam
getSqlType, getType, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InParam

public InParam(Object pValue)
Creates a new instance of InParam with the given value.

Parameters:
pValue - the input value

InParam

public InParam(int pSqlType)
Creates a new instance of InParam for the given sql type.

Parameters:
pSqlType - the sql type. All Types are supported.

InParam

public InParam(int pSqlType,
               Object pValue)
Creates a new instance of InParam for the given value and sql type.

Parameters:
pValue - the input value
pSqlType - the sql type. All Types are supported.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.