public interface ParameterInterface
Modifier and Type | Method and Description |
---|---|
void |
checkSet()
Check if the value is set.
|
int |
getNullable()
Check if this column is nullable.
|
Value |
getParamValue()
Get the value of the parameter if set.
|
long |
getPrecision()
Get the expected precision of this parameter.
|
int |
getScale()
Get the expected scale of this parameter.
|
int |
getType()
Get the expected data type of the parameter if no value is set, or the
data type of the value if one is set.
|
boolean |
isValueSet()
Is the value of a parameter set.
|
void |
setValue(Value value,
boolean closeOld)
Set the value of the parameter.
|
void setValue(Value value, boolean closeOld)
value
- the new valuecloseOld
- if the old value (if one is set) should be closedValue getParamValue()
void checkSet() throws DbException
DbException
- if not set.boolean isValueSet()
int getType()
long getPrecision()
int getScale()
int getNullable()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.