Package fr.inria.atlanmod.mogwai.gremlin
Interface MethodDeclaration
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Instruction,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MethodDeclarationImpl
public interface MethodDeclaration extends Instruction
A representation of the model object 'Method Declaration'.
The following features are supported:
- See Also:
GremlinPackage.getMethodDeclaration()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<Instruction>getInstructions()Returns the value of the 'Instructions' containment reference list.StringgetName()Returns the value of the 'Name' attribute.org.eclipse.emf.common.util.EList<String>getParameters()Returns the value of the 'Parameters' attribute list.voidsetName(String value)Sets the value of the 'Name' attribute.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.getMethodDeclaration_Name()
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getParameters
org.eclipse.emf.common.util.EList<String> getParameters()Returns the value of the 'Parameters' attribute list. The list contents are of typeString.- Returns:
- the value of the 'Parameters' attribute list.
- See Also:
GremlinPackage.getMethodDeclaration_Parameters()
-
getInstructions
org.eclipse.emf.common.util.EList<Instruction> getInstructions()Returns the value of the 'Instructions' containment reference list. The list contents are of typeInstruction.- Returns:
- the value of the 'Instructions' containment reference list.
- See Also:
GremlinPackage.getMethodDeclaration_Instructions()
-
toString
String toString()
-