public interface ParameterSlot
Modifier and Type | Method and Description |
---|---|
Object |
getCachedDefaultValue() |
Calc |
getDefaultValueCalc()
Returns a compiled expression to compute the default value of the
parameter.
|
int |
getIndex()
Returns the unique index of the slot.
|
Parameter |
getParameter()
Returns the parameter.
|
Object |
getParameterValue()
Returns the value of this parameter.
|
boolean |
isParameterSet()
Returns whether the parameter has been assigned a value.
|
void |
setCachedDefaultValue(Object value) |
void |
setParameterValue(Object value,
boolean assigned)
Sets the value of this parameter.
|
void |
unsetParameterValue()
Unsets the parameter value.
|
int getIndex()
Calc getDefaultValueCalc()
Parameter getParameter()
void setParameterValue(Object value, boolean assigned)
NOTE: This method will be removed when we store parameter values
in the Result
rather than in the
Query
.
value
- New valueassigned
- Whether isParameterSet()
should return true;
supply value false
if this is an internal assignment, to
remember the default valueObject getParameterValue()
boolean isParameterSet()
void setCachedDefaultValue(Object value)
Object getCachedDefaultValue()
void unsetParameterValue()
Copyright © 2018 Hitachi Vantara. All rights reserved.