|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameter
Parameter to a Query.
A parameter is not an expression; see ParameterExpr
.
Nested Class Summary | |
---|---|
static class |
Parameter.Scope
Scope where a parameter is defined. |
Method Summary | |
---|---|
Exp |
getDefaultExp()
Returns the expression which provides the default value for this Parameter. |
String |
getDescription()
Returns the description of this Parameter. |
String |
getName()
Returns the name of this Parameter. |
Parameter.Scope |
getScope()
Returns the scope where this parmater is defined. |
Type |
getType()
Returns the type of this Parameter. |
Object |
getValue()
Returns the value of this parameter. |
boolean |
isModifiable()
Returns whether the value of this Parameter can be modified in a query. |
void |
setValue(Object value)
Sets the value of this parameter. |
Method Detail |
---|
Parameter.Scope getScope()
Type getType()
Exp getDefaultExp()
String getName()
String getDescription()
boolean isModifiable()
Object getValue()
setValue(Object)
has
not been called, and the parameter still has its default value, returns
null.
The type of the value is (depending on the type of the parameter)
a String
, Number
, or Member
.
void setValue(Object value)
value
- Value of the parameter; must be a String
,
a Double
, or a Member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |