public interface VariableReference
extends org.eclipse.emf.ecore.EObject
The following features are supported:
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVar()
Returns the value of the 'Var' attribute.
|
Variable |
getVariable() |
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 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()
void setVariable(Variable value)
Variable
' reference.
value
- the new value of the 'Variable' reference.getVariable()
Variable getVariable()