|
||||||||||
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.InParam
public class InParam
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,
java.lang.Object pValue)
Creates a new instance of InParam for the given value and sql type. |
protected |
InParam(int pSqlType,
java.lang.String pStructType,
java.lang.Object pValue)
Creates a new instance of InParam for the given value and array type. |
|
InParam(java.lang.Object pValue)
Creates a new instance of InParam with the given value. |
|
InParam(java.lang.String pArrayType)
Deprecated. use newArrayParam(String) instead. |
|
InParam(java.lang.String pArrayType,
java.lang.Object pValue)
Deprecated. use newArrayParam(String, Object) instead. |
Method Summary | |
---|---|
static InParam |
newArrayParam(java.lang.String pArrayType)
Creates a new instance of InParam for the given array type. |
static InParam |
newArrayParam(java.lang.String pArrayType,
java.lang.Object pValue)
Creates a new instance of InParam for the given array type. |
static InParam |
newStructParam(java.lang.String pStructType)
Creates a new instance of InParam for the given struct type. |
static InParam |
newStructParam(java.lang.String pStructType,
java.lang.Object pValue)
Creates a new instance of InParam 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 InParam(java.lang.Object pValue)
InParam
with the given value.
pValue
- the input valuepublic InParam(int pSqlType)
InParam
for the given sql type.
pSqlType
- the sql type. All Types
are supported.public InParam(int pSqlType, java.lang.Object pValue)
InParam
for the given value and sql type.
pValue
- the input valuepSqlType
- the sql type. All Types
are supported.@Deprecated public InParam(java.lang.String pArrayType)
newArrayParam(String)
instead.
InParam
for the given array type.
pArrayType
- the array type.@Deprecated public InParam(java.lang.String pArrayType, java.lang.Object pValue)
newArrayParam(String, Object)
instead.
InParam
for the given value and array type.
pValue
- the input valuepArrayType
- the array type.protected InParam(int pSqlType, java.lang.String pStructType, java.lang.Object pValue)
InParam
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 InParam newArrayParam(java.lang.String pArrayType)
InParam
for the given array type.
pArrayType
- the array type.
public static InParam newArrayParam(java.lang.String pArrayType, java.lang.Object pValue)
InParam
for the given array type.
pArrayType
- the array type.pValue
- the input value
public static InParam newStructParam(java.lang.String pStructType)
InParam
for the given struct type.
pStructType
- the array type.
public static InParam newStructParam(java.lang.String pStructType, java.lang.Object pValue)
InParam
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 |