Package fr.inria.atlanmod.mogwai.gremlin
Interface VariableDeclaration
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Instruction,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
VariableDeclarationImpl
public interface VariableDeclaration extends Instruction
A representation of the model object 'Variable Declaration'.
The following features are supported:
- See Also:
GremlinPackage.getVariableDeclaration()
-
Method Summary
Modifier and Type Method Description StringgetName()Returns the value of the 'Name' attribute.TypeDeclarationgetType()Returns the value of the 'Type' containment reference.InstructiongetValue()Returns the value of the 'Value' containment reference.booleanisFinal()Returns the value of the 'Final' attribute.voidsetFinal(boolean value)Sets the value of the 'Final' attribute.voidsetName(String value)Sets the value of the 'Name' attribute.voidsetType(TypeDeclaration value)Sets the value of the 'Type' containment reference.voidsetValue(Instruction value)Sets the value of the 'Value' containment reference.StringtoString()Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),GremlinPackage.getVariableDeclaration_Name()
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getValue
Instruction getValue()Returns the value of the 'Value' containment reference.- Returns:
- the value of the 'Value' containment reference.
- See Also:
setValue(Instruction),GremlinPackage.getVariableDeclaration_Value()
-
setValue
Sets the value of the 'Value' containment reference.- Parameters:
value- the new value of the 'Value' containment reference.- See Also:
getValue()
-
getType
TypeDeclaration getType()Returns the value of the 'Type' containment reference.- Returns:
- the value of the 'Type' containment reference.
- See Also:
setType(TypeDeclaration),GremlinPackage.getVariableDeclaration_Type()
-
setType
Sets the value of the 'Type' containment reference.- Parameters:
value- the new value of the 'Type' containment reference.- See Also:
getType()
-
isFinal
boolean isFinal()Returns the value of the 'Final' attribute.- Returns:
- the value of the 'Final' attribute.
- See Also:
setFinal(boolean),GremlinPackage.getVariableDeclaration_Final()
-
setFinal
void setFinal(boolean value)Sets the value of the 'Final' attribute.- Parameters:
value- the new value of the 'Final' attribute.- See Also:
isFinal()
-
toString
String toString()
-