public class ParameterRemote extends Object implements ParameterInterface
| Constructor and Description |
|---|
ParameterRemote(int index) |
| 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 |
readMetaData(Transfer transfer)
Write the parameter meta data from the transfer object.
|
void |
setValue(Value newValue,
boolean closeOld)
Set the value of the parameter.
|
static void |
writeMetaData(Transfer transfer,
ParameterInterface p)
Write the parameter meta data to the transfer object.
|
public void setValue(Value newValue, boolean closeOld)
ParameterInterfacesetValue in interface ParameterInterfacenewValue - the new valuecloseOld - if the old value (if one is set) should be closedpublic Value getParamValue()
ParameterInterfacegetParamValue in interface ParameterInterfacepublic void checkSet()
ParameterInterfacecheckSet in interface ParameterInterfacepublic boolean isValueSet()
ParameterInterfaceisValueSet in interface ParameterInterfacepublic int getType()
ParameterInterfacegetType in interface ParameterInterfacepublic long getPrecision()
ParameterInterfacegetPrecision in interface ParameterInterfacepublic int getScale()
ParameterInterfacegetScale in interface ParameterInterfacepublic int getNullable()
ParameterInterfacegetNullable in interface ParameterInterfacepublic void readMetaData(Transfer transfer) throws IOException
transfer - the transfer objectIOExceptionpublic static void writeMetaData(Transfer transfer, ParameterInterface p) throws IOException
transfer - the transfer objectp - the parameterIOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.