|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.persist.jdbc.param.AbstractParam
com.sibvisions.rad.persist.jdbc.param.InOutParam
public class InOutParam
The InOutParam
defines an input and output parameter for JDBC calls.
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 | |
---|---|
|
InOutParam(int pSqlType)
Creates a new instance of InOutParam for the given sql type. |
|
InOutParam(int pSqlType,
java.lang.Object pValue)
Creates a new instance of InOutParam for the given value and sql type. |
protected |
InOutParam(int pSqlType,
java.lang.String pStructType,
java.lang.Object pValue)
Creates a new instance of InOutParam for the given value and array type. |
|
InOutParam(java.lang.String pArrayType)
Deprecated. use newArrayParam(String) instead. |
|
InOutParam(java.lang.String pArrayType,
java.lang.Object pValue)
Deprecated. use newArrayParam(String, Object) instead. |
Method Summary | |
---|---|
static InOutParam |
newArrayParam(java.lang.String pArrayType)
Creates a new instance of InOutParam for the given array type. |
static InOutParam |
newArrayParam(java.lang.String pArrayType,
java.lang.Object pValue)
Creates a new instance of InOutParam for the given array type. |
static InOutParam |
newStructParam(java.lang.String pStructType)
Creates a new instance of InOutParam for the given struct type. |
static InOutParam |
newStructParam(java.lang.String pStructType,
java.lang.Object pValue)
Creates a new instance of InOutParam for the given struct type. |
Methods inherited from class com.sibvisions.rad.persist.jdbc.param.AbstractParam |
---|
getArrayType, getSqlType, getType, getTypeName, getValue, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InOutParam(int pSqlType)
InOutParam
for the given sql type.
pSqlType
- the sql type. All Types
are supported.public InOutParam(int pSqlType, java.lang.Object pValue)
InOutParam
for the given value and sql type.
pValue
- the input valuepSqlType
- the sql type. All Types
are supported.@Deprecated public InOutParam(java.lang.String pArrayType)
newArrayParam(String)
instead.
InOutParam
for the given array type.
pArrayType
- the array type.@Deprecated public InOutParam(java.lang.String pArrayType, java.lang.Object pValue)
newArrayParam(String, Object)
instead.
InOutParam
for the given value and array type.
pArrayType
- the array type.pValue
- the input valueprotected InOutParam(int pSqlType, java.lang.String pStructType, java.lang.Object pValue)
InOutParam
for the given value and array type.
pSqlType
- the sql type. All Types
are supported.pStructType
- the array type.pValue
- the input valueMethod Detail |
---|
public static InOutParam newArrayParam(java.lang.String pArrayType)
InOutParam
for the given array type.
pArrayType
- the array type.
public static InOutParam newArrayParam(java.lang.String pArrayType, java.lang.Object pValue)
InOutParam
for the given array type.
pArrayType
- the array type.pValue
- the input value
public static InOutParam newStructParam(java.lang.String pStructType)
InOutParam
for the given struct type.
pStructType
- the array type.
public static InOutParam newStructParam(java.lang.String pStructType, java.lang.Object pValue)
InOutParam
for the given struct type.
pStructType
- the array type.pValue
- the input value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |