public interface VariableDeclaration extends EObject
The following features are supported:
VariablesPackage.getVariableDeclaration()
Modifier and Type | Method and Description |
---|---|
ANY |
getDeclaresVariableType()
Returns the value of the 'Declares Variable Type' containment reference.
|
Literal |
getHasInitialVariableValue()
Returns the value of the 'Has Initial Variable Value' containment reference.
|
LocationSpecification |
getHasVariableLocation()
Returns the value of the 'Has Variable Location' containment reference.
|
Function |
getIsPartOf()
Returns the value of the 'Is Part Of' container reference.
|
String |
getName()
Returns the value of the 'Name' attribute.
|
VariableModifier |
getVariableModifier()
Returns the value of the 'Variable Modifier' attribute.
|
VariableType |
getVariableType()
Returns the value of the 'Variable Type' attribute.
|
void |
setDeclaresVariableType(ANY value)
Sets the value of the '
Declares Variable Type ' containment reference. |
void |
setHasInitialVariableValue(Literal value)
Sets the value of the '
Has Initial Variable Value ' containment reference. |
void |
setHasVariableLocation(LocationSpecification value)
Sets the value of the '
Has Variable Location ' containment reference. |
void |
setIsPartOf(Function value)
Sets the value of the '
Is Part Of ' container reference. |
void |
setName(String value)
Sets the value of the '
Name ' attribute. |
void |
setVariableModifier(VariableModifier value)
Sets the value of the '
Variable Modifier ' attribute. |
void |
setVariableType(VariableType value)
Sets the value of the '
Variable Type ' attribute. |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
setName(String)
,
VariablesPackage.getVariableDeclaration_Name()
void setName(String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
VariableType getVariableType()
VariableType
.
If the meaning of the 'Variable Type' attribute isn't clear, there really should be more of a description here...
VariableType
,
setVariableType(VariableType)
,
VariablesPackage.getVariableDeclaration_VariableType()
void setVariableType(VariableType value)
Variable Type
' attribute.
value
- the new value of the 'Variable Type' attribute.VariableType
,
getVariableType()
VariableModifier getVariableModifier()
"NONE"
.
The literals are from the enumeration VariableModifier
.
If the meaning of the 'Variable Modifier' attribute isn't clear, there really should be more of a description here...
VariableModifier
,
setVariableModifier(VariableModifier)
,
VariablesPackage.getVariableDeclaration_VariableModifier()
void setVariableModifier(VariableModifier value)
Variable Modifier
' attribute.
value
- the new value of the 'Variable Modifier' attribute.VariableModifier
,
getVariableModifier()
ANY getDeclaresVariableType()
If the meaning of the 'Declares Variable Type' containment reference isn't clear, there really should be more of a description here...
setDeclaresVariableType(ANY)
,
VariablesPackage.getVariableDeclaration_DeclaresVariableType()
void setDeclaresVariableType(ANY value)
Declares Variable Type
' containment reference.
value
- the new value of the 'Declares Variable Type' containment reference.getDeclaresVariableType()
LocationSpecification getHasVariableLocation()
If the meaning of the 'Has Variable Location' containment reference isn't clear, there really should be more of a description here...
setHasVariableLocation(LocationSpecification)
,
VariablesPackage.getVariableDeclaration_HasVariableLocation()
void setHasVariableLocation(LocationSpecification value)
Has Variable Location
' containment reference.
value
- the new value of the 'Has Variable Location' containment reference.getHasVariableLocation()
Literal getHasInitialVariableValue()
If the meaning of the 'Has Initial Variable Value' containment reference isn't clear, there really should be more of a description here...
setHasInitialVariableValue(Literal)
,
VariablesPackage.getVariableDeclaration_HasInitialVariableValue()
void setHasInitialVariableValue(Literal value)
Has Initial Variable Value
' containment reference.
value
- the new value of the 'Has Initial Variable Value' containment reference.getHasInitialVariableValue()
Function getIsPartOf()
Contains Function Var Decl
'.
If the meaning of the 'Is Part Of' container reference isn't clear, there really should be more of a description here...
setIsPartOf(Function)
,
VariablesPackage.getVariableDeclaration_IsPartOf()
,
Function.getContainsFunctionVarDecl()
void setIsPartOf(Function value)
Is Part Of
' container reference.
value
- the new value of the 'Is Part Of' container reference.getIsPartOf()