public class ParameterRemote extends Object implements ParameterInterface
| 构造器和说明 |
|---|
ParameterRemote(int index) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
TypeInfo |
getType()
Returns the expected data type 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)
Read 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 在接口中 ParameterInterfacenewValue - the new valuecloseOld - if the old value (if one is set) should be closedpublic Value getParamValue()
ParameterInterfacegetParamValue 在接口中 ParameterInterfacepublic void checkSet()
ParameterInterfacecheckSet 在接口中 ParameterInterfacepublic boolean isValueSet()
ParameterInterfaceisValueSet 在接口中 ParameterInterfacepublic TypeInfo getType()
ParameterInterfacegetType 在接口中 ParameterInterfacepublic int getNullable()
ParameterInterfacegetNullable 在接口中 ParameterInterfacepublic void readMetaData(Transfer transfer) throws IOException
transfer - the transfer objectIOException - on failurepublic static void writeMetaData(Transfer transfer, ParameterInterface p) throws IOException
transfer - the transfer objectp - the parameterIOException - on failureCopyright © 2022. All rights reserved.