|
||||||||||
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
public abstract class AbstractParam
The AbstractParam
defines a parameter for JDBC calls.
Nested Class Summary | |
---|---|
static class |
AbstractParam.ParameterType
The possible parameter types. |
Field Summary | |
---|---|
static int |
SQLTYPE_AUTOMATIC
Delegate the type decision to the JDBC driver. |
static int |
SQLTYPE_DECIMAL
VARCHAR SQL Type Types.DECIMAL . |
static int |
SQLTYPE_TIMESTAMP
VARCHAR SQL Type Types.TIMESTAMP . |
static int |
SQLTYPE_VARCHAR
VARCHAR SQL Type Types.VARCHAR . |
Constructor Summary | |
---|---|
protected |
AbstractParam(AbstractParam.ParameterType pType,
int pSqlType,
Object pValue)
Creates a new instance of AbstractParam . |
Method Summary | |
---|---|
int |
getSqlType()
Gets the SQL type. |
AbstractParam.ParameterType |
getType()
Gets the parameter type. |
Object |
getValue()
Gets the current value. |
void |
setValue(Object pValue)
Sets the current value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SQLTYPE_AUTOMATIC
public static final int SQLTYPE_VARCHAR
Types.VARCHAR
.
public static final int SQLTYPE_DECIMAL
Types.DECIMAL
.
public static final int SQLTYPE_TIMESTAMP
Types.TIMESTAMP
.
Constructor Detail |
---|
protected AbstractParam(AbstractParam.ParameterType pType, int pSqlType, Object pValue)
AbstractParam
.
pType
- the parameter typepSqlType
- the SQL typepValue
- the valueMethod Detail |
---|
public AbstractParam.ParameterType getType()
public int getSqlType()
Types
public Object getValue()
public void setValue(Object pValue)
pValue
- the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |