|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParameter
Represents an execution parameter.
| Nested Class Summary | |
|---|---|
static class |
IParameter.Direction
|
| Method Summary | |
|---|---|
IParameter.Direction |
getDirection()
Get direction of parameter |
int |
getIndex()
Get index of this parameter in the IExecution. |
java.lang.Class |
getType()
Get type of parameter, defined as a Java class. |
java.lang.Object |
getValue()
Get value of object if this is an IN parameter. |
boolean |
getValueSpecified()
Determine whether a value was set for this parameter. |
void |
setDirection(IParameter.Direction direction)
Set direction of parameter |
void |
setIndex(int index)
Set index of this parameter in the IExecution. |
void |
setType(java.lang.Class type)
Set type of parameter, defined as a Java class. |
void |
setValue(java.lang.Object value)
Set value of object if this is an IN parameter. |
void |
setValueSpecified(boolean specified)
Indicate that a value was specified for this parameter. |
| Methods inherited from interface org.teiid.connector.language.ILanguageObject |
|---|
acceptVisitor |
| Methods inherited from interface org.teiid.connector.language.IMetadataReference |
|---|
getMetadataObject |
| Method Detail |
|---|
int getIndex()
IParameter.Direction getDirection()
IParameter.Direction.IN,
IParameter.Direction.OUT,
IParameter.Direction.INOUT,
IParameter.Direction.RETURNjava.lang.Class getType()
java.lang.Object getValue()
boolean getValueSpecified()
void setIndex(int index)
index - Index of the parametervoid setDirection(IParameter.Direction direction)
direction - DirectionIParameter.Direction.IN,
IParameter.Direction.OUT,
IParameter.Direction.INOUT,
IParameter.Direction.RETURNvoid setType(java.lang.Class type)
type - Type of parametervoid setValue(java.lang.Object value)
setValueSpecified(boolean)
to indicate whether the null was a missing or actual value.
value - Value of IN parameter or null otherwisevoid setValueSpecified(boolean specified)
specified - True if value was specified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||