public interface VariableReference extends ValueReference
The following features are supported:
PatternLanguagePackage.getVariableReference()
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVar()
Returns the value of the 'Var' attribute.
|
Variable |
getVariable()
Returns the value of the 'Variable' reference.
|
boolean |
isAggregator()
Returns the value of the 'Aggregator' attribute.
|
void |
setAggregator(boolean value)
Sets the value of the '
Aggregator ' attribute. |
void |
setVar(java.lang.String value)
Sets the value of the '
Var ' attribute. |
void |
setVariable(Variable value)
Sets the value of the '
Variable ' reference. |
java.lang.String |
toString() |
boolean isAggregator()
If the meaning of the 'Aggregator' attribute isn't clear, there really should be more of a description here...
setAggregator(boolean)
,
PatternLanguagePackage.getVariableReference_Aggregator()
void setAggregator(boolean value)
Aggregator
' attribute.
value
- the new value of the 'Aggregator' attribute.isAggregator()
java.lang.String getVar()
Warning! This feature contains the original reference text,
not the variable name. For variable name, use the
#variable
/Variable.getName()
reference chain.
This is significant when using anonymous variables (named '_').
setVar(String)
,
PatternLanguagePackage.getVariableReference_Var()
void setVar(java.lang.String value)
Var
' attribute.
value
- the new value of the 'Var' attribute.getVar()
Variable getVariable()
If the meaning of the 'Variable' reference isn't clear, there really should be more of a description here...
setVariable(Variable)
,
PatternLanguagePackage.getVariableReference_Variable()
void setVariable(Variable value)
Variable
' reference.
value
- the new value of the 'Variable' reference.getVariable()
java.lang.String toString()
toString
in interface Expression
toString
in interface ValueReference
toString
in class java.lang.Object