public final class SqlParameter
extends java.lang.Object
Constructor and Description |
---|
SqlParameter() |
SqlParameter(int index,
java.lang.Object value,
int sqlType) |
SqlParameter(int index,
java.lang.Object value,
ParameterDirection direction,
int sqlType) |
SqlParameter(int index,
ParameterDirection direction,
int sqlType) |
Modifier and Type | Method and Description |
---|---|
ParameterDirection |
getDirection() |
int |
getParameterIndex() |
int |
getSqlDbType() |
java.lang.Object |
getValue() |
void |
setDirection(ParameterDirection direction) |
void |
setParameterIndex(int parameterIndex) |
void |
setSqlDbType(int sqlDbType) |
void |
setValue(java.lang.Object value) |
public SqlParameter()
public SqlParameter(int index, java.lang.Object value, int sqlType)
public SqlParameter(int index, java.lang.Object value, ParameterDirection direction, int sqlType)
public SqlParameter(int index, ParameterDirection direction, int sqlType)
public int getSqlDbType()
public void setSqlDbType(int sqlDbType)
sqlDbType
- the sqlDbType to setpublic int getParameterIndex()
public void setParameterIndex(int parameterIndex)
parameterIndex
- the parameterIndex to setpublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- the value to setpublic ParameterDirection getDirection()
public void setDirection(ParameterDirection direction)
direction
- the direction to set