Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracuccuru2011-07-13 11:18:46 -0400
committeracuccuru2011-07-13 11:18:46 -0400
commit05dca7345b63921ae55051465c665adfec54f809 (patch)
tree558fe4dc7191dd47797926a93c260c9814803024 /extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext
parentaed6825b3e10841121c398b1ea49867e6a415206 (diff)
downloadorg.eclipse.papyrus-05dca7345b63921ae55051465c665adfec54f809.tar.gz
org.eclipse.papyrus-05dca7345b63921ae55051465c665adfec54f809.tar.xz
org.eclipse.papyrus-05dca7345b63921ae55051465c665adfec54f809.zip
Merged with branch (0.8.X). Update version numbers of plug-ins to 0.9.0.qualifier
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/META-INF/MANIFEST.MF2
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/plugin.properties8
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore33
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel92
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi50
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java155
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java35
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java5
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java197
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java299
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java271
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java2632
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java5
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java513
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java247
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java41
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java613
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java284
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java931
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java545
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java1447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java41
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java626
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java677
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java388
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g196
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java181
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java3200
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java32
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/scoping/OperationEditorScopingTool.java93
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/OperationJavaValidator.java4
46 files changed, 8619 insertions, 8886 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/META-INF/MANIFEST.MF b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/META-INF/MANIFEST.MF
index 13178234e08..eeeb1dd4151 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/META-INF/MANIFEST.MF
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.eclipse.papyrus.operation.editor.xtext
Bundle-Vendor: Eclipse Modeling Project
-Bundle-Version: 0.8.0.qualifier
+Bundle-Version: 0.9.0.qualifier
Bundle-SymbolicName: org.eclipse.papyrus.operation.editor.xtext; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/plugin.properties b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/plugin.properties
new file mode 100644
index 00000000000..4329510e3d0
--- /dev/null
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/plugin.properties
@@ -0,0 +1,8 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = Operation Model
+providerName = www.example.org
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore
index b95e29328c4..2b04c65820d 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore
@@ -4,20 +4,20 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="operation"
nsURI="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation" nsPrefix="operation">
<eClassifiers xsi:type="ecore:EClass" name="OperationDefinitionOrStub">
- <eStructuralFeatures xsi:type="ecore:EReference" name="declaration" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="declaration" eType="#//OperationDeclaration"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.ecore#//Block"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OperationDeclaration">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibilityIndicator" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//VisibilityIndicator"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibilityIndicator" eType="#//VisibilityIndicator"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameters" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameters"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameters" eType="#//FormalParameters"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypePart"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" eType="#//TypePart"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="redefinition" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//RedefinitionClause"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="redefinition" eType="#//RedefinitionClause"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="VisibilityIndicator">
@@ -26,44 +26,43 @@
<eLiterals name="PROTECTED" value="2" literal="protected"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FormalParameters">
- <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameterList" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameterList"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameterList" eType="#//FormalParameterList"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FormalParameterList">
<eStructuralFeatures xsi:type="ecore:EReference" name="formalParameter" upperBound="-1"
- eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameter"
- containment="true"/>
+ eType="#//FormalParameter" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FormalParameter">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="ecore:EEnum platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//ParameterDirection"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//ParameterDirection"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypePart"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//TypePart"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TypePart">
- <eStructuralFeatures xsi:type="ecore:EReference" name="typeName" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypeName"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="typeName" eType="#//TypeName"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Multiplicity">
- <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//MultiplicityRange"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//MultiplicityRange"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ordered" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nonUnique" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="sequence" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiplicityRange">
- <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="#//NUMBER_LITERAL_WITHOUT_SUFFIX"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="#//NUMBER_LITERAL_WITHOUT_SUFFIX"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NUMBER_LITERAL_WITHOUT_SUFFIX">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="INTEGER_LITERAL_WITHOUT_SUFFIX" eSuperTypes="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
- <eClassifiers xsi:type="ecore:EClass" name="UNLIMITED_LITERAL_WITHOUT_SUFFIX" eSuperTypes="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
+ <eClassifiers xsi:type="ecore:EClass" name="INTEGER_LITERAL_WITHOUT_SUFFIX" eSuperTypes="#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
+ <eClassifiers xsi:type="ecore:EClass" name="UNLIMITED_LITERAL_WITHOUT_SUFFIX" eSuperTypes="#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
<eClassifiers xsi:type="ecore:EClass" name="TypeName">
<eStructuralFeatures xsi:type="ecore:EReference" name="qualifiedName" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.ecore#//QualifiedNameWithBinding"
containment="true"/>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel
index 5791fc018e1..adfd5eeab61 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel
@@ -8,64 +8,64 @@
complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.operation.editor.xtext.edit"
editorPluginID="org.eclipse.papyrus.operation.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.genmodel#//alf">
<genPackages prefix="Operation" basePackage="org.eclipse.papyrus.operation.editor.xtext"
- disposableProviderFactory="true" ecorePackage="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#/">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//VisibilityIndicator">
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//VisibilityIndicator/PUBLIC"/>
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//VisibilityIndicator/PRIVATE"/>
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//VisibilityIndicator/PROTECTED"/>
+ disposableProviderFactory="true" ecorePackage="Operation.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="Operation.ecore#//VisibilityIndicator">
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PUBLIC"/>
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PRIVATE"/>
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PROTECTED"/>
</genEnums>
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//ParameterDirection">
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//ParameterDirection/IN"/>
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//ParameterDirection/OUT"/>
- <genEnumLiterals ecoreEnumLiteral="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//ParameterDirection/INOUT"/>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="Operation.ecore#//ParameterDirection">
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/IN"/>
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/OUT"/>
+ <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/INOUT"/>
</genEnums>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDefinitionOrStub">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDefinitionOrStub/declaration"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDefinitionOrStub/body"/>
+ <genClasses ecoreClass="Operation.ecore#//OperationDefinitionOrStub">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDefinitionOrStub/declaration"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDefinitionOrStub/body"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/visibilityIndicator"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/abstract"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/formalParameters"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/returnType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//OperationDeclaration/redefinition"/>
+ <genClasses ecoreClass="Operation.ecore#//OperationDeclaration">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/visibilityIndicator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/abstract"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/formalParameters"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/returnType"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/redefinition"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameters">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameters/formalParameterList"/>
+ <genClasses ecoreClass="Operation.ecore#//FormalParameters">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameters/formalParameterList"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameterList">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameterList/formalParameter"/>
+ <genClasses ecoreClass="Operation.ecore#//FormalParameterList">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameterList/formalParameter"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameter">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameter/direction"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameter/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//FormalParameter/type"/>
+ <genClasses ecoreClass="Operation.ecore#//FormalParameter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//FormalParameter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//FormalParameter/name"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameter/type"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypePart">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypePart/typeName"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypePart/multiplicity"/>
+ <genClasses ecoreClass="Operation.ecore#//TypePart">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypePart/typeName"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypePart/multiplicity"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity/range"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity/ordered"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity/nonUnique"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//Multiplicity/sequence"/>
+ <genClasses ecoreClass="Operation.ecore#//Multiplicity">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//Multiplicity/range"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/ordered"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/nonUnique"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/sequence"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//MultiplicityRange">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//MultiplicityRange/lower"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//MultiplicityRange/upper"/>
+ <genClasses ecoreClass="Operation.ecore#//MultiplicityRange">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//MultiplicityRange/lower"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//MultiplicityRange/upper"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX/value"/>
+ <genClasses ecoreClass="Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX/value"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//INTEGER_LITERAL_WITHOUT_SUFFIX"/>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//UNLIMITED_LITERAL_WITHOUT_SUFFIX"/>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypeName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//TypeName/qualifiedName"/>
+ <genClasses ecoreClass="Operation.ecore#//INTEGER_LITERAL_WITHOUT_SUFFIX"/>
+ <genClasses ecoreClass="Operation.ecore#//UNLIMITED_LITERAL_WITHOUT_SUFFIX"/>
+ <genClasses ecoreClass="Operation.ecore#//TypeName">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypeName/qualifiedName"/>
</genClasses>
- <genClasses ecoreClass="platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//RedefinitionClause">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference platform:/resource/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore#//RedefinitionClause/redefinedOperations"/>
+ <genClasses ecoreClass="Operation.ecore#//RedefinitionClause">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//RedefinitionClause/redefinedOperations"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi
index 48e635f8237..27558e3bbf2 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi
@@ -1470,7 +1470,23 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//StatementSequence"/>
</type>
<alternatives xsi:type="xtext:Assignment" cardinality="+" feature="statements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.68"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.66"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="DocumentedStatement">
+ <type metamodel="/1/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//DocumentedStatement"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" cardinality="?" feature="comment" operator="=">
+ <terminal xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:RuleCall" rule="/1/@rules.112"/>
+ <elements xsi:type="xtext:RuleCall" rule="/1/@rules.113"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Assignment" feature="statement" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.69"/>
+ </elements>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="InlineStatement">
@@ -1480,9 +1496,11 @@
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Keyword" value="/*@"/>
<elements xsi:type="xtext:Keyword" value="inline"/>
+ <elements xsi:type="xtext:Keyword" value="("/>
<elements xsi:type="xtext:Assignment" feature="langageName" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
</elements>
+ <elements xsi:type="xtext:Keyword" value=")"/>
<elements xsi:type="xtext:Assignment" feature="body" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.111"/>
</elements>
@@ -1498,22 +1516,6 @@
<elements xsi:type="xtext:Assignment" feature="annotation" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.70"/>
</elements>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DocumentedStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//DocumentedStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="comment" operator="=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.112"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.113"/>
- </terminal>
- </elements>
<elements xsi:type="xtext:Assignment" feature="statement" operator="=">
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.69"/>
</elements>
@@ -1524,8 +1526,8 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Statement"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:RuleCall" rule="/1/@rules.68"/>
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.67"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.66"/>
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.72"/>
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.73"/>
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.74"/>
@@ -1632,7 +1634,7 @@
</elements>
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="init" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
</elements>
<elements xsi:type="xtext:Keyword" value=";"/>
</alternatives>
@@ -1777,7 +1779,7 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NonEmptyStatementSequence"/>
</type>
<alternatives xsi:type="xtext:Assignment" cardinality="+" feature="statement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.68"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.66"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="WhileStatement">
@@ -2158,7 +2160,7 @@
<terminal xsi:type="xtext:RuleCall" rule="/1/@rules.109"/>
</elements>
<elements xsi:type="xtext:Assignment" feature="rightHandSide" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
</elements>
</alternatives>
</rules>
@@ -2294,10 +2296,12 @@
</type>
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Keyword" value="/*"/>
- <elements xsi:type="xtext:NegatedToken" cardinality="*">
+ <elements xsi:type="xtext:NegatedToken">
<terminal xsi:type="xtext:Keyword" value="@"/>
</elements>
- <elements xsi:type="xtext:Keyword" value="*/"/>
+ <elements xsi:type="xtext:UntilToken">
+ <terminal xsi:type="xtext:Keyword" value="*/"/>
+ </elements>
</alternatives>
</rules>
<rules xsi:type="xtext:TerminalRule" name="SL_COMMENT">
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
index 691d824f94d..210a19f75bb 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,87 +26,86 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameter extends EObject
-{
- /**
- * Returns the value of the '<em><b>Direction</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Direction</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #setDirection(ParameterDirection)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Direction()
- * @model
- * @generated
- */
- ParameterDirection getDirection();
+public interface FormalParameter extends EObject {
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see #setDirection(ParameterDirection)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Direction()
+ * @model
+ * @generated
+ */
+ ParameterDirection getDirection();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #getDirection()
- * @generated
- */
- void setDirection(ParameterDirection value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(ParameterDirection value);
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Name()
- * @model
- * @generated
- */
- String getName();
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Name()
+ * @model
+ * @generated
+ */
+ String getName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
- /**
- * Returns the value of the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' containment reference.
- * @see #setType(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Type()
- * @model containment="true"
- * @generated
- */
- TypePart getType();
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' containment reference.
+ * @see #setType(TypePart)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Type()
+ * @model containment="true"
+ * @generated
+ */
+ TypePart getType();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' containment reference.
- * @see #getType()
- * @generated
- */
- void setType(TypePart value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' containment reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(TypePart value);
} // FormalParameter
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
index df3c6af71e7..520fe7bb2b3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,22 +26,21 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameterList extends EObject
-{
- /**
- * Returns the value of the '<em><b>Formal Parameter</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameter</em>' containment reference list.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList_FormalParameter()
- * @model containment="true"
- * @generated
- */
- EList<FormalParameter> getFormalParameter();
+public interface FormalParameterList extends EObject {
+ /**
+ * Returns the value of the '<em><b>Formal Parameter</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameter</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameter</em>' containment reference list.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList_FormalParameter()
+ * @model containment="true"
+ * @generated
+ */
+ EList<FormalParameter> getFormalParameter();
} // FormalParameterList
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
index d6cc37b09ca..bc6fd767154 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -24,32 +24,31 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameters extends EObject
-{
- /**
- * Returns the value of the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter List</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameter List</em>' containment reference.
- * @see #setFormalParameterList(FormalParameterList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters_FormalParameterList()
- * @model containment="true"
- * @generated
- */
- FormalParameterList getFormalParameterList();
+public interface FormalParameters extends EObject {
+ /**
+ * Returns the value of the '<em><b>Formal Parameter List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameter List</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameter List</em>' containment reference.
+ * @see #setFormalParameterList(FormalParameterList)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters_FormalParameterList()
+ * @model containment="true"
+ * @generated
+ */
+ FormalParameterList getFormalParameterList();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Formal Parameter List</em>' containment reference.
- * @see #getFormalParameterList()
- * @generated
- */
- void setFormalParameterList(FormalParameterList value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formal Parameter List</em>' containment reference.
+ * @see #getFormalParameterList()
+ * @generated
+ */
+ void setFormalParameterList(FormalParameterList value);
} // FormalParameters
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
index 3b11435809d..8e16e0eaa7b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,6 +17,5 @@ package org.eclipse.papyrus.operation.editor.xtext.operation;
* @model
* @generated
*/
-public interface INTEGER_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
-{
+public interface INTEGER_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX {
} // INTEGER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
index 062bacb9365..924db70211b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,110 +27,109 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface Multiplicity extends EObject
-{
- /**
- * Returns the value of the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Range</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Range</em>' containment reference.
- * @see #setRange(MultiplicityRange)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Range()
- * @model containment="true"
- * @generated
- */
- MultiplicityRange getRange();
+public interface Multiplicity extends EObject {
+ /**
+ * Returns the value of the '<em><b>Range</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Range</em>' containment reference.
+ * @see #setRange(MultiplicityRange)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Range()
+ * @model containment="true"
+ * @generated
+ */
+ MultiplicityRange getRange();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Range</em>' containment reference.
- * @see #getRange()
- * @generated
- */
- void setRange(MultiplicityRange value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range</em>' containment reference.
+ * @see #getRange()
+ * @generated
+ */
+ void setRange(MultiplicityRange value);
- /**
- * Returns the value of the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ordered</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ordered</em>' attribute.
- * @see #setOrdered(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Ordered()
- * @model
- * @generated
- */
- boolean isOrdered();
+ /**
+ * Returns the value of the '<em><b>Ordered</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ordered</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ordered</em>' attribute.
+ * @see #setOrdered(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Ordered()
+ * @model
+ * @generated
+ */
+ boolean isOrdered();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ordered</em>' attribute.
- * @see #isOrdered()
- * @generated
- */
- void setOrdered(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ordered</em>' attribute.
+ * @see #isOrdered()
+ * @generated
+ */
+ void setOrdered(boolean value);
- /**
- * Returns the value of the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Non Unique</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Non Unique</em>' attribute.
- * @see #setNonUnique(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_NonUnique()
- * @model
- * @generated
- */
- boolean isNonUnique();
+ /**
+ * Returns the value of the '<em><b>Non Unique</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Unique</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Unique</em>' attribute.
+ * @see #setNonUnique(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_NonUnique()
+ * @model
+ * @generated
+ */
+ boolean isNonUnique();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Non Unique</em>' attribute.
- * @see #isNonUnique()
- * @generated
- */
- void setNonUnique(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Unique</em>' attribute.
+ * @see #isNonUnique()
+ * @generated
+ */
+ void setNonUnique(boolean value);
- /**
- * Returns the value of the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sequence</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Sequence</em>' attribute.
- * @see #setSequence(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Sequence()
- * @model
- * @generated
- */
- boolean isSequence();
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' attribute.
+ * @see #setSequence(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Sequence()
+ * @model
+ * @generated
+ */
+ boolean isSequence();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Sequence</em>' attribute.
- * @see #isSequence()
- * @generated
- */
- void setSequence(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' attribute.
+ * @see #isSequence()
+ * @generated
+ */
+ void setSequence(boolean value);
} // Multiplicity
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
index 4720c69db5e..006d7cff56d 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -25,58 +25,57 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface MultiplicityRange extends EObject
-{
- /**
- * Returns the value of the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lower</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lower</em>' containment reference.
- * @see #setLower(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Lower()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getLower();
+public interface MultiplicityRange extends EObject {
+ /**
+ * Returns the value of the '<em><b>Lower</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lower</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lower</em>' containment reference.
+ * @see #setLower(NUMBER_LITERAL_WITHOUT_SUFFIX)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Lower()
+ * @model containment="true"
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX getLower();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lower</em>' containment reference.
- * @see #getLower()
- * @generated
- */
- void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lower</em>' containment reference.
+ * @see #getLower()
+ * @generated
+ */
+ void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX value);
- /**
- * Returns the value of the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Upper</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Upper</em>' containment reference.
- * @see #setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Upper()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getUpper();
+ /**
+ * Returns the value of the '<em><b>Upper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Upper</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Upper</em>' containment reference.
+ * @see #setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Upper()
+ * @model containment="true"
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX getUpper();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Upper</em>' containment reference.
- * @see #getUpper()
- * @generated
- */
- void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Upper</em>' containment reference.
+ * @see #getUpper()
+ * @generated
+ */
+ void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX value);
} // MultiplicityRange
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
index 0a2498723c4..25721d6f86b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -24,32 +24,31 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface NUMBER_LITERAL_WITHOUT_SUFFIX extends EObject
-{
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
- * @model
- * @generated
- */
- String getValue();
+public interface NUMBER_LITERAL_WITHOUT_SUFFIX extends EObject {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
+ * @model
+ * @generated
+ */
+ String getValue();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
} // NUMBER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
index 2158ce04b4b..047dd59047b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -29,165 +29,164 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface OperationDeclaration extends EObject
-{
- /**
- * Returns the value of the '<em><b>Visibility Indicator</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visibility Indicator</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #setVisibilityIndicator(VisibilityIndicator)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_VisibilityIndicator()
- * @model
- * @generated
- */
- VisibilityIndicator getVisibilityIndicator();
+public interface OperationDeclaration extends EObject {
+ /**
+ * Returns the value of the '<em><b>Visibility Indicator</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Visibility Indicator</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Visibility Indicator</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see #setVisibilityIndicator(VisibilityIndicator)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_VisibilityIndicator()
+ * @model
+ * @generated
+ */
+ VisibilityIndicator getVisibilityIndicator();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #getVisibilityIndicator()
- * @generated
- */
- void setVisibilityIndicator(VisibilityIndicator value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Visibility Indicator</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see #getVisibilityIndicator()
+ * @generated
+ */
+ void setVisibilityIndicator(VisibilityIndicator value);
- /**
- * Returns the value of the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Abstract</em>' attribute.
- * @see #setAbstract(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Abstract()
- * @model
- * @generated
- */
- boolean isAbstract();
+ /**
+ * Returns the value of the '<em><b>Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract</em>' attribute.
+ * @see #setAbstract(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Abstract()
+ * @model
+ * @generated
+ */
+ boolean isAbstract();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Abstract</em>' attribute.
- * @see #isAbstract()
- * @generated
- */
- void setAbstract(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Abstract</em>' attribute.
+ * @see #isAbstract()
+ * @generated
+ */
+ void setAbstract(boolean value);
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Name()
- * @model
- * @generated
- */
- String getName();
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Name()
+ * @model
+ * @generated
+ */
+ String getName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
- /**
- * Returns the value of the '<em><b>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameters</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameters</em>' containment reference.
- * @see #setFormalParameters(FormalParameters)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_FormalParameters()
- * @model containment="true"
- * @generated
- */
- FormalParameters getFormalParameters();
+ /**
+ * Returns the value of the '<em><b>Formal Parameters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameters</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameters</em>' containment reference.
+ * @see #setFormalParameters(FormalParameters)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_FormalParameters()
+ * @model containment="true"
+ * @generated
+ */
+ FormalParameters getFormalParameters();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Formal Parameters</em>' containment reference.
- * @see #getFormalParameters()
- * @generated
- */
- void setFormalParameters(FormalParameters value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formal Parameters</em>' containment reference.
+ * @see #getFormalParameters()
+ * @generated
+ */
+ void setFormalParameters(FormalParameters value);
- /**
- * Returns the value of the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Return Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Return Type</em>' containment reference.
- * @see #setReturnType(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_ReturnType()
- * @model containment="true"
- * @generated
- */
- TypePart getReturnType();
+ /**
+ * Returns the value of the '<em><b>Return Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Return Type</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Return Type</em>' containment reference.
+ * @see #setReturnType(TypePart)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_ReturnType()
+ * @model containment="true"
+ * @generated
+ */
+ TypePart getReturnType();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Return Type</em>' containment reference.
- * @see #getReturnType()
- * @generated
- */
- void setReturnType(TypePart value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Return Type</em>' containment reference.
+ * @see #getReturnType()
+ * @generated
+ */
+ void setReturnType(TypePart value);
- /**
- * Returns the value of the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefinition</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Redefinition</em>' containment reference.
- * @see #setRedefinition(RedefinitionClause)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Redefinition()
- * @model containment="true"
- * @generated
- */
- RedefinitionClause getRedefinition();
+ /**
+ * Returns the value of the '<em><b>Redefinition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Redefinition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Redefinition</em>' containment reference.
+ * @see #setRedefinition(RedefinitionClause)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Redefinition()
+ * @model containment="true"
+ * @generated
+ */
+ RedefinitionClause getRedefinition();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Redefinition</em>' containment reference.
- * @see #getRedefinition()
- * @generated
- */
- void setRedefinition(RedefinitionClause value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Redefinition</em>' containment reference.
+ * @see #getRedefinition()
+ * @generated
+ */
+ void setRedefinition(RedefinitionClause value);
} // OperationDeclaration
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
index 38d0e928e2a..b4f06359053 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,58 +27,57 @@ import org.eclipse.papyrus.alf.alf.Block;
* @model
* @generated
*/
-public interface OperationDefinitionOrStub extends EObject
-{
- /**
- * Returns the value of the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Declaration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Declaration</em>' containment reference.
- * @see #setDeclaration(OperationDeclaration)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Declaration()
- * @model containment="true"
- * @generated
- */
- OperationDeclaration getDeclaration();
+public interface OperationDefinitionOrStub extends EObject {
+ /**
+ * Returns the value of the '<em><b>Declaration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Declaration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Declaration</em>' containment reference.
+ * @see #setDeclaration(OperationDeclaration)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Declaration()
+ * @model containment="true"
+ * @generated
+ */
+ OperationDeclaration getDeclaration();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Declaration</em>' containment reference.
- * @see #getDeclaration()
- * @generated
- */
- void setDeclaration(OperationDeclaration value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Declaration</em>' containment reference.
+ * @see #getDeclaration()
+ * @generated
+ */
+ void setDeclaration(OperationDeclaration value);
- /**
- * Returns the value of the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Body</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Body</em>' containment reference.
- * @see #setBody(Block)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Body()
- * @model containment="true"
- * @generated
- */
- Block getBody();
+ /**
+ * Returns the value of the '<em><b>Body</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Body</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Body</em>' containment reference.
+ * @see #setBody(Block)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Body()
+ * @model containment="true"
+ * @generated
+ */
+ Block getBody();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Body</em>' containment reference.
- * @see #getBody()
- * @generated
- */
- void setBody(Block value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Body</em>' containment reference.
+ * @see #getBody()
+ * @generated
+ */
+ void setBody(Block value);
} // OperationDefinitionOrStub
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
index 895d727fc56..7ebf1d0e3b5 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,140 +16,139 @@ import org.eclipse.emf.ecore.EFactory;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public interface OperationFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OperationFactory eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Definition Or Stub</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Definition Or Stub</em>'.
- * @generated
- */
- OperationDefinitionOrStub createOperationDefinitionOrStub();
-
- /**
- * Returns a new object of class '<em>Declaration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Declaration</em>'.
- * @generated
- */
- OperationDeclaration createOperationDeclaration();
-
- /**
- * Returns a new object of class '<em>Formal Parameters</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameters</em>'.
- * @generated
- */
- FormalParameters createFormalParameters();
-
- /**
- * Returns a new object of class '<em>Formal Parameter List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameter List</em>'.
- * @generated
- */
- FormalParameterList createFormalParameterList();
-
- /**
- * Returns a new object of class '<em>Formal Parameter</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameter</em>'.
- * @generated
- */
- FormalParameter createFormalParameter();
-
- /**
- * Returns a new object of class '<em>Type Part</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Type Part</em>'.
- * @generated
- */
- TypePart createTypePart();
-
- /**
- * Returns a new object of class '<em>Multiplicity</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multiplicity</em>'.
- * @generated
- */
- Multiplicity createMultiplicity();
-
- /**
- * Returns a new object of class '<em>Multiplicity Range</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multiplicity Range</em>'.
- * @generated
- */
- MultiplicityRange createMultiplicityRange();
-
- /**
- * Returns a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>Type Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Type Name</em>'.
- * @generated
- */
- TypeName createTypeName();
-
- /**
- * Returns a new object of class '<em>Redefinition Clause</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Redefinition Clause</em>'.
- * @generated
- */
- RedefinitionClause createRedefinitionClause();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- OperationPackage getOperationPackage();
+public interface OperationFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OperationFactory eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Definition Or Stub</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Definition Or Stub</em>'.
+ * @generated
+ */
+ OperationDefinitionOrStub createOperationDefinitionOrStub();
+
+ /**
+ * Returns a new object of class '<em>Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Declaration</em>'.
+ * @generated
+ */
+ OperationDeclaration createOperationDeclaration();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameters</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameters</em>'.
+ * @generated
+ */
+ FormalParameters createFormalParameters();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameter List</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameter List</em>'.
+ * @generated
+ */
+ FormalParameterList createFormalParameterList();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameter</em>'.
+ * @generated
+ */
+ FormalParameter createFormalParameter();
+
+ /**
+ * Returns a new object of class '<em>Type Part</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Type Part</em>'.
+ * @generated
+ */
+ TypePart createTypePart();
+
+ /**
+ * Returns a new object of class '<em>Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Multiplicity</em>'.
+ * @generated
+ */
+ Multiplicity createMultiplicity();
+
+ /**
+ * Returns a new object of class '<em>Multiplicity Range</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Multiplicity Range</em>'.
+ * @generated
+ */
+ MultiplicityRange createMultiplicityRange();
+
+ /**
+ * Returns a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>Type Name</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Type Name</em>'.
+ * @generated
+ */
+ TypeName createTypeName();
+
+ /**
+ * Returns a new object of class '<em>Redefinition Clause</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Redefinition Clause</em>'.
+ * @generated
+ */
+ RedefinitionClause createRedefinitionClause();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ OperationPackage getOperationPackage();
} //OperationFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
index 581668f10f9..3a844a6fc54 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,1321 +27,1319 @@ import org.eclipse.emf.ecore.EReference;
* @model kind="package"
* @generated
*/
-public interface OperationPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "operation";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/operation/editor/xtext/Operation";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "operation";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OperationPackage eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- int OPERATION_DEFINITION_OR_STUB = 0;
-
- /**
- * The feature id for the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__DECLARATION = 0;
-
- /**
- * The feature id for the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__BODY = 1;
-
- /**
- * The number of structural features of the '<em>Definition Or Stub</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- int OPERATION_DECLARATION = 1;
-
- /**
- * The feature id for the '<em><b>Visibility Indicator</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__VISIBILITY_INDICATOR = 0;
-
- /**
- * The feature id for the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__ABSTRACT = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__FORMAL_PARAMETERS = 3;
-
- /**
- * The feature id for the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__RETURN_TYPE = 4;
-
- /**
- * The feature id for the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__REDEFINITION = 5;
-
- /**
- * The number of structural features of the '<em>Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- int FORMAL_PARAMETERS = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameters</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- int FORMAL_PARAMETER_LIST = 3;
-
- /**
- * The feature id for the '<em><b>Formal Parameter</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameter List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- int FORMAL_PARAMETER = 4;
-
- /**
- * The feature id for the '<em><b>Direction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__DIRECTION = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__TYPE = 2;
-
- /**
- * The number of structural features of the '<em>Formal Parameter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- int TYPE_PART = 5;
-
- /**
- * The feature id for the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART__TYPE_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART__MULTIPLICITY = 1;
-
- /**
- * The number of structural features of the '<em>Type Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- int MULTIPLICITY = 6;
-
- /**
- * The feature id for the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__RANGE = 0;
-
- /**
- * The feature id for the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__ORDERED = 1;
-
- /**
- * The feature id for the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__NON_UNIQUE = 2;
-
- /**
- * The feature id for the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__SEQUENCE = 3;
-
- /**
- * The number of structural features of the '<em>Multiplicity</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- int MULTIPLICITY_RANGE = 7;
-
- /**
- * The feature id for the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__LOWER = 0;
-
- /**
- * The feature id for the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__UPPER = 1;
-
- /**
- * The number of structural features of the '<em>Multiplicity Range</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX = 8;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = 0;
-
- /**
- * The number of structural features of the '<em>NUMBER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX = 9;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>INTEGER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX = 10;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- int TYPE_NAME = 11;
-
- /**
- * The feature id for the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_NAME__QUALIFIED_NAME = 0;
-
- /**
- * The number of structural features of the '<em>Type Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_NAME_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- int REDEFINITION_CLAUSE = 12;
-
- /**
- * The feature id for the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = 0;
-
- /**
- * The number of structural features of the '<em>Redefinition Clause</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- int VISIBILITY_INDICATOR = 13;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- int PARAMETER_DIRECTION = 14;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Definition Or Stub</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- EClass getOperationDefinitionOrStub();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Declaration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Body</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Body();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- EClass getOperationDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_VisibilityIndicator();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Abstract</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Abstract();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_FormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Return Type</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_ReturnType();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Redefinition</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_Redefinition();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- EClass getFormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList()
- * @see #getFormalParameters()
- * @generated
- */
- EReference getFormalParameters_FormalParameterList();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- EClass getFormalParameterList();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter()
- * @see #getFormalParameterList()
- * @generated
- */
- EReference getFormalParameterList_FormalParameter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- EClass getFormalParameter();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Direction();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType()
- * @see #getFormalParameter()
- * @generated
- */
- EReference getFormalParameter_Type();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Type Part</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
- * @generated
- */
- EClass getTypePart();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_TypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_Multiplicity();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- EClass getMultiplicity();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange()
- * @see #getMultiplicity()
- * @generated
- */
- EReference getMultiplicity_Range();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ordered</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Ordered();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Non Unique</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_NonUnique();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Sequence</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Sequence();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multiplicity Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- EClass getMultiplicityRange();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Lower</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Lower();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Upper</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Upper();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue()
- * @see #getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
- * @generated
- */
- EClass getTypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Qualified Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName()
- * @see #getTypeName()
- * @generated
- */
- EReference getTypeName_QualifiedName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Redefinition Clause</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- EClass getRedefinitionClause();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Redefined Operations</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations()
- * @see #getRedefinitionClause()
- * @generated
- */
- EReference getRedefinitionClause_RedefinedOperations();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @generated
- */
- EEnum getVisibilityIndicator();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Parameter Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @generated
- */
- EEnum getParameterDirection();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- OperationFactory getOperationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- EClass OPERATION_DEFINITION_OR_STUB = eINSTANCE.getOperationDefinitionOrStub();
-
- /**
- * The meta object literal for the '<em><b>Declaration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__DECLARATION = eINSTANCE.getOperationDefinitionOrStub_Declaration();
-
- /**
- * The meta object literal for the '<em><b>Body</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__BODY = eINSTANCE.getOperationDefinitionOrStub_Body();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- EClass OPERATION_DECLARATION = eINSTANCE.getOperationDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Visibility Indicator</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__VISIBILITY_INDICATOR = eINSTANCE.getOperationDeclaration_VisibilityIndicator();
-
- /**
- * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__ABSTRACT = eINSTANCE.getOperationDeclaration_Abstract();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__NAME = eINSTANCE.getOperationDeclaration_Name();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameters</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__FORMAL_PARAMETERS = eINSTANCE.getOperationDeclaration_FormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Return Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__RETURN_TYPE = eINSTANCE.getOperationDeclaration_ReturnType();
-
- /**
- * The meta object literal for the '<em><b>Redefinition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__REDEFINITION = eINSTANCE.getOperationDeclaration_Redefinition();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- EClass FORMAL_PARAMETERS = eINSTANCE.getFormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameters_FormalParameterList();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- EClass FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameterList();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = eINSTANCE.getFormalParameterList_FormalParameter();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- EClass FORMAL_PARAMETER = eINSTANCE.getFormalParameter();
-
- /**
- * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORMAL_PARAMETER__DIRECTION = eINSTANCE.getFormalParameter_Direction();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORMAL_PARAMETER__NAME = eINSTANCE.getFormalParameter_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETER__TYPE = eINSTANCE.getFormalParameter_Type();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- EClass TYPE_PART = eINSTANCE.getTypePart();
-
- /**
- * The meta object literal for the '<em><b>Type Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_PART__TYPE_NAME = eINSTANCE.getTypePart_TypeName();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_PART__MULTIPLICITY = eINSTANCE.getTypePart_Multiplicity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- EClass MULTIPLICITY = eINSTANCE.getMultiplicity();
-
- /**
- * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY__RANGE = eINSTANCE.getMultiplicity_Range();
-
- /**
- * The meta object literal for the '<em><b>Ordered</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__ORDERED = eINSTANCE.getMultiplicity_Ordered();
-
- /**
- * The meta object literal for the '<em><b>Non Unique</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__NON_UNIQUE = eINSTANCE.getMultiplicity_NonUnique();
-
- /**
- * The meta object literal for the '<em><b>Sequence</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__SEQUENCE = eINSTANCE.getMultiplicity_Sequence();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- EClass MULTIPLICITY_RANGE = eINSTANCE.getMultiplicityRange();
-
- /**
- * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY_RANGE__LOWER = eINSTANCE.getMultiplicityRange_Lower();
-
- /**
- * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY_RANGE__UPPER = eINSTANCE.getMultiplicityRange_Upper();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass NUMBER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass INTEGER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass UNLIMITED_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- EClass TYPE_NAME = eINSTANCE.getTypeName();
-
- /**
- * The meta object literal for the '<em><b>Qualified Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_NAME__QUALIFIED_NAME = eINSTANCE.getTypeName_QualifiedName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- EClass REDEFINITION_CLAUSE = eINSTANCE.getRedefinitionClause();
-
- /**
- * The meta object literal for the '<em><b>Redefined Operations</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = eINSTANCE.getRedefinitionClause_RedefinedOperations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- EEnum VISIBILITY_INDICATOR = eINSTANCE.getVisibilityIndicator();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- EEnum PARAMETER_DIRECTION = eINSTANCE.getParameterDirection();
-
- }
+public interface OperationPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "operation";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/operation/editor/xtext/Operation";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "operation";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OperationPackage eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
+ * @generated
+ */
+ int OPERATION_DEFINITION_OR_STUB = 0;
+
+ /**
+ * The feature id for the '<em><b>Declaration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB__DECLARATION = 0;
+
+ /**
+ * The feature id for the '<em><b>Body</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB__BODY = 1;
+
+ /**
+ * The number of structural features of the '<em>Definition Or Stub</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
+ * @generated
+ */
+ int OPERATION_DECLARATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Visibility Indicator</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__VISIBILITY_INDICATOR = 0;
+
+ /**
+ * The feature id for the '<em><b>Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__ABSTRACT = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__NAME = 2;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__FORMAL_PARAMETERS = 3;
+
+ /**
+ * The feature id for the '<em><b>Return Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__RETURN_TYPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Redefinition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__REDEFINITION = 5;
+
+ /**
+ * The number of structural features of the '<em>Declaration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
+ * @generated
+ */
+ int FORMAL_PARAMETERS = 2;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameter List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = 0;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameters</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETERS_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
+ * @generated
+ */
+ int FORMAL_PARAMETER_LIST = 3;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameter</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = 0;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameter List</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_LIST_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
+ * @generated
+ */
+ int FORMAL_PARAMETER = 4;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__DIRECTION = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__TYPE = 2;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
+ * @generated
+ */
+ int TYPE_PART = 5;
+
+ /**
+ * The feature id for the '<em><b>Type Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART__TYPE_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART__MULTIPLICITY = 1;
+
+ /**
+ * The number of structural features of the '<em>Type Part</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
+ * @generated
+ */
+ int MULTIPLICITY = 6;
+
+ /**
+ * The feature id for the '<em><b>Range</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__RANGE = 0;
+
+ /**
+ * The feature id for the '<em><b>Ordered</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__ORDERED = 1;
+
+ /**
+ * The feature id for the '<em><b>Non Unique</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__NON_UNIQUE = 2;
+
+ /**
+ * The feature id for the '<em><b>Sequence</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__SEQUENCE = 3;
+
+ /**
+ * The number of structural features of the '<em>Multiplicity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
+ * @generated
+ */
+ int MULTIPLICITY_RANGE = 7;
+
+ /**
+ * The feature id for the '<em><b>Lower</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE__LOWER = 0;
+
+ /**
+ * The feature id for the '<em><b>Upper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE__UPPER = 1;
+
+ /**
+ * The number of structural features of the '<em>Multiplicity Range</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX = 8;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = 0;
+
+ /**
+ * The number of structural features of the '<em>NUMBER LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX = 9;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
+
+ /**
+ * The number of structural features of the '<em>INTEGER LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX = 10;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
+
+ /**
+ * The number of structural features of the '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
+ * @generated
+ */
+ int TYPE_NAME = 11;
+
+ /**
+ * The feature id for the '<em><b>Qualified Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_NAME__QUALIFIED_NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>Type Name</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_NAME_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
+ * @generated
+ */
+ int REDEFINITION_CLAUSE = 12;
+
+ /**
+ * The feature id for the '<em><b>Redefined Operations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = 0;
+
+ /**
+ * The number of structural features of the '<em>Redefinition Clause</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REDEFINITION_CLAUSE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
+ * @generated
+ */
+ int VISIBILITY_INDICATOR = 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
+ * @generated
+ */
+ int PARAMETER_DIRECTION = 14;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Definition Or Stub</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
+ * @generated
+ */
+ EClass getOperationDefinitionOrStub();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Declaration</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration()
+ * @see #getOperationDefinitionOrStub()
+ * @generated
+ */
+ EReference getOperationDefinitionOrStub_Declaration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Body</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody()
+ * @see #getOperationDefinitionOrStub()
+ * @generated
+ */
+ EReference getOperationDefinitionOrStub_Body();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Declaration</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
+ * @generated
+ */
+ EClass getOperationDeclaration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Visibility Indicator</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_VisibilityIndicator();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Abstract</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_Abstract();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Formal Parameters</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_FormalParameters();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Return Type</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_ReturnType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Redefinition</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_Redefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameters</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
+ * @generated
+ */
+ EClass getFormalParameters();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Formal Parameter List</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList()
+ * @see #getFormalParameters()
+ * @generated
+ */
+ EReference getFormalParameters_FormalParameterList();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameter List</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
+ * @generated
+ */
+ EClass getFormalParameterList();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Formal Parameter</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter()
+ * @see #getFormalParameterList()
+ * @generated
+ */
+ EReference getFormalParameterList_FormalParameter();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameter</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
+ * @generated
+ */
+ EClass getFormalParameter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EAttribute getFormalParameter_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EAttribute getFormalParameter_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Type</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EReference getFormalParameter_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Type Part</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
+ * @generated
+ */
+ EClass getTypePart();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Type Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName()
+ * @see #getTypePart()
+ * @generated
+ */
+ EReference getTypePart_TypeName();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Multiplicity</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity()
+ * @see #getTypePart()
+ * @generated
+ */
+ EReference getTypePart_Multiplicity();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Multiplicity</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
+ * @generated
+ */
+ EClass getMultiplicity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Range</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EReference getMultiplicity_Range();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Ordered</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_Ordered();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Non Unique</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_NonUnique();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sequence</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_Sequence();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Multiplicity Range</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
+ * @generated
+ */
+ EClass getMultiplicityRange();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Lower</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower()
+ * @see #getMultiplicityRange()
+ * @generated
+ */
+ EReference getMultiplicityRange_Lower();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Upper</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper()
+ * @see #getMultiplicityRange()
+ * @generated
+ */
+ EReference getMultiplicityRange_Upper();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue()
+ * @see #getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Type Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
+ * @generated
+ */
+ EClass getTypeName();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Qualified Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName()
+ * @see #getTypeName()
+ * @generated
+ */
+ EReference getTypeName_QualifiedName();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Redefinition Clause</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
+ * @generated
+ */
+ EClass getRedefinitionClause();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Redefined Operations</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations()
+ * @see #getRedefinitionClause()
+ * @generated
+ */
+ EReference getRedefinitionClause_RedefinedOperations();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Visibility Indicator</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @generated
+ */
+ EEnum getVisibilityIndicator();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Parameter Direction</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @generated
+ */
+ EEnum getParameterDirection();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ OperationFactory getOperationFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
+ * @generated
+ */
+ EClass OPERATION_DEFINITION_OR_STUB = eINSTANCE.getOperationDefinitionOrStub();
+
+ /**
+ * The meta object literal for the '<em><b>Declaration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DEFINITION_OR_STUB__DECLARATION = eINSTANCE.getOperationDefinitionOrStub_Declaration();
+
+ /**
+ * The meta object literal for the '<em><b>Body</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DEFINITION_OR_STUB__BODY = eINSTANCE.getOperationDefinitionOrStub_Body();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
+ * @generated
+ */
+ EClass OPERATION_DECLARATION = eINSTANCE.getOperationDeclaration();
+
+ /**
+ * The meta object literal for the '<em><b>Visibility Indicator</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__VISIBILITY_INDICATOR = eINSTANCE.getOperationDeclaration_VisibilityIndicator();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__ABSTRACT = eINSTANCE.getOperationDeclaration_Abstract();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__NAME = eINSTANCE.getOperationDeclaration_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameters</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__FORMAL_PARAMETERS = eINSTANCE.getOperationDeclaration_FormalParameters();
+
+ /**
+ * The meta object literal for the '<em><b>Return Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__RETURN_TYPE = eINSTANCE.getOperationDeclaration_ReturnType();
+
+ /**
+ * The meta object literal for the '<em><b>Redefinition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__REDEFINITION = eINSTANCE.getOperationDeclaration_Redefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
+ * @generated
+ */
+ EClass FORMAL_PARAMETERS = eINSTANCE.getFormalParameters();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameter List</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameters_FormalParameterList();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
+ * @generated
+ */
+ EClass FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameterList();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameter</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = eINSTANCE.getFormalParameterList_FormalParameter();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
+ * @generated
+ */
+ EClass FORMAL_PARAMETER = eINSTANCE.getFormalParameter();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_PARAMETER__DIRECTION = eINSTANCE.getFormalParameter_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_PARAMETER__NAME = eINSTANCE.getFormalParameter_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETER__TYPE = eINSTANCE.getFormalParameter_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
+ * @generated
+ */
+ EClass TYPE_PART = eINSTANCE.getTypePart();
+
+ /**
+ * The meta object literal for the '<em><b>Type Name</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_PART__TYPE_NAME = eINSTANCE.getTypePart_TypeName();
+
+ /**
+ * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_PART__MULTIPLICITY = eINSTANCE.getTypePart_Multiplicity();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
+ * @generated
+ */
+ EClass MULTIPLICITY = eINSTANCE.getMultiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY__RANGE = eINSTANCE.getMultiplicity_Range();
+
+ /**
+ * The meta object literal for the '<em><b>Ordered</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__ORDERED = eINSTANCE.getMultiplicity_Ordered();
+
+ /**
+ * The meta object literal for the '<em><b>Non Unique</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__NON_UNIQUE = eINSTANCE.getMultiplicity_NonUnique();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__SEQUENCE = eINSTANCE.getMultiplicity_Sequence();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
+ * @generated
+ */
+ EClass MULTIPLICITY_RANGE = eINSTANCE.getMultiplicityRange();
+
+ /**
+ * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY_RANGE__LOWER = eINSTANCE.getMultiplicityRange_Lower();
+
+ /**
+ * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY_RANGE__UPPER = eINSTANCE.getMultiplicityRange_Upper();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass NUMBER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass INTEGER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass UNLIMITED_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
+ * @generated
+ */
+ EClass TYPE_NAME = eINSTANCE.getTypeName();
+
+ /**
+ * The meta object literal for the '<em><b>Qualified Name</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_NAME__QUALIFIED_NAME = eINSTANCE.getTypeName_QualifiedName();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
+ * @generated
+ */
+ EClass REDEFINITION_CLAUSE = eINSTANCE.getRedefinitionClause();
+
+ /**
+ * The meta object literal for the '<em><b>Redefined Operations</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = eINSTANCE.getRedefinitionClause_RedefinedOperations();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
+ * @generated
+ */
+ EEnum VISIBILITY_INDICATOR = eINSTANCE.getVisibilityIndicator();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
+ * @generated
+ */
+ EEnum PARAMETER_DIRECTION = eINSTANCE.getParameterDirection();
+
+ }
} //OperationPackage
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
index 60115e0e7d3..e7cf95503a3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -21,234 +21,219 @@ import org.eclipse.emf.common.util.Enumerator;
* @model
* @generated
*/
-public enum ParameterDirection implements Enumerator
-{
- /**
- * The '<em><b>IN</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #IN_VALUE
- * @generated
- * @ordered
- */
- IN(0, "IN", "in"),
-
- /**
- * The '<em><b>OUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #OUT_VALUE
- * @generated
- * @ordered
- */
- OUT(1, "OUT", "out"),
-
- /**
- * The '<em><b>INOUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INOUT_VALUE
- * @generated
- * @ordered
- */
- INOUT(2, "INOUT", "inout");
-
- /**
- * The '<em><b>IN</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #IN
- * @model literal="in"
- * @generated
- * @ordered
- */
- public static final int IN_VALUE = 0;
-
- /**
- * The '<em><b>OUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #OUT
- * @model literal="out"
- * @generated
- * @ordered
- */
- public static final int OUT_VALUE = 1;
-
- /**
- * The '<em><b>INOUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INOUT
- * @model literal="inout"
- * @generated
- * @ordered
- */
- public static final int INOUT_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ParameterDirection[] VALUES_ARRAY =
- new ParameterDirection[]
- {
- IN,
- OUT,
- INOUT,
- };
-
- /**
- * A public read-only list of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<ParameterDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection get(int value)
- {
- switch (value)
- {
- case IN_VALUE: return IN;
- case OUT_VALUE: return OUT;
- case INOUT_VALUE: return INOUT;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ParameterDirection(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
+public enum ParameterDirection implements Enumerator {
+ /**
+ * The '<em><b>IN</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #IN_VALUE
+ * @generated
+ * @ordered
+ */
+ IN(0, "IN", "in"),
+
+ /**
+ * The '<em><b>OUT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #OUT_VALUE
+ * @generated
+ * @ordered
+ */
+ OUT(1, "OUT", "out"),
+
+ /**
+ * The '<em><b>INOUT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INOUT_VALUE
+ * @generated
+ * @ordered
+ */
+ INOUT(2, "INOUT", "inout");
+
+ /**
+ * The '<em><b>IN</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #IN
+ * @model literal="in"
+ * @generated
+ * @ordered
+ */
+ public static final int IN_VALUE = 0;
+
+ /**
+ * The '<em><b>OUT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #OUT
+ * @model literal="out"
+ * @generated
+ * @ordered
+ */
+ public static final int OUT_VALUE = 1;
+
+ /**
+ * The '<em><b>INOUT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INOUT
+ * @model literal="inout"
+ * @generated
+ * @ordered
+ */
+ public static final int INOUT_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Parameter Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ParameterDirection[] VALUES_ARRAY =
+ new ParameterDirection[] {
+ IN,
+ OUT,
+ INOUT,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Parameter Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ParameterDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ParameterDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ParameterDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection get(int value) {
+ switch (value) {
+ case IN_VALUE: return IN;
+ case OUT_VALUE: return OUT;
+ case INOUT_VALUE: return INOUT;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ParameterDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
} //ParameterDirection
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
index f11adcc4c36..f0b5f0d2fe7 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,32 +26,31 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameList;
* @model
* @generated
*/
-public interface RedefinitionClause extends EObject
-{
- /**
- * Returns the value of the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefined Operations</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Redefined Operations</em>' containment reference.
- * @see #setRedefinedOperations(QualifiedNameList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause_RedefinedOperations()
- * @model containment="true"
- * @generated
- */
- QualifiedNameList getRedefinedOperations();
+public interface RedefinitionClause extends EObject {
+ /**
+ * Returns the value of the '<em><b>Redefined Operations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Redefined Operations</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Redefined Operations</em>' containment reference.
+ * @see #setRedefinedOperations(QualifiedNameList)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause_RedefinedOperations()
+ * @model containment="true"
+ * @generated
+ */
+ QualifiedNameList getRedefinedOperations();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Redefined Operations</em>' containment reference.
- * @see #getRedefinedOperations()
- * @generated
- */
- void setRedefinedOperations(QualifiedNameList value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Redefined Operations</em>' containment reference.
+ * @see #getRedefinedOperations()
+ * @generated
+ */
+ void setRedefinedOperations(QualifiedNameList value);
} // RedefinitionClause
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
index efd835731aa..86bfedfc7c4 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,32 +26,31 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
* @model
* @generated
*/
-public interface TypeName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Qualified Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Qualified Name</em>' containment reference.
- * @see #setQualifiedName(QualifiedNameWithBinding)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName_QualifiedName()
- * @model containment="true"
- * @generated
- */
- QualifiedNameWithBinding getQualifiedName();
+public interface TypeName extends EObject {
+ /**
+ * Returns the value of the '<em><b>Qualified Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Qualified Name</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Qualified Name</em>' containment reference.
+ * @see #setQualifiedName(QualifiedNameWithBinding)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName_QualifiedName()
+ * @model containment="true"
+ * @generated
+ */
+ QualifiedNameWithBinding getQualifiedName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Qualified Name</em>' containment reference.
- * @see #getQualifiedName()
- * @generated
- */
- void setQualifiedName(QualifiedNameWithBinding value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Qualified Name</em>' containment reference.
+ * @see #getQualifiedName()
+ * @generated
+ */
+ void setQualifiedName(QualifiedNameWithBinding value);
} // TypeName
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
index 0dd9f3c24cc..79e8f2345cf 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -25,58 +25,57 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface TypePart extends EObject
-{
- /**
- * Returns the value of the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Name</em>' containment reference.
- * @see #setTypeName(TypeName)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_TypeName()
- * @model containment="true"
- * @generated
- */
- TypeName getTypeName();
+public interface TypePart extends EObject {
+ /**
+ * Returns the value of the '<em><b>Type Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type Name</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type Name</em>' containment reference.
+ * @see #setTypeName(TypeName)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_TypeName()
+ * @model containment="true"
+ * @generated
+ */
+ TypeName getTypeName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Name</em>' containment reference.
- * @see #getTypeName()
- * @generated
- */
- void setTypeName(TypeName value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type Name</em>' containment reference.
+ * @see #getTypeName()
+ * @generated
+ */
+ void setTypeName(TypeName value);
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' containment reference.
- * @see #setMultiplicity(Multiplicity)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_Multiplicity()
- * @model containment="true"
- * @generated
- */
- Multiplicity getMultiplicity();
+ /**
+ * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Multiplicity</em>' containment reference.
+ * @see #setMultiplicity(Multiplicity)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_Multiplicity()
+ * @model containment="true"
+ * @generated
+ */
+ Multiplicity getMultiplicity();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' containment reference.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(Multiplicity value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Multiplicity</em>' containment reference.
+ * @see #getMultiplicity()
+ * @generated
+ */
+ void setMultiplicity(Multiplicity value);
} // TypePart
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
index 245813a2bab..44022f553bb 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,6 +17,5 @@ package org.eclipse.papyrus.operation.editor.xtext.operation;
* @model
* @generated
*/
-public interface UNLIMITED_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
-{
+public interface UNLIMITED_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX {
} // UNLIMITED_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
index 156f4f6790b..28d1b955792 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -21,234 +21,219 @@ import org.eclipse.emf.common.util.Enumerator;
* @model
* @generated
*/
-public enum VisibilityIndicator implements Enumerator
-{
- /**
- * The '<em><b>PUBLIC</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PUBLIC_VALUE
- * @generated
- * @ordered
- */
- PUBLIC(0, "PUBLIC", "public"),
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PRIVATE_VALUE
- * @generated
- * @ordered
- */
- PRIVATE(1, "PRIVATE", "private"),
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PROTECTED_VALUE
- * @generated
- * @ordered
- */
- PROTECTED(2, "PROTECTED", "protected");
-
- /**
- * The '<em><b>PUBLIC</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PUBLIC
- * @model literal="public"
- * @generated
- * @ordered
- */
- public static final int PUBLIC_VALUE = 0;
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PRIVATE
- * @model literal="private"
- * @generated
- * @ordered
- */
- public static final int PRIVATE_VALUE = 1;
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PROTECTED
- * @model literal="protected"
- * @generated
- * @ordered
- */
- public static final int PROTECTED_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final VisibilityIndicator[] VALUES_ARRAY =
- new VisibilityIndicator[]
- {
- PUBLIC,
- PRIVATE,
- PROTECTED,
- };
-
- /**
- * A public read-only list of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<VisibilityIndicator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator get(int value)
- {
- switch (value)
- {
- case PUBLIC_VALUE: return PUBLIC;
- case PRIVATE_VALUE: return PRIVATE;
- case PROTECTED_VALUE: return PROTECTED;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private VisibilityIndicator(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
+public enum VisibilityIndicator implements Enumerator {
+ /**
+ * The '<em><b>PUBLIC</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PUBLIC_VALUE
+ * @generated
+ * @ordered
+ */
+ PUBLIC(0, "PUBLIC", "public"),
+
+ /**
+ * The '<em><b>PRIVATE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PRIVATE_VALUE
+ * @generated
+ * @ordered
+ */
+ PRIVATE(1, "PRIVATE", "private"),
+
+ /**
+ * The '<em><b>PROTECTED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PROTECTED_VALUE
+ * @generated
+ * @ordered
+ */
+ PROTECTED(2, "PROTECTED", "protected");
+
+ /**
+ * The '<em><b>PUBLIC</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PUBLIC
+ * @model literal="public"
+ * @generated
+ * @ordered
+ */
+ public static final int PUBLIC_VALUE = 0;
+
+ /**
+ * The '<em><b>PRIVATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PRIVATE
+ * @model literal="private"
+ * @generated
+ * @ordered
+ */
+ public static final int PRIVATE_VALUE = 1;
+
+ /**
+ * The '<em><b>PROTECTED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PROTECTED
+ * @model literal="protected"
+ * @generated
+ * @ordered
+ */
+ public static final int PROTECTED_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Visibility Indicator</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final VisibilityIndicator[] VALUES_ARRAY =
+ new VisibilityIndicator[] {
+ PUBLIC,
+ PRIVATE,
+ PROTECTED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Visibility Indicator</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<VisibilityIndicator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ VisibilityIndicator result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ VisibilityIndicator result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator get(int value) {
+ switch (value) {
+ case PUBLIC_VALUE: return PUBLIC;
+ case PRIVATE_VALUE: return PRIVATE;
+ case PROTECTED_VALUE: return PROTECTED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private VisibilityIndicator(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
} //VisibilityIndicator
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
index 9dc0d70605e..b7dc391f972 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,292 +35,269 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*
* @generated
*/
-public class FormalParameterImpl extends MinimalEObjectImpl.Container implements FormalParameter
-{
- /**
- * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected static final ParameterDirection DIRECTION_EDEFAULT = ParameterDirection.IN;
+public class FormalParameterImpl extends MinimalEObjectImpl.Container implements FormalParameter {
+ /**
+ * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final ParameterDirection DIRECTION_EDEFAULT = ParameterDirection.IN;
- /**
- * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected ParameterDirection direction = DIRECTION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected ParameterDirection direction = DIRECTION_EDEFAULT;
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected TypePart type;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected TypePart type;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParameterImpl()
- {
- super();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParameterImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETER;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.FORMAL_PARAMETER;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParameterDirection getDirection()
- {
- return direction;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParameterDirection getDirection() {
+ return direction;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDirection(ParameterDirection newDirection)
- {
- ParameterDirection oldDirection = direction;
- direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__DIRECTION, oldDirection, direction));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection(ParameterDirection newDirection) {
+ ParameterDirection oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__DIRECTION, oldDirection, direction));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__NAME, oldName, name));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__NAME, oldName, name));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart getType()
- {
- return type;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart getType() {
+ return type;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetType(TypePart newType, NotificationChain msgs)
- {
- TypePart oldType = type;
- type = newType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, oldType, newType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetType(TypePart newType, NotificationChain msgs) {
+ TypePart oldType = type;
+ type = newType;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, oldType, newType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(TypePart newType)
- {
- if (newType != type)
- {
- NotificationChain msgs = null;
- if (type != null)
- msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- if (newType != null)
- msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- msgs = basicSetType(newType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, newType, newType));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(TypePart newType) {
+ if (newType != type) {
+ NotificationChain msgs = null;
+ if (type != null)
+ msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
+ if (newType != null)
+ msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
+ msgs = basicSetType(newType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, newType, newType));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return basicSetType(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return basicSetType(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return getDirection();
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return getName();
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return getType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ return getDirection();
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ return getName();
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection((ParameterDirection)newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName((String)newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ setDirection((ParameterDirection)newValue);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ setName((String)newValue);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ setType((TypePart)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart)null);
- return;
- }
- super.eUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ setType((TypePart)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return type != null;
- }
- return super.eIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (direction: ");
- result.append(direction);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (direction: ");
+ result.append(direction);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
} //FormalParameterImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
index 3564ea2981b..bc4e46d992d 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -37,135 +37,120 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class FormalParameterListImpl extends MinimalEObjectImpl.Container implements FormalParameterList
-{
- /**
- * The cached value of the '{@link #getFormalParameter() <em>Formal Parameter</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameter()
- * @generated
- * @ordered
- */
- protected EList<FormalParameter> formalParameter;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParameterListImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETER_LIST;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<FormalParameter> getFormalParameter()
- {
- if (formalParameter == null)
- {
- formalParameter = new EObjectContainmentEList<FormalParameter>(FormalParameter.class, this, OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
- }
- return formalParameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return ((InternalEList<?>)getFormalParameter()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return getFormalParameter();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- getFormalParameter().addAll((Collection<? extends FormalParameter>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return formalParameter != null && !formalParameter.isEmpty();
- }
- return super.eIsSet(featureID);
- }
+public class FormalParameterListImpl extends MinimalEObjectImpl.Container implements FormalParameterList {
+ /**
+ * The cached value of the '{@link #getFormalParameter() <em>Formal Parameter</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameter()
+ * @generated
+ * @ordered
+ */
+ protected EList<FormalParameter> formalParameter;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParameterListImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.FORMAL_PARAMETER_LIST;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FormalParameter> getFormalParameter() {
+ if (formalParameter == null) {
+ formalParameter = new EObjectContainmentEList<FormalParameter>(FormalParameter.class, this, OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
+ }
+ return formalParameter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return ((InternalEList<?>)getFormalParameter()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return getFormalParameter();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ getFormalParameter().clear();
+ getFormalParameter().addAll((Collection<? extends FormalParameter>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ getFormalParameter().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return formalParameter != null && !formalParameter.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
} //FormalParameterListImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
index ce374654c79..83a4ede493b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -32,167 +32,149 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class FormalParametersImpl extends MinimalEObjectImpl.Container implements FormalParameters
-{
- /**
- * The cached value of the '{@link #getFormalParameterList() <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameterList()
- * @generated
- * @ordered
- */
- protected FormalParameterList formalParameterList;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParametersImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETERS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameterList getFormalParameterList()
- {
- return formalParameterList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFormalParameterList(FormalParameterList newFormalParameterList, NotificationChain msgs)
- {
- FormalParameterList oldFormalParameterList = formalParameterList;
- formalParameterList = newFormalParameterList;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, oldFormalParameterList, newFormalParameterList);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFormalParameterList(FormalParameterList newFormalParameterList)
- {
- if (newFormalParameterList != formalParameterList)
- {
- NotificationChain msgs = null;
- if (formalParameterList != null)
- msgs = ((InternalEObject)formalParameterList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- if (newFormalParameterList != null)
- msgs = ((InternalEObject)newFormalParameterList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- msgs = basicSetFormalParameterList(newFormalParameterList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, newFormalParameterList, newFormalParameterList));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return basicSetFormalParameterList(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return getFormalParameterList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return formalParameterList != null;
- }
- return super.eIsSet(featureID);
- }
+public class FormalParametersImpl extends MinimalEObjectImpl.Container implements FormalParameters {
+ /**
+ * The cached value of the '{@link #getFormalParameterList() <em>Formal Parameter List</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameterList()
+ * @generated
+ * @ordered
+ */
+ protected FormalParameterList formalParameterList;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParametersImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.FORMAL_PARAMETERS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameterList getFormalParameterList() {
+ return formalParameterList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFormalParameterList(FormalParameterList newFormalParameterList, NotificationChain msgs) {
+ FormalParameterList oldFormalParameterList = formalParameterList;
+ formalParameterList = newFormalParameterList;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, oldFormalParameterList, newFormalParameterList);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFormalParameterList(FormalParameterList newFormalParameterList) {
+ if (newFormalParameterList != formalParameterList) {
+ NotificationChain msgs = null;
+ if (formalParameterList != null)
+ msgs = ((InternalEObject)formalParameterList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
+ if (newFormalParameterList != null)
+ msgs = ((InternalEObject)newFormalParameterList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
+ msgs = basicSetFormalParameterList(newFormalParameterList, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, newFormalParameterList, newFormalParameterList));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return basicSetFormalParameterList(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return getFormalParameterList();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ setFormalParameterList((FormalParameterList)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ setFormalParameterList((FormalParameterList)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return formalParameterList != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //FormalParametersImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
index 614e63d8e76..be8847ead5c 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -20,27 +20,24 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class INTEGER_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements INTEGER_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected INTEGER_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
+public class INTEGER_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements INTEGER_LITERAL_WITHOUT_SUFFIX {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected INTEGER_LITERAL_WITHOUT_SUFFIXImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.INTEGER_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.INTEGER_LITERAL_WITHOUT_SUFFIX;
+ }
} //INTEGER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
index 7e61e042bad..239661a2a25 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,347 +35,322 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity
-{
- /**
- * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRange()
- * @generated
- * @ordered
- */
- protected MultiplicityRange range;
+public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity {
+ /**
+ * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRange()
+ * @generated
+ * @ordered
+ */
+ protected MultiplicityRange range;
- /**
- * The default value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected static final boolean ORDERED_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrdered()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ORDERED_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected boolean ordered = ORDERED_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrdered()
+ * @generated
+ * @ordered
+ */
+ protected boolean ordered = ORDERED_EDEFAULT;
- /**
- * The default value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected static final boolean NON_UNIQUE_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonUnique()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_UNIQUE_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected boolean nonUnique = NON_UNIQUE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonUnique()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonUnique = NON_UNIQUE_EDEFAULT;
- /**
- * The default value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected static final boolean SEQUENCE_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSequence()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean SEQUENCE_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected boolean sequence = SEQUENCE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSequence()
+ * @generated
+ * @ordered
+ */
+ protected boolean sequence = SEQUENCE_EDEFAULT;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MultiplicityImpl()
- {
- super();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MultiplicityImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.MULTIPLICITY;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.MULTIPLICITY;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicityRange getRange()
- {
- return range;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiplicityRange getRange() {
+ return range;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRange(MultiplicityRange newRange, NotificationChain msgs)
- {
- MultiplicityRange oldRange = range;
- range = newRange;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, oldRange, newRange);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRange(MultiplicityRange newRange, NotificationChain msgs) {
+ MultiplicityRange oldRange = range;
+ range = newRange;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, oldRange, newRange);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRange(MultiplicityRange newRange)
- {
- if (newRange != range)
- {
- NotificationChain msgs = null;
- if (range != null)
- msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- if (newRange != null)
- msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- msgs = basicSetRange(newRange, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, newRange, newRange));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRange(MultiplicityRange newRange) {
+ if (newRange != range) {
+ NotificationChain msgs = null;
+ if (range != null)
+ msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
+ if (newRange != null)
+ msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
+ msgs = basicSetRange(newRange, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, newRange, newRange));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isOrdered()
- {
- return ordered;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isOrdered() {
+ return ordered;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOrdered(boolean newOrdered)
- {
- boolean oldOrdered = ordered;
- ordered = newOrdered;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__ORDERED, oldOrdered, ordered));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrdered(boolean newOrdered) {
+ boolean oldOrdered = ordered;
+ ordered = newOrdered;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__ORDERED, oldOrdered, ordered));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isNonUnique()
- {
- return nonUnique;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isNonUnique() {
+ return nonUnique;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNonUnique(boolean newNonUnique)
- {
- boolean oldNonUnique = nonUnique;
- nonUnique = newNonUnique;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__NON_UNIQUE, oldNonUnique, nonUnique));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNonUnique(boolean newNonUnique) {
+ boolean oldNonUnique = nonUnique;
+ nonUnique = newNonUnique;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__NON_UNIQUE, oldNonUnique, nonUnique));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSequence()
- {
- return sequence;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSequence() {
+ return sequence;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSequence(boolean newSequence)
- {
- boolean oldSequence = sequence;
- sequence = newSequence;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__SEQUENCE, oldSequence, sequence));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(boolean newSequence) {
+ boolean oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__SEQUENCE, oldSequence, sequence));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- return basicSetRange(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return basicSetRange(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- return getRange();
- case OperationPackage.MULTIPLICITY__ORDERED:
- return isOrdered();
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return isNonUnique();
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return isSequence();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return getRange();
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ return isOrdered();
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ return isNonUnique();
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ return isSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange)newValue);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered((Boolean)newValue);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique((Boolean)newValue);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ setRange((MultiplicityRange)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ setOrdered((Boolean)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ setNonUnique((Boolean)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ setSequence((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange)null);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered(ORDERED_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique(NON_UNIQUE_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence(SEQUENCE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ setRange((MultiplicityRange)null);
+ return;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ setOrdered(ORDERED_EDEFAULT);
+ return;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ setNonUnique(NON_UNIQUE_EDEFAULT);
+ return;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ setSequence(SEQUENCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- return range != null;
- case OperationPackage.MULTIPLICITY__ORDERED:
- return ordered != ORDERED_EDEFAULT;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return nonUnique != NON_UNIQUE_EDEFAULT;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return sequence != SEQUENCE_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return range != null;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ return ordered != ORDERED_EDEFAULT;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ return nonUnique != NON_UNIQUE_EDEFAULT;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ return sequence != SEQUENCE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (ordered: ");
- result.append(ordered);
- result.append(", nonUnique: ");
- result.append(nonUnique);
- result.append(", sequence: ");
- result.append(sequence);
- result.append(')');
- return result.toString();
- }
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (ordered: ");
+ result.append(ordered);
+ result.append(", nonUnique: ");
+ result.append(nonUnique);
+ result.append(", sequence: ");
+ result.append(sequence);
+ result.append(')');
+ return result.toString();
+ }
} //MultiplicityImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
index 10a3f15f1d1..64baa5a18c5 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,237 +33,214 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class MultiplicityRangeImpl extends MinimalEObjectImpl.Container implements MultiplicityRange
-{
- /**
- * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLower()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX lower;
-
- /**
- * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUpper()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX upper;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MultiplicityRangeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.MULTIPLICITY_RANGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getLower()
- {
- return lower;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower, NotificationChain msgs)
- {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldLower = lower;
- lower = newLower;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, oldLower, newLower);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower)
- {
- if (newLower != lower)
- {
- NotificationChain msgs = null;
- if (lower != null)
- msgs = ((InternalEObject)lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- if (newLower != null)
- msgs = ((InternalEObject)newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- msgs = basicSetLower(newLower, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, newLower, newLower));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getUpper()
- {
- return upper;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper, NotificationChain msgs)
- {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldUpper = upper;
- upper = newUpper;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, oldUpper, newUpper);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper)
- {
- if (newUpper != upper)
- {
- NotificationChain msgs = null;
- if (upper != null)
- msgs = ((InternalEObject)upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- if (newUpper != null)
- msgs = ((InternalEObject)newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- msgs = basicSetUpper(newUpper, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, newUpper, newUpper));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return basicSetLower(null, msgs);
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return basicSetUpper(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return getLower();
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return getUpper();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return lower != null;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return upper != null;
- }
- return super.eIsSet(featureID);
- }
+public class MultiplicityRangeImpl extends MinimalEObjectImpl.Container implements MultiplicityRange {
+ /**
+ * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLower()
+ * @generated
+ * @ordered
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIX lower;
+
+ /**
+ * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpper()
+ * @generated
+ * @ordered
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIX upper;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MultiplicityRangeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.MULTIPLICITY_RANGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX getLower() {
+ return lower;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower, NotificationChain msgs) {
+ NUMBER_LITERAL_WITHOUT_SUFFIX oldLower = lower;
+ lower = newLower;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, oldLower, newLower);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower) {
+ if (newLower != lower) {
+ NotificationChain msgs = null;
+ if (lower != null)
+ msgs = ((InternalEObject)lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
+ if (newLower != null)
+ msgs = ((InternalEObject)newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
+ msgs = basicSetLower(newLower, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, newLower, newLower));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX getUpper() {
+ return upper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper, NotificationChain msgs) {
+ NUMBER_LITERAL_WITHOUT_SUFFIX oldUpper = upper;
+ upper = newUpper;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, oldUpper, newUpper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper) {
+ if (newUpper != upper) {
+ NotificationChain msgs = null;
+ if (upper != null)
+ msgs = ((InternalEObject)upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
+ if (newUpper != null)
+ msgs = ((InternalEObject)newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
+ msgs = basicSetUpper(newUpper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, newUpper, newUpper));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return basicSetLower(null, msgs);
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return basicSetUpper(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return getLower();
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return getUpper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
+ return;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return lower != null;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return upper != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //MultiplicityRangeImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
index d4c096d044c..d7fb9d14206 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -29,153 +29,139 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class NUMBER_LITERAL_WITHOUT_SUFFIXImpl extends MinimalEObjectImpl.Container implements NUMBER_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.NUMBER_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue)
- {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- setValue((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
+public class NUMBER_LITERAL_WITHOUT_SUFFIXImpl extends MinimalEObjectImpl.Container implements NUMBER_LITERAL_WITHOUT_SUFFIX {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIXImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.NUMBER_LITERAL_WITHOUT_SUFFIX;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
} //NUMBER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
index bc1af064110..08981d9ce60 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -40,487 +40,452 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
*
* @generated
*/
-public class OperationDeclarationImpl extends MinimalEObjectImpl.Container implements OperationDeclaration
-{
- /**
- * The default value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected static final VisibilityIndicator VISIBILITY_INDICATOR_EDEFAULT = VisibilityIndicator.PUBLIC;
-
- /**
- * The cached value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected VisibilityIndicator visibilityIndicator = VISIBILITY_INDICATOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected static final boolean ABSTRACT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected boolean abstract_ = ABSTRACT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getFormalParameters() <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameters()
- * @generated
- * @ordered
- */
- protected FormalParameters formalParameters;
-
- /**
- * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReturnType()
- * @generated
- * @ordered
- */
- protected TypePart returnType;
-
- /**
- * The cached value of the '{@link #getRedefinition() <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRedefinition()
- * @generated
- * @ordered
- */
- protected RedefinitionClause redefinition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationDeclarationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.OPERATION_DECLARATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityIndicator getVisibilityIndicator()
- {
- return visibilityIndicator;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVisibilityIndicator(VisibilityIndicator newVisibilityIndicator)
- {
- VisibilityIndicator oldVisibilityIndicator = visibilityIndicator;
- visibilityIndicator = newVisibilityIndicator == null ? VISIBILITY_INDICATOR_EDEFAULT : newVisibilityIndicator;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR, oldVisibilityIndicator, visibilityIndicator));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isAbstract()
- {
- return abstract_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAbstract(boolean newAbstract)
- {
- boolean oldAbstract = abstract_;
- abstract_ = newAbstract;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__ABSTRACT, oldAbstract, abstract_));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameters getFormalParameters()
- {
- return formalParameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFormalParameters(FormalParameters newFormalParameters, NotificationChain msgs)
- {
- FormalParameters oldFormalParameters = formalParameters;
- formalParameters = newFormalParameters;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, oldFormalParameters, newFormalParameters);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFormalParameters(FormalParameters newFormalParameters)
- {
- if (newFormalParameters != formalParameters)
- {
- NotificationChain msgs = null;
- if (formalParameters != null)
- msgs = ((InternalEObject)formalParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- if (newFormalParameters != null)
- msgs = ((InternalEObject)newFormalParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- msgs = basicSetFormalParameters(newFormalParameters, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, newFormalParameters, newFormalParameters));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart getReturnType()
- {
- return returnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetReturnType(TypePart newReturnType, NotificationChain msgs)
- {
- TypePart oldReturnType = returnType;
- returnType = newReturnType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, oldReturnType, newReturnType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setReturnType(TypePart newReturnType)
- {
- if (newReturnType != returnType)
- {
- NotificationChain msgs = null;
- if (returnType != null)
- msgs = ((InternalEObject)returnType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- if (newReturnType != null)
- msgs = ((InternalEObject)newReturnType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- msgs = basicSetReturnType(newReturnType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, newReturnType, newReturnType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RedefinitionClause getRedefinition()
- {
- return redefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRedefinition(RedefinitionClause newRedefinition, NotificationChain msgs)
- {
- RedefinitionClause oldRedefinition = redefinition;
- redefinition = newRedefinition;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, oldRedefinition, newRedefinition);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRedefinition(RedefinitionClause newRedefinition)
- {
- if (newRedefinition != redefinition)
- {
- NotificationChain msgs = null;
- if (redefinition != null)
- msgs = ((InternalEObject)redefinition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- if (newRedefinition != null)
- msgs = ((InternalEObject)newRedefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- msgs = basicSetRedefinition(newRedefinition, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, newRedefinition, newRedefinition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return basicSetFormalParameters(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return basicSetReturnType(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return basicSetRedefinition(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return getVisibilityIndicator();
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return isAbstract();
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return getName();
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return getFormalParameters();
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return getReturnType();
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return getRedefinition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator((VisibilityIndicator)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract((Boolean)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName((String)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator(VISIBILITY_INDICATOR_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract(ABSTRACT_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters)null);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart)null);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return visibilityIndicator != VISIBILITY_INDICATOR_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return abstract_ != ABSTRACT_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return formalParameters != null;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return returnType != null;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return redefinition != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (visibilityIndicator: ");
- result.append(visibilityIndicator);
- result.append(", abstract: ");
- result.append(abstract_);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
+public class OperationDeclarationImpl extends MinimalEObjectImpl.Container implements OperationDeclaration {
+ /**
+ * The default value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVisibilityIndicator()
+ * @generated
+ * @ordered
+ */
+ protected static final VisibilityIndicator VISIBILITY_INDICATOR_EDEFAULT = VisibilityIndicator.PUBLIC;
+
+ /**
+ * The cached value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVisibilityIndicator()
+ * @generated
+ * @ordered
+ */
+ protected VisibilityIndicator visibilityIndicator = VISIBILITY_INDICATOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ABSTRACT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected boolean abstract_ = ABSTRACT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getFormalParameters() <em>Formal Parameters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameters()
+ * @generated
+ * @ordered
+ */
+ protected FormalParameters formalParameters;
+
+ /**
+ * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReturnType()
+ * @generated
+ * @ordered
+ */
+ protected TypePart returnType;
+
+ /**
+ * The cached value of the '{@link #getRedefinition() <em>Redefinition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRedefinition()
+ * @generated
+ * @ordered
+ */
+ protected RedefinitionClause redefinition;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationDeclarationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.OPERATION_DECLARATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VisibilityIndicator getVisibilityIndicator() {
+ return visibilityIndicator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVisibilityIndicator(VisibilityIndicator newVisibilityIndicator) {
+ VisibilityIndicator oldVisibilityIndicator = visibilityIndicator;
+ visibilityIndicator = newVisibilityIndicator == null ? VISIBILITY_INDICATOR_EDEFAULT : newVisibilityIndicator;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR, oldVisibilityIndicator, visibilityIndicator));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAbstract() {
+ return abstract_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAbstract(boolean newAbstract) {
+ boolean oldAbstract = abstract_;
+ abstract_ = newAbstract;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__ABSTRACT, oldAbstract, abstract_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameters getFormalParameters() {
+ return formalParameters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFormalParameters(FormalParameters newFormalParameters, NotificationChain msgs) {
+ FormalParameters oldFormalParameters = formalParameters;
+ formalParameters = newFormalParameters;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, oldFormalParameters, newFormalParameters);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFormalParameters(FormalParameters newFormalParameters) {
+ if (newFormalParameters != formalParameters) {
+ NotificationChain msgs = null;
+ if (formalParameters != null)
+ msgs = ((InternalEObject)formalParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
+ if (newFormalParameters != null)
+ msgs = ((InternalEObject)newFormalParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
+ msgs = basicSetFormalParameters(newFormalParameters, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, newFormalParameters, newFormalParameters));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart getReturnType() {
+ return returnType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReturnType(TypePart newReturnType, NotificationChain msgs) {
+ TypePart oldReturnType = returnType;
+ returnType = newReturnType;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, oldReturnType, newReturnType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReturnType(TypePart newReturnType) {
+ if (newReturnType != returnType) {
+ NotificationChain msgs = null;
+ if (returnType != null)
+ msgs = ((InternalEObject)returnType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
+ if (newReturnType != null)
+ msgs = ((InternalEObject)newReturnType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
+ msgs = basicSetReturnType(newReturnType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, newReturnType, newReturnType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RedefinitionClause getRedefinition() {
+ return redefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRedefinition(RedefinitionClause newRedefinition, NotificationChain msgs) {
+ RedefinitionClause oldRedefinition = redefinition;
+ redefinition = newRedefinition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, oldRedefinition, newRedefinition);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRedefinition(RedefinitionClause newRedefinition) {
+ if (newRedefinition != redefinition) {
+ NotificationChain msgs = null;
+ if (redefinition != null)
+ msgs = ((InternalEObject)redefinition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
+ if (newRedefinition != null)
+ msgs = ((InternalEObject)newRedefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
+ msgs = basicSetRedefinition(newRedefinition, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, newRedefinition, newRedefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return basicSetFormalParameters(null, msgs);
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return basicSetReturnType(null, msgs);
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return basicSetRedefinition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ return getVisibilityIndicator();
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ return isAbstract();
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ return getName();
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return getFormalParameters();
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return getReturnType();
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return getRedefinition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ setVisibilityIndicator((VisibilityIndicator)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ setAbstract((Boolean)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ setName((String)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ setFormalParameters((FormalParameters)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ setReturnType((TypePart)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ setRedefinition((RedefinitionClause)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ setVisibilityIndicator(VISIBILITY_INDICATOR_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ setAbstract(ABSTRACT_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ setFormalParameters((FormalParameters)null);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ setReturnType((TypePart)null);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ setRedefinition((RedefinitionClause)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ return visibilityIndicator != VISIBILITY_INDICATOR_EDEFAULT;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ return abstract_ != ABSTRACT_EDEFAULT;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return formalParameters != null;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return returnType != null;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return redefinition != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (visibilityIndicator: ");
+ result.append(visibilityIndicator);
+ result.append(", abstract: ");
+ result.append(abstract_);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
} //OperationDeclarationImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
index 0c22bc55e33..947cfbebbca 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,237 +35,214 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class OperationDefinitionOrStubImpl extends MinimalEObjectImpl.Container implements OperationDefinitionOrStub
-{
- /**
- * The cached value of the '{@link #getDeclaration() <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDeclaration()
- * @generated
- * @ordered
- */
- protected OperationDeclaration declaration;
-
- /**
- * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBody()
- * @generated
- * @ordered
- */
- protected Block body;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationDefinitionOrStubImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.OPERATION_DEFINITION_OR_STUB;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDeclaration getDeclaration()
- {
- return declaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDeclaration(OperationDeclaration newDeclaration, NotificationChain msgs)
- {
- OperationDeclaration oldDeclaration = declaration;
- declaration = newDeclaration;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, oldDeclaration, newDeclaration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDeclaration(OperationDeclaration newDeclaration)
- {
- if (newDeclaration != declaration)
- {
- NotificationChain msgs = null;
- if (declaration != null)
- msgs = ((InternalEObject)declaration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- if (newDeclaration != null)
- msgs = ((InternalEObject)newDeclaration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- msgs = basicSetDeclaration(newDeclaration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, newDeclaration, newDeclaration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Block getBody()
- {
- return body;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBody(Block newBody, NotificationChain msgs)
- {
- Block oldBody = body;
- body = newBody;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, oldBody, newBody);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBody(Block newBody)
- {
- if (newBody != body)
- {
- NotificationChain msgs = null;
- if (body != null)
- msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- if (newBody != null)
- msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- msgs = basicSetBody(newBody, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, newBody, newBody));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return basicSetDeclaration(null, msgs);
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return basicSetBody(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return getDeclaration();
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return getBody();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration)newValue);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration)null);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return declaration != null;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return body != null;
- }
- return super.eIsSet(featureID);
- }
+public class OperationDefinitionOrStubImpl extends MinimalEObjectImpl.Container implements OperationDefinitionOrStub {
+ /**
+ * The cached value of the '{@link #getDeclaration() <em>Declaration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDeclaration()
+ * @generated
+ * @ordered
+ */
+ protected OperationDeclaration declaration;
+
+ /**
+ * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBody()
+ * @generated
+ * @ordered
+ */
+ protected Block body;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationDefinitionOrStubImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.OPERATION_DEFINITION_OR_STUB;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDeclaration getDeclaration() {
+ return declaration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDeclaration(OperationDeclaration newDeclaration, NotificationChain msgs) {
+ OperationDeclaration oldDeclaration = declaration;
+ declaration = newDeclaration;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, oldDeclaration, newDeclaration);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDeclaration(OperationDeclaration newDeclaration) {
+ if (newDeclaration != declaration) {
+ NotificationChain msgs = null;
+ if (declaration != null)
+ msgs = ((InternalEObject)declaration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
+ if (newDeclaration != null)
+ msgs = ((InternalEObject)newDeclaration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
+ msgs = basicSetDeclaration(newDeclaration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, newDeclaration, newDeclaration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Block getBody() {
+ return body;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBody(Block newBody, NotificationChain msgs) {
+ Block oldBody = body;
+ body = newBody;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, oldBody, newBody);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBody(Block newBody) {
+ if (newBody != body) {
+ NotificationChain msgs = null;
+ if (body != null)
+ msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
+ if (newBody != null)
+ msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
+ msgs = basicSetBody(newBody, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, newBody, newBody));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return basicSetDeclaration(null, msgs);
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return basicSetBody(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return getDeclaration();
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return getBody();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ setDeclaration((OperationDeclaration)newValue);
+ return;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ setBody((Block)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ setDeclaration((OperationDeclaration)null);
+ return;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ setBody((Block)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return declaration != null;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return body != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //OperationDefinitionOrStubImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
index ae9fdaacf7c..94f8ac77977 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -23,315 +23,284 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* <!-- end-user-doc -->
* @generated
*/
-public class OperationFactoryImpl extends EFactoryImpl implements OperationFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static OperationFactory init()
- {
- try
- {
- OperationFactory theOperationFactory = (OperationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation");
- if (theOperationFactory != null)
- {
- return theOperationFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new OperationFactoryImpl();
- }
+public class OperationFactoryImpl extends EFactoryImpl implements OperationFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OperationFactory init() {
+ try {
+ OperationFactory theOperationFactory = (OperationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation");
+ if (theOperationFactory != null) {
+ return theOperationFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new OperationFactoryImpl();
+ }
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationFactoryImpl()
- {
- super();
- }
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationFactoryImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB: return createOperationDefinitionOrStub();
- case OperationPackage.OPERATION_DECLARATION: return createOperationDeclaration();
- case OperationPackage.FORMAL_PARAMETERS: return createFormalParameters();
- case OperationPackage.FORMAL_PARAMETER_LIST: return createFormalParameterList();
- case OperationPackage.FORMAL_PARAMETER: return createFormalParameter();
- case OperationPackage.TYPE_PART: return createTypePart();
- case OperationPackage.MULTIPLICITY: return createMultiplicity();
- case OperationPackage.MULTIPLICITY_RANGE: return createMultiplicityRange();
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: return createNUMBER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: return createINTEGER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: return createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.TYPE_NAME: return createTypeName();
- case OperationPackage.REDEFINITION_CLAUSE: return createRedefinitionClause();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB: return createOperationDefinitionOrStub();
+ case OperationPackage.OPERATION_DECLARATION: return createOperationDeclaration();
+ case OperationPackage.FORMAL_PARAMETERS: return createFormalParameters();
+ case OperationPackage.FORMAL_PARAMETER_LIST: return createFormalParameterList();
+ case OperationPackage.FORMAL_PARAMETER: return createFormalParameter();
+ case OperationPackage.TYPE_PART: return createTypePart();
+ case OperationPackage.MULTIPLICITY: return createMultiplicity();
+ case OperationPackage.MULTIPLICITY_RANGE: return createMultiplicityRange();
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: return createNUMBER_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: return createINTEGER_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: return createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.TYPE_NAME: return createTypeName();
+ case OperationPackage.REDEFINITION_CLAUSE: return createRedefinitionClause();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OperationPackage.VISIBILITY_INDICATOR:
- return createVisibilityIndicatorFromString(eDataType, initialValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return createParameterDirectionFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case OperationPackage.VISIBILITY_INDICATOR:
+ return createVisibilityIndicatorFromString(eDataType, initialValue);
+ case OperationPackage.PARAMETER_DIRECTION:
+ return createParameterDirectionFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OperationPackage.VISIBILITY_INDICATOR:
- return convertVisibilityIndicatorToString(eDataType, instanceValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return convertParameterDirectionToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case OperationPackage.VISIBILITY_INDICATOR:
+ return convertVisibilityIndicatorToString(eDataType, instanceValue);
+ case OperationPackage.PARAMETER_DIRECTION:
+ return convertParameterDirectionToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDefinitionOrStub createOperationDefinitionOrStub()
- {
- OperationDefinitionOrStubImpl operationDefinitionOrStub = new OperationDefinitionOrStubImpl();
- return operationDefinitionOrStub;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDefinitionOrStub createOperationDefinitionOrStub() {
+ OperationDefinitionOrStubImpl operationDefinitionOrStub = new OperationDefinitionOrStubImpl();
+ return operationDefinitionOrStub;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDeclaration createOperationDeclaration()
- {
- OperationDeclarationImpl operationDeclaration = new OperationDeclarationImpl();
- return operationDeclaration;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDeclaration createOperationDeclaration() {
+ OperationDeclarationImpl operationDeclaration = new OperationDeclarationImpl();
+ return operationDeclaration;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameters createFormalParameters()
- {
- FormalParametersImpl formalParameters = new FormalParametersImpl();
- return formalParameters;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameters createFormalParameters() {
+ FormalParametersImpl formalParameters = new FormalParametersImpl();
+ return formalParameters;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameterList createFormalParameterList()
- {
- FormalParameterListImpl formalParameterList = new FormalParameterListImpl();
- return formalParameterList;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameterList createFormalParameterList() {
+ FormalParameterListImpl formalParameterList = new FormalParameterListImpl();
+ return formalParameterList;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameter createFormalParameter()
- {
- FormalParameterImpl formalParameter = new FormalParameterImpl();
- return formalParameter;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameter createFormalParameter() {
+ FormalParameterImpl formalParameter = new FormalParameterImpl();
+ return formalParameter;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart createTypePart()
- {
- TypePartImpl typePart = new TypePartImpl();
- return typePart;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart createTypePart() {
+ TypePartImpl typePart = new TypePartImpl();
+ return typePart;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Multiplicity createMultiplicity()
- {
- MultiplicityImpl multiplicity = new MultiplicityImpl();
- return multiplicity;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Multiplicity createMultiplicity() {
+ MultiplicityImpl multiplicity = new MultiplicityImpl();
+ return multiplicity;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicityRange createMultiplicityRange()
- {
- MultiplicityRangeImpl multiplicityRange = new MultiplicityRangeImpl();
- return multiplicityRange;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiplicityRange createMultiplicityRange() {
+ MultiplicityRangeImpl multiplicityRange = new MultiplicityRangeImpl();
+ return multiplicityRange;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX()
- {
- NUMBER_LITERAL_WITHOUT_SUFFIXImpl numbeR_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXImpl();
- return numbeR_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX() {
+ NUMBER_LITERAL_WITHOUT_SUFFIXImpl numbeR_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXImpl();
+ return numbeR_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX()
- {
- INTEGER_LITERAL_WITHOUT_SUFFIXImpl integeR_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXImpl();
- return integeR_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX() {
+ INTEGER_LITERAL_WITHOUT_SUFFIXImpl integeR_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXImpl();
+ return integeR_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- {
- UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl unlimiteD_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl();
- return unlimiteD_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX() {
+ UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl unlimiteD_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl();
+ return unlimiteD_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypeName createTypeName()
- {
- TypeNameImpl typeName = new TypeNameImpl();
- return typeName;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypeName createTypeName() {
+ TypeNameImpl typeName = new TypeNameImpl();
+ return typeName;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RedefinitionClause createRedefinitionClause()
- {
- RedefinitionClauseImpl redefinitionClause = new RedefinitionClauseImpl();
- return redefinitionClause;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RedefinitionClause createRedefinitionClause() {
+ RedefinitionClauseImpl redefinitionClause = new RedefinitionClauseImpl();
+ return redefinitionClause;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityIndicator createVisibilityIndicatorFromString(EDataType eDataType, String initialValue)
- {
- VisibilityIndicator result = VisibilityIndicator.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VisibilityIndicator createVisibilityIndicatorFromString(EDataType eDataType, String initialValue) {
+ VisibilityIndicator result = VisibilityIndicator.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertVisibilityIndicatorToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertVisibilityIndicatorToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParameterDirection createParameterDirectionFromString(EDataType eDataType, String initialValue)
- {
- ParameterDirection result = ParameterDirection.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParameterDirection createParameterDirectionFromString(EDataType eDataType, String initialValue) {
+ ParameterDirection result = ParameterDirection.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertParameterDirectionToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertParameterDirectionToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationPackage getOperationPackage()
- {
- return (OperationPackage)getEPackage();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationPackage getOperationPackage() {
+ return (OperationPackage)getEPackage();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static OperationPackage getPackage()
- {
- return OperationPackage.eINSTANCE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static OperationPackage getPackage() {
+ return OperationPackage.eINSTANCE;
+ }
} //OperationFactoryImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
index e8fd7a500d3..ba21842a895 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -37,753 +37,708 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
* <!-- end-user-doc -->
* @generated
*/
-public class OperationPackageImpl extends EPackageImpl implements OperationPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationDefinitionOrStubEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationDeclarationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParametersEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParameterListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParameterEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass typePartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiplicityEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiplicityRangeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass numbeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass integeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass typeNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass redefinitionClauseEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum visibilityIndicatorEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum parameterDirectionEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private OperationPackageImpl()
- {
- super(eNS_URI, OperationFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link OperationPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static OperationPackage init()
- {
- if (isInited) return (OperationPackage)EPackage.Registry.INSTANCE.getEPackage(OperationPackage.eNS_URI);
-
- // Obtain or create and register package
- OperationPackageImpl theOperationPackage = (OperationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- AlfPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theOperationPackage.createPackageContents();
-
- // Initialize created meta-data
- theOperationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theOperationPackage.freeze();
+public class OperationPackageImpl extends EPackageImpl implements OperationPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass operationDefinitionOrStubEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass operationDeclarationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParametersEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParameterListEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParameterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass typePartEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass multiplicityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass multiplicityRangeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass numbeR_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass integeR_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass typeNameEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass redefinitionClauseEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum visibilityIndicatorEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum parameterDirectionEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private OperationPackageImpl() {
+ super(eNS_URI, OperationFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link OperationPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static OperationPackage init() {
+ if (isInited) return (OperationPackage)EPackage.Registry.INSTANCE.getEPackage(OperationPackage.eNS_URI);
+
+ // Obtain or create and register package
+ OperationPackageImpl theOperationPackage = (OperationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperationPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ AlfPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theOperationPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theOperationPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theOperationPackage.freeze();
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(OperationPackage.eNS_URI, theOperationPackage);
- return theOperationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperationDefinitionOrStub()
- {
- return operationDefinitionOrStubEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Declaration()
- {
- return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Body()
- {
- return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperationDeclaration()
- {
- return operationDeclarationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_VisibilityIndicator()
- {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_Abstract()
- {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_Name()
- {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_FormalParameters()
- {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_ReturnType()
- {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_Redefinition()
- {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameters()
- {
- return formalParametersEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameters_FormalParameterList()
- {
- return (EReference)formalParametersEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameterList()
- {
- return formalParameterListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameterList_FormalParameter()
- {
- return (EReference)formalParameterListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameter()
- {
- return formalParameterEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getFormalParameter_Direction()
- {
- return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getFormalParameter_Name()
- {
- return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameter_Type()
- {
- return (EReference)formalParameterEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTypePart()
- {
- return typePartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypePart_TypeName()
- {
- return (EReference)typePartEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypePart_Multiplicity()
- {
- return (EReference)typePartEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiplicity()
- {
- return multiplicityEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicity_Range()
- {
- return (EReference)multiplicityEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_Ordered()
- {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_NonUnique()
- {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_Sequence()
- {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiplicityRange()
- {
- return multiplicityRangeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicityRange_Lower()
- {
- return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicityRange_Upper()
- {
- return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNUMBER_LITERAL_WITHOUT_SUFFIX()
- {
- return numbeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
- {
- return (EAttribute)numbeR_LITERAL_WITHOUT_SUFFIXEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getINTEGER_LITERAL_WITHOUT_SUFFIX()
- {
- return integeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- {
- return unlimiteD_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTypeName()
- {
- return typeNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypeName_QualifiedName()
- {
- return (EReference)typeNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRedefinitionClause()
- {
- return redefinitionClauseEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRedefinitionClause_RedefinedOperations()
- {
- return (EReference)redefinitionClauseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getVisibilityIndicator()
- {
- return visibilityIndicatorEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getParameterDirection()
- {
- return parameterDirectionEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationFactory getOperationFactory()
- {
- return (OperationFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- operationDefinitionOrStubEClass = createEClass(OPERATION_DEFINITION_OR_STUB);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__DECLARATION);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__BODY);
-
- operationDeclarationEClass = createEClass(OPERATION_DECLARATION);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__VISIBILITY_INDICATOR);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__ABSTRACT);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__NAME);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__FORMAL_PARAMETERS);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__RETURN_TYPE);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__REDEFINITION);
-
- formalParametersEClass = createEClass(FORMAL_PARAMETERS);
- createEReference(formalParametersEClass, FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST);
-
- formalParameterListEClass = createEClass(FORMAL_PARAMETER_LIST);
- createEReference(formalParameterListEClass, FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
-
- formalParameterEClass = createEClass(FORMAL_PARAMETER);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__DIRECTION);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__NAME);
- createEReference(formalParameterEClass, FORMAL_PARAMETER__TYPE);
-
- typePartEClass = createEClass(TYPE_PART);
- createEReference(typePartEClass, TYPE_PART__TYPE_NAME);
- createEReference(typePartEClass, TYPE_PART__MULTIPLICITY);
-
- multiplicityEClass = createEClass(MULTIPLICITY);
- createEReference(multiplicityEClass, MULTIPLICITY__RANGE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__ORDERED);
- createEAttribute(multiplicityEClass, MULTIPLICITY__NON_UNIQUE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__SEQUENCE);
-
- multiplicityRangeEClass = createEClass(MULTIPLICITY_RANGE);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__LOWER);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__UPPER);
-
- numbeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(NUMBER_LITERAL_WITHOUT_SUFFIX);
- createEAttribute(numbeR_LITERAL_WITHOUT_SUFFIXEClass, NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE);
-
- integeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(INTEGER_LITERAL_WITHOUT_SUFFIX);
-
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = createEClass(UNLIMITED_LITERAL_WITHOUT_SUFFIX);
-
- typeNameEClass = createEClass(TYPE_NAME);
- createEReference(typeNameEClass, TYPE_NAME__QUALIFIED_NAME);
-
- redefinitionClauseEClass = createEClass(REDEFINITION_CLAUSE);
- createEReference(redefinitionClauseEClass, REDEFINITION_CLAUSE__REDEFINED_OPERATIONS);
-
- // Create enums
- visibilityIndicatorEEnum = createEEnum(VISIBILITY_INDICATOR);
- parameterDirectionEEnum = createEEnum(PARAMETER_DIRECTION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- AlfPackage theAlfPackage = (AlfPackage)EPackage.Registry.INSTANCE.getEPackage(AlfPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- integeR_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
-
- // Initialize classes and features; add operations and parameters
- initEClass(operationDefinitionOrStubEClass, OperationDefinitionOrStub.class, "OperationDefinitionOrStub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOperationDefinitionOrStub_Declaration(), this.getOperationDeclaration(), null, "declaration", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDefinitionOrStub_Body(), theAlfPackage.getBlock(), null, "body", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(operationDeclarationEClass, OperationDeclaration.class, "OperationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOperationDeclaration_VisibilityIndicator(), this.getVisibilityIndicator(), "visibilityIndicator", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperationDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_FormalParameters(), this.getFormalParameters(), null, "formalParameters", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_ReturnType(), this.getTypePart(), null, "returnType", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_Redefinition(), this.getRedefinitionClause(), null, "redefinition", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParametersEClass, FormalParameters.class, "FormalParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameters_FormalParameterList(), this.getFormalParameterList(), null, "formalParameterList", null, 0, 1, FormalParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterListEClass, FormalParameterList.class, "FormalParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameterList_FormalParameter(), this.getFormalParameter(), null, "formalParameter", null, 0, -1, FormalParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterEClass, FormalParameter.class, "FormalParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFormalParameter_Direction(), this.getParameterDirection(), "direction", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getFormalParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFormalParameter_Type(), this.getTypePart(), null, "type", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(typePartEClass, TypePart.class, "TypePart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypePart_TypeName(), this.getTypeName(), null, "typeName", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getTypePart_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicity_Range(), this.getMultiplicityRange(), null, "range", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Ordered(), ecorePackage.getEBoolean(), "ordered", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_NonUnique(), ecorePackage.getEBoolean(), "nonUnique", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Sequence(), ecorePackage.getEBoolean(), "sequence", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityRangeEClass, MultiplicityRange.class, "MultiplicityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicityRange_Lower(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "lower", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMultiplicityRange_Upper(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "upper", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(numbeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, "NUMBER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNUMBER_LITERAL_WITHOUT_SUFFIX_Value(), ecorePackage.getEString(), "value", null, 0, 1, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(integeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX.class, "INTEGER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(OperationPackage.eNS_URI, theOperationPackage);
+ return theOperationPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOperationDefinitionOrStub() {
+ return operationDefinitionOrStubEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDefinitionOrStub_Declaration() {
+ return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDefinitionOrStub_Body() {
+ return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOperationDeclaration() {
+ return operationDeclarationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_VisibilityIndicator() {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_Abstract() {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_Name() {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_FormalParameters() {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_ReturnType() {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_Redefinition() {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameters() {
+ return formalParametersEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameters_FormalParameterList() {
+ return (EReference)formalParametersEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameterList() {
+ return formalParameterListEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameterList_FormalParameter() {
+ return (EReference)formalParameterListEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameter() {
+ return formalParameterEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalParameter_Direction() {
+ return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalParameter_Name() {
+ return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameter_Type() {
+ return (EReference)formalParameterEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTypePart() {
+ return typePartEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypePart_TypeName() {
+ return (EReference)typePartEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypePart_Multiplicity() {
+ return (EReference)typePartEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMultiplicity() {
+ return multiplicityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicity_Range() {
+ return (EReference)multiplicityEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_Ordered() {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_NonUnique() {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_Sequence() {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMultiplicityRange() {
+ return multiplicityRangeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicityRange_Lower() {
+ return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicityRange_Upper() {
+ return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNUMBER_LITERAL_WITHOUT_SUFFIX() {
+ return numbeR_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value() {
+ return (EAttribute)numbeR_LITERAL_WITHOUT_SUFFIXEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getINTEGER_LITERAL_WITHOUT_SUFFIX() {
+ return integeR_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX() {
+ return unlimiteD_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTypeName() {
+ return typeNameEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypeName_QualifiedName() {
+ return (EReference)typeNameEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRedefinitionClause() {
+ return redefinitionClauseEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRedefinitionClause_RedefinedOperations() {
+ return (EReference)redefinitionClauseEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getVisibilityIndicator() {
+ return visibilityIndicatorEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getParameterDirection() {
+ return parameterDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationFactory getOperationFactory() {
+ return (OperationFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ operationDefinitionOrStubEClass = createEClass(OPERATION_DEFINITION_OR_STUB);
+ createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__DECLARATION);
+ createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__BODY);
+
+ operationDeclarationEClass = createEClass(OPERATION_DECLARATION);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__VISIBILITY_INDICATOR);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__ABSTRACT);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__NAME);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__FORMAL_PARAMETERS);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__RETURN_TYPE);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__REDEFINITION);
+
+ formalParametersEClass = createEClass(FORMAL_PARAMETERS);
+ createEReference(formalParametersEClass, FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST);
+
+ formalParameterListEClass = createEClass(FORMAL_PARAMETER_LIST);
+ createEReference(formalParameterListEClass, FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
+
+ formalParameterEClass = createEClass(FORMAL_PARAMETER);
+ createEAttribute(formalParameterEClass, FORMAL_PARAMETER__DIRECTION);
+ createEAttribute(formalParameterEClass, FORMAL_PARAMETER__NAME);
+ createEReference(formalParameterEClass, FORMAL_PARAMETER__TYPE);
+
+ typePartEClass = createEClass(TYPE_PART);
+ createEReference(typePartEClass, TYPE_PART__TYPE_NAME);
+ createEReference(typePartEClass, TYPE_PART__MULTIPLICITY);
+
+ multiplicityEClass = createEClass(MULTIPLICITY);
+ createEReference(multiplicityEClass, MULTIPLICITY__RANGE);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__ORDERED);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__NON_UNIQUE);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__SEQUENCE);
+
+ multiplicityRangeEClass = createEClass(MULTIPLICITY_RANGE);
+ createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__LOWER);
+ createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__UPPER);
+
+ numbeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(NUMBER_LITERAL_WITHOUT_SUFFIX);
+ createEAttribute(numbeR_LITERAL_WITHOUT_SUFFIXEClass, NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE);
+
+ integeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(INTEGER_LITERAL_WITHOUT_SUFFIX);
+
+ unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = createEClass(UNLIMITED_LITERAL_WITHOUT_SUFFIX);
+
+ typeNameEClass = createEClass(TYPE_NAME);
+ createEReference(typeNameEClass, TYPE_NAME__QUALIFIED_NAME);
+
+ redefinitionClauseEClass = createEClass(REDEFINITION_CLAUSE);
+ createEReference(redefinitionClauseEClass, REDEFINITION_CLAUSE__REDEFINED_OPERATIONS);
+
+ // Create enums
+ visibilityIndicatorEEnum = createEEnum(VISIBILITY_INDICATOR);
+ parameterDirectionEEnum = createEEnum(PARAMETER_DIRECTION);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ AlfPackage theAlfPackage = (AlfPackage)EPackage.Registry.INSTANCE.getEPackage(AlfPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ integeR_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
+ unlimiteD_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(operationDefinitionOrStubEClass, OperationDefinitionOrStub.class, "OperationDefinitionOrStub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getOperationDefinitionOrStub_Declaration(), this.getOperationDeclaration(), null, "declaration", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDefinitionOrStub_Body(), theAlfPackage.getBlock(), null, "body", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(operationDeclarationEClass, OperationDeclaration.class, "OperationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOperationDeclaration_VisibilityIndicator(), this.getVisibilityIndicator(), "visibilityIndicator", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOperationDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOperationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_FormalParameters(), this.getFormalParameters(), null, "formalParameters", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_ReturnType(), this.getTypePart(), null, "returnType", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_Redefinition(), this.getRedefinitionClause(), null, "redefinition", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParametersEClass, FormalParameters.class, "FormalParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFormalParameters_FormalParameterList(), this.getFormalParameterList(), null, "formalParameterList", null, 0, 1, FormalParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParameterListEClass, FormalParameterList.class, "FormalParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFormalParameterList_FormalParameter(), this.getFormalParameter(), null, "formalParameter", null, 0, -1, FormalParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParameterEClass, FormalParameter.class, "FormalParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFormalParameter_Direction(), this.getParameterDirection(), "direction", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFormalParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFormalParameter_Type(), this.getTypePart(), null, "type", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(typePartEClass, TypePart.class, "TypePart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTypePart_TypeName(), this.getTypeName(), null, "typeName", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getTypePart_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMultiplicity_Range(), this.getMultiplicityRange(), null, "range", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_Ordered(), ecorePackage.getEBoolean(), "ordered", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_NonUnique(), ecorePackage.getEBoolean(), "nonUnique", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_Sequence(), ecorePackage.getEBoolean(), "sequence", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(multiplicityRangeEClass, MultiplicityRange.class, "MultiplicityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMultiplicityRange_Lower(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "lower", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMultiplicityRange_Upper(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "upper", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(numbeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, "NUMBER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNUMBER_LITERAL_WITHOUT_SUFFIX_Value(), ecorePackage.getEString(), "value", null, 0, 1, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(integeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX.class, "INTEGER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(unlimiteD_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX.class, "UNLIMITED_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(typeNameEClass, TypeName.class, "TypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypeName_QualifiedName(), theAlfPackage.getQualifiedNameWithBinding(), null, "qualifiedName", null, 0, 1, TypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(redefinitionClauseEClass, RedefinitionClause.class, "RedefinitionClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRedefinitionClause_RedefinedOperations(), theAlfPackage.getQualifiedNameList(), null, "redefinedOperations", null, 0, 1, RedefinitionClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(visibilityIndicatorEEnum, VisibilityIndicator.class, "VisibilityIndicator");
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PUBLIC);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PRIVATE);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PROTECTED);
-
- initEEnum(parameterDirectionEEnum, ParameterDirection.class, "ParameterDirection");
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.IN);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.OUT);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.INOUT);
-
- // Create resource
- createResource(eNS_URI);
- }
+ initEClass(unlimiteD_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX.class, "UNLIMITED_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(typeNameEClass, TypeName.class, "TypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTypeName_QualifiedName(), theAlfPackage.getQualifiedNameWithBinding(), null, "qualifiedName", null, 0, 1, TypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(redefinitionClauseEClass, RedefinitionClause.class, "RedefinitionClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRedefinitionClause_RedefinedOperations(), theAlfPackage.getQualifiedNameList(), null, "redefinedOperations", null, 0, 1, RedefinitionClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(visibilityIndicatorEEnum, VisibilityIndicator.class, "VisibilityIndicator");
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PUBLIC);
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PRIVATE);
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PROTECTED);
+
+ initEEnum(parameterDirectionEEnum, ParameterDirection.class, "ParameterDirection");
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.IN);
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.OUT);
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.INOUT);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
} //OperationPackageImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
index 23ea4da4e57..7ee27830be0 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,167 +33,149 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
*
* @generated
*/
-public class RedefinitionClauseImpl extends MinimalEObjectImpl.Container implements RedefinitionClause
-{
- /**
- * The cached value of the '{@link #getRedefinedOperations() <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRedefinedOperations()
- * @generated
- * @ordered
- */
- protected QualifiedNameList redefinedOperations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RedefinitionClauseImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.REDEFINITION_CLAUSE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedNameList getRedefinedOperations()
- {
- return redefinedOperations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRedefinedOperations(QualifiedNameList newRedefinedOperations, NotificationChain msgs)
- {
- QualifiedNameList oldRedefinedOperations = redefinedOperations;
- redefinedOperations = newRedefinedOperations;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, oldRedefinedOperations, newRedefinedOperations);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRedefinedOperations(QualifiedNameList newRedefinedOperations)
- {
- if (newRedefinedOperations != redefinedOperations)
- {
- NotificationChain msgs = null;
- if (redefinedOperations != null)
- msgs = ((InternalEObject)redefinedOperations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- if (newRedefinedOperations != null)
- msgs = ((InternalEObject)newRedefinedOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- msgs = basicSetRedefinedOperations(newRedefinedOperations, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, newRedefinedOperations, newRedefinedOperations));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return basicSetRedefinedOperations(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return getRedefinedOperations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return redefinedOperations != null;
- }
- return super.eIsSet(featureID);
- }
+public class RedefinitionClauseImpl extends MinimalEObjectImpl.Container implements RedefinitionClause {
+ /**
+ * The cached value of the '{@link #getRedefinedOperations() <em>Redefined Operations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRedefinedOperations()
+ * @generated
+ * @ordered
+ */
+ protected QualifiedNameList redefinedOperations;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RedefinitionClauseImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.REDEFINITION_CLAUSE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QualifiedNameList getRedefinedOperations() {
+ return redefinedOperations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRedefinedOperations(QualifiedNameList newRedefinedOperations, NotificationChain msgs) {
+ QualifiedNameList oldRedefinedOperations = redefinedOperations;
+ redefinedOperations = newRedefinedOperations;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, oldRedefinedOperations, newRedefinedOperations);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRedefinedOperations(QualifiedNameList newRedefinedOperations) {
+ if (newRedefinedOperations != redefinedOperations) {
+ NotificationChain msgs = null;
+ if (redefinedOperations != null)
+ msgs = ((InternalEObject)redefinedOperations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
+ if (newRedefinedOperations != null)
+ msgs = ((InternalEObject)newRedefinedOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
+ msgs = basicSetRedefinedOperations(newRedefinedOperations, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, newRedefinedOperations, newRedefinedOperations));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return basicSetRedefinedOperations(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return getRedefinedOperations();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ setRedefinedOperations((QualifiedNameList)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ setRedefinedOperations((QualifiedNameList)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return redefinedOperations != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //RedefinitionClauseImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
index 33d3e178ea4..7ba246b9af3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,167 +33,149 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
*
* @generated
*/
-public class TypeNameImpl extends MinimalEObjectImpl.Container implements TypeName
-{
- /**
- * The cached value of the '{@link #getQualifiedName() <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getQualifiedName()
- * @generated
- * @ordered
- */
- protected QualifiedNameWithBinding qualifiedName;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TypeNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.TYPE_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedNameWithBinding getQualifiedName()
- {
- return qualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetQualifiedName(QualifiedNameWithBinding newQualifiedName, NotificationChain msgs)
- {
- QualifiedNameWithBinding oldQualifiedName = qualifiedName;
- qualifiedName = newQualifiedName;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, oldQualifiedName, newQualifiedName);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setQualifiedName(QualifiedNameWithBinding newQualifiedName)
- {
- if (newQualifiedName != qualifiedName)
- {
- NotificationChain msgs = null;
- if (qualifiedName != null)
- msgs = ((InternalEObject)qualifiedName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- if (newQualifiedName != null)
- msgs = ((InternalEObject)newQualifiedName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- msgs = basicSetQualifiedName(newQualifiedName, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, newQualifiedName, newQualifiedName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return basicSetQualifiedName(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return getQualifiedName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return qualifiedName != null;
- }
- return super.eIsSet(featureID);
- }
+public class TypeNameImpl extends MinimalEObjectImpl.Container implements TypeName {
+ /**
+ * The cached value of the '{@link #getQualifiedName() <em>Qualified Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getQualifiedName()
+ * @generated
+ * @ordered
+ */
+ protected QualifiedNameWithBinding qualifiedName;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TypeNameImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.TYPE_NAME;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QualifiedNameWithBinding getQualifiedName() {
+ return qualifiedName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetQualifiedName(QualifiedNameWithBinding newQualifiedName, NotificationChain msgs) {
+ QualifiedNameWithBinding oldQualifiedName = qualifiedName;
+ qualifiedName = newQualifiedName;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, oldQualifiedName, newQualifiedName);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setQualifiedName(QualifiedNameWithBinding newQualifiedName) {
+ if (newQualifiedName != qualifiedName) {
+ NotificationChain msgs = null;
+ if (qualifiedName != null)
+ msgs = ((InternalEObject)qualifiedName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
+ if (newQualifiedName != null)
+ msgs = ((InternalEObject)newQualifiedName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
+ msgs = basicSetQualifiedName(newQualifiedName, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, newQualifiedName, newQualifiedName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return basicSetQualifiedName(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return getQualifiedName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ setQualifiedName((QualifiedNameWithBinding)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ setQualifiedName((QualifiedNameWithBinding)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return qualifiedName != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //TypeNameImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
index 9672e5c1220..89a2e6501bc 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -34,237 +34,214 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*
* @generated
*/
-public class TypePartImpl extends MinimalEObjectImpl.Container implements TypePart
-{
- /**
- * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeName()
- * @generated
- * @ordered
- */
- protected TypeName typeName;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected Multiplicity multiplicity;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TypePartImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.TYPE_PART;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypeName getTypeName()
- {
- return typeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTypeName(TypeName newTypeName, NotificationChain msgs)
- {
- TypeName oldTypeName = typeName;
- typeName = newTypeName;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, oldTypeName, newTypeName);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeName(TypeName newTypeName)
- {
- if (newTypeName != typeName)
- {
- NotificationChain msgs = null;
- if (typeName != null)
- msgs = ((InternalEObject)typeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- if (newTypeName != null)
- msgs = ((InternalEObject)newTypeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- msgs = basicSetTypeName(newTypeName, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, newTypeName, newTypeName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Multiplicity getMultiplicity()
- {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs)
- {
- Multiplicity oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, oldMultiplicity, newMultiplicity);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(Multiplicity newMultiplicity)
- {
- if (newMultiplicity != multiplicity)
- {
- NotificationChain msgs = null;
- if (multiplicity != null)
- msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- if (newMultiplicity != null)
- msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- msgs = basicSetMultiplicity(newMultiplicity, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, newMultiplicity, newMultiplicity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return basicSetTypeName(null, msgs);
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return basicSetMultiplicity(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return getTypeName();
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return getMultiplicity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName)newValue);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName)null);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return typeName != null;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return multiplicity != null;
- }
- return super.eIsSet(featureID);
- }
+public class TypePartImpl extends MinimalEObjectImpl.Container implements TypePart {
+ /**
+ * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeName()
+ * @generated
+ * @ordered
+ */
+ protected TypeName typeName;
+
+ /**
+ * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMultiplicity()
+ * @generated
+ * @ordered
+ */
+ protected Multiplicity multiplicity;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TypePartImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.TYPE_PART;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypeName getTypeName() {
+ return typeName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTypeName(TypeName newTypeName, NotificationChain msgs) {
+ TypeName oldTypeName = typeName;
+ typeName = newTypeName;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, oldTypeName, newTypeName);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTypeName(TypeName newTypeName) {
+ if (newTypeName != typeName) {
+ NotificationChain msgs = null;
+ if (typeName != null)
+ msgs = ((InternalEObject)typeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
+ if (newTypeName != null)
+ msgs = ((InternalEObject)newTypeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
+ msgs = basicSetTypeName(newTypeName, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, newTypeName, newTypeName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Multiplicity getMultiplicity() {
+ return multiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) {
+ Multiplicity oldMultiplicity = multiplicity;
+ multiplicity = newMultiplicity;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, oldMultiplicity, newMultiplicity);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMultiplicity(Multiplicity newMultiplicity) {
+ if (newMultiplicity != multiplicity) {
+ NotificationChain msgs = null;
+ if (multiplicity != null)
+ msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
+ if (newMultiplicity != null)
+ msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
+ msgs = basicSetMultiplicity(newMultiplicity, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, newMultiplicity, newMultiplicity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return basicSetTypeName(null, msgs);
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return basicSetMultiplicity(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return getTypeName();
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return getMultiplicity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ setTypeName((TypeName)newValue);
+ return;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ setMultiplicity((Multiplicity)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ setTypeName((TypeName)null);
+ return;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ setMultiplicity((Multiplicity)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return typeName != null;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return multiplicity != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //TypePartImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
index 4354f842f31..dfbe2a8cb4c 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -20,27 +20,24 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WI
*
* @generated
*/
-public class UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements UNLIMITED_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
+public class UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements UNLIMITED_LITERAL_WITHOUT_SUFFIX {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return OperationPackage.Literals.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
+ }
} //UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
index 6b7f06c1748..dafb3c7a8c0 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -23,354 +23,318 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public class OperationAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OperationPackage modelPackage;
+public class OperationAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static OperationPackage modelPackage;
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = OperationPackage.eINSTANCE;
- }
- }
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = OperationPackage.eINSTANCE;
+ }
+ }
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationSwitch<Adapter> modelSwitch =
- new OperationSwitch<Adapter>()
- {
- @Override
- public Adapter caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
- {
- return createOperationDefinitionOrStubAdapter();
- }
- @Override
- public Adapter caseOperationDeclaration(OperationDeclaration object)
- {
- return createOperationDeclarationAdapter();
- }
- @Override
- public Adapter caseFormalParameters(FormalParameters object)
- {
- return createFormalParametersAdapter();
- }
- @Override
- public Adapter caseFormalParameterList(FormalParameterList object)
- {
- return createFormalParameterListAdapter();
- }
- @Override
- public Adapter caseFormalParameter(FormalParameter object)
- {
- return createFormalParameterAdapter();
- }
- @Override
- public Adapter caseTypePart(TypePart object)
- {
- return createTypePartAdapter();
- }
- @Override
- public Adapter caseMultiplicity(Multiplicity object)
- {
- return createMultiplicityAdapter();
- }
- @Override
- public Adapter caseMultiplicityRange(MultiplicityRange object)
- {
- return createMultiplicityRangeAdapter();
- }
- @Override
- public Adapter caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
- {
- return createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
- {
- return createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
- {
- return createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseTypeName(TypeName object)
- {
- return createTypeNameAdapter();
- }
- @Override
- public Adapter caseRedefinitionClause(RedefinitionClause object)
- {
- return createRedefinitionClauseAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationSwitch<Adapter> modelSwitch =
+ new OperationSwitch<Adapter>() {
+ @Override
+ public Adapter caseOperationDefinitionOrStub(OperationDefinitionOrStub object) {
+ return createOperationDefinitionOrStubAdapter();
+ }
+ @Override
+ public Adapter caseOperationDeclaration(OperationDeclaration object) {
+ return createOperationDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameters(FormalParameters object) {
+ return createFormalParametersAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameterList(FormalParameterList object) {
+ return createFormalParameterListAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameter(FormalParameter object) {
+ return createFormalParameterAdapter();
+ }
+ @Override
+ public Adapter caseTypePart(TypePart object) {
+ return createTypePartAdapter();
+ }
+ @Override
+ public Adapter caseMultiplicity(Multiplicity object) {
+ return createMultiplicityAdapter();
+ }
+ @Override
+ public Adapter caseMultiplicityRange(MultiplicityRange object) {
+ return createMultiplicityRangeAdapter();
+ }
+ @Override
+ public Adapter caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object) {
+ return createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object) {
+ return createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object) {
+ return createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseTypeName(TypeName object) {
+ return createTypeNameAdapter();
+ }
+ @Override
+ public Adapter caseRedefinitionClause(RedefinitionClause object) {
+ return createRedefinitionClauseAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- public Adapter createOperationDefinitionOrStubAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
+ * @generated
+ */
+ public Adapter createOperationDefinitionOrStubAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- public Adapter createOperationDeclarationAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
+ * @generated
+ */
+ public Adapter createOperationDeclarationAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- public Adapter createFormalParametersAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
+ * @generated
+ */
+ public Adapter createFormalParametersAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- public Adapter createFormalParameterListAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
+ * @generated
+ */
+ public Adapter createFormalParameterListAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- public Adapter createFormalParameterAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
+ * @generated
+ */
+ public Adapter createFormalParameterAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
- * @generated
- */
- public Adapter createTypePartAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
+ * @generated
+ */
+ public Adapter createTypePartAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- public Adapter createMultiplicityAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
+ * @generated
+ */
+ public Adapter createMultiplicityAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- public Adapter createMultiplicityRangeAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
+ * @generated
+ */
+ public Adapter createMultiplicityRangeAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
- * @generated
- */
- public Adapter createTypeNameAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
+ * @generated
+ */
+ public Adapter createTypeNameAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- public Adapter createRedefinitionClauseAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
+ * @generated
+ */
+ public Adapter createRedefinitionClauseAdapter() {
+ return null;
+ }
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
} //OperationAdapterFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
index bb52169caf3..66e7e94e479 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
-
+ * $Id$
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -26,376 +26,343 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public class OperationSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OperationPackage modelPackage;
+public class OperationSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static OperationPackage modelPackage;
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = OperationPackage.eINSTANCE;
- }
- }
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationSwitch() {
+ if (modelPackage == null) {
+ modelPackage = OperationPackage.eINSTANCE;
+ }
+ }
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB:
- {
- OperationDefinitionOrStub operationDefinitionOrStub = (OperationDefinitionOrStub)theEObject;
- T result = caseOperationDefinitionOrStub(operationDefinitionOrStub);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.OPERATION_DECLARATION:
- {
- OperationDeclaration operationDeclaration = (OperationDeclaration)theEObject;
- T result = caseOperationDeclaration(operationDeclaration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETERS:
- {
- FormalParameters formalParameters = (FormalParameters)theEObject;
- T result = caseFormalParameters(formalParameters);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER_LIST:
- {
- FormalParameterList formalParameterList = (FormalParameterList)theEObject;
- T result = caseFormalParameterList(formalParameterList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER:
- {
- FormalParameter formalParameter = (FormalParameter)theEObject;
- T result = caseFormalParameter(formalParameter);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.TYPE_PART:
- {
- TypePart typePart = (TypePart)theEObject;
- T result = caseTypePart(typePart);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.MULTIPLICITY:
- {
- Multiplicity multiplicity = (Multiplicity)theEObject;
- T result = caseMultiplicity(multiplicity);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.MULTIPLICITY_RANGE:
- {
- MultiplicityRange multiplicityRange = (MultiplicityRange)theEObject;
- T result = caseMultiplicityRange(multiplicityRange);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX:
- {
- NUMBER_LITERAL_WITHOUT_SUFFIX numbeR_LITERAL_WITHOUT_SUFFIX = (NUMBER_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(numbeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX:
- {
- INTEGER_LITERAL_WITHOUT_SUFFIX integeR_LITERAL_WITHOUT_SUFFIX = (INTEGER_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseINTEGER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX:
- {
- UNLIMITED_LITERAL_WITHOUT_SUFFIX unlimiteD_LITERAL_WITHOUT_SUFFIX = (UNLIMITED_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.TYPE_NAME:
- {
- TypeName typeName = (TypeName)theEObject;
- T result = caseTypeName(typeName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.REDEFINITION_CLAUSE:
- {
- RedefinitionClause redefinitionClause = (RedefinitionClause)theEObject;
- T result = caseRedefinitionClause(redefinitionClause);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB: {
+ OperationDefinitionOrStub operationDefinitionOrStub = (OperationDefinitionOrStub)theEObject;
+ T result = caseOperationDefinitionOrStub(operationDefinitionOrStub);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.OPERATION_DECLARATION: {
+ OperationDeclaration operationDeclaration = (OperationDeclaration)theEObject;
+ T result = caseOperationDeclaration(operationDeclaration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETERS: {
+ FormalParameters formalParameters = (FormalParameters)theEObject;
+ T result = caseFormalParameters(formalParameters);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETER_LIST: {
+ FormalParameterList formalParameterList = (FormalParameterList)theEObject;
+ T result = caseFormalParameterList(formalParameterList);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETER: {
+ FormalParameter formalParameter = (FormalParameter)theEObject;
+ T result = caseFormalParameter(formalParameter);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.TYPE_PART: {
+ TypePart typePart = (TypePart)theEObject;
+ T result = caseTypePart(typePart);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.MULTIPLICITY: {
+ Multiplicity multiplicity = (Multiplicity)theEObject;
+ T result = caseMultiplicity(multiplicity);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.MULTIPLICITY_RANGE: {
+ MultiplicityRange multiplicityRange = (MultiplicityRange)theEObject;
+ T result = caseMultiplicityRange(multiplicityRange);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: {
+ NUMBER_LITERAL_WITHOUT_SUFFIX numbeR_LITERAL_WITHOUT_SUFFIX = (NUMBER_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(numbeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: {
+ INTEGER_LITERAL_WITHOUT_SUFFIX integeR_LITERAL_WITHOUT_SUFFIX = (INTEGER_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseINTEGER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: {
+ UNLIMITED_LITERAL_WITHOUT_SUFFIX unlimiteD_LITERAL_WITHOUT_SUFFIX = (UNLIMITED_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.TYPE_NAME: {
+ TypeName typeName = (TypeName)theEObject;
+ T result = caseTypeName(typeName);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.REDEFINITION_CLAUSE: {
+ RedefinitionClause redefinitionClause = (RedefinitionClause)theEObject;
+ T result = caseRedefinitionClause(redefinitionClause);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperationDefinitionOrStub(OperationDefinitionOrStub object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Declaration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDeclaration(OperationDeclaration object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Declaration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperationDeclaration(OperationDeclaration object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameters(FormalParameters object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameters(FormalParameters object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameterList(FormalParameterList object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameterList(FormalParameterList object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameter(FormalParameter object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameter(FormalParameter object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type Part</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Type Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypePart(TypePart object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Type Part</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Type Part</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTypePart(TypePart object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicity(Multiplicity object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMultiplicity(Multiplicity object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicityRange(MultiplicityRange object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMultiplicityRange(MultiplicityRange object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type Name</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Type Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypeName(TypeName object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Type Name</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Type Name</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTypeName(TypeName object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRedefinitionClause(RedefinitionClause object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRedefinitionClause(RedefinitionClause object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
} //OperationSwitch
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java
index 02eff22f545..879bea36c9b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java
@@ -104,9 +104,9 @@ protected class ThisRootNode extends RootToken {
case 70: return new ClassExtentExpression_Group(this, this, 70, inst);
case 71: return new Block_Group(this, this, 71, inst);
case 72: return new StatementSequence_StatementsAssignment(this, this, 72, inst);
- case 73: return new InlineStatement_Group(this, this, 73, inst);
- case 74: return new AnnotatedStatement_Group(this, this, 74, inst);
- case 75: return new DocumentedStatement_Group(this, this, 75, inst);
+ case 73: return new DocumentedStatement_Group(this, this, 73, inst);
+ case 74: return new InlineStatement_Group(this, this, 74, inst);
+ case 75: return new AnnotatedStatement_Group(this, this, 75, inst);
case 76: return new Statement_Alternatives(this, this, 76, inst);
case 77: return new Annotation_Group(this, this, 77, inst);
case 78: return new BlockStatement_BlockAssignment(this, this, 78, inst);
@@ -13977,14 +13977,138 @@ protected class StatementSequence_StatementsAssignment extends AssignmentToken
/************ end Rule StatementSequence ****************/
+/************ begin Rule DocumentedStatement ****************
+ *
+ * DocumentedStatement:
+ * comment=(ML_COMMENT | SL_COMMENT)? statement=Statement;
+ *
+ **/
+
+// comment=(ML_COMMENT | SL_COMMENT)? statement=Statement
+protected class DocumentedStatement_Group extends GroupToken {
+
+ public DocumentedStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Group getGrammarElement() {
+ return grammarAccess.getDocumentedStatementAccess().getGroup();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch(index) {
+ case 0: return new DocumentedStatement_StatementAssignment_1(lastRuleCallOrigin, this, 0, inst);
+ default: return null;
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if(getEObject().eClass() != grammarAccess.getDocumentedStatementRule().getType().getClassifier())
+ return null;
+ return eObjectConsumer;
+ }
+
+}
+
+// comment=(ML_COMMENT | SL_COMMENT)?
+protected class DocumentedStatement_CommentAssignment_0 extends AssignmentToken {
+
+ public DocumentedStatement_CommentAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getDocumentedStatementAccess().getCommentAssignment_0();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch(index) {
+ default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if((value = eObjectConsumer.getConsumable("comment",false)) == null) return null;
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("comment");
+ if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0(), value, null)) {
+ type = AssignmentType.TERMINAL_RULE_CALL;
+ element = grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0();
+ return obj;
+ }
+ if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1(), value, null)) {
+ type = AssignmentType.TERMINAL_RULE_CALL;
+ element = grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1();
+ return obj;
+ }
+ return null;
+ }
+
+}
+
+// statement=Statement
+protected class DocumentedStatement_StatementAssignment_1 extends AssignmentToken {
+
+ public DocumentedStatement_StatementAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getDocumentedStatementAccess().getStatementAssignment_1();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch(index) {
+ case 0: return new Statement_Alternatives(this, this, 0, inst);
+ default: return null;
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if((value = eObjectConsumer.getConsumable("statement",true)) == null) return null;
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statement");
+ if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
+ IEObjectConsumer param = createEObjectConsumer((EObject)value);
+ if(param.isInstanceOf(grammarAccess.getStatementRule().getType().getClassifier())) {
+ type = AssignmentType.PARSER_RULE_CALL;
+ element = grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0();
+ consumed = obj;
+ return param;
+ }
+ }
+ return null;
+ }
+
+ @Override
+ public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
+ if(value == inst.getEObject() && !inst.isConsumed()) return null;
+ switch(index) {
+ case 0: return new DocumentedStatement_CommentAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
+ default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 1, consumed);
+ }
+ }
+}
+
+
+/************ end Rule DocumentedStatement ****************/
+
+
/************ begin Rule InlineStatement ****************
*
* InlineStatement:
- * "/ *@" "inline" langageName=ID body=STRING "* /";
+ * "/ *@" "inline" "(" langageName=ID ")" body=STRING "* /";
*
**/
-// "/ *@" "inline" langageName=ID body=STRING "* /"
+// "/ *@" "inline" "(" langageName=ID ")" body=STRING "* /"
protected class InlineStatement_Group extends GroupToken {
public InlineStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -13999,7 +14123,7 @@ protected class InlineStatement_Group extends GroupToken {
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new InlineStatement_AsteriskSolidusKeyword_4(lastRuleCallOrigin, this, 0, inst);
+ case 0: return new InlineStatement_AsteriskSolidusKeyword_6(lastRuleCallOrigin, this, 0, inst);
default: return null;
}
}
@@ -14056,22 +14180,44 @@ protected class InlineStatement_InlineKeyword_1 extends KeywordToken {
}
+// "("
+protected class InlineStatement_LeftParenthesisKeyword_2 extends KeywordToken {
+
+ public InlineStatement_LeftParenthesisKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Keyword getGrammarElement() {
+ return grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch(index) {
+ case 0: return new InlineStatement_InlineKeyword_1(lastRuleCallOrigin, this, 0, inst);
+ default: return null;
+ }
+ }
+
+}
+
// langageName=ID
-protected class InlineStatement_LangageNameAssignment_2 extends AssignmentToken {
+protected class InlineStatement_LangageNameAssignment_3 extends AssignmentToken {
- public InlineStatement_LangageNameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ public InlineStatement_LangageNameAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
@Override
public Assignment getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getLangageNameAssignment_2();
+ return grammarAccess.getInlineStatementAccess().getLangageNameAssignment_3();
}
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new InlineStatement_InlineKeyword_1(lastRuleCallOrigin, this, 0, inst);
+ case 0: return new InlineStatement_LeftParenthesisKeyword_2(lastRuleCallOrigin, this, 0, inst);
default: return null;
}
}
@@ -14080,9 +14226,9 @@ protected class InlineStatement_LangageNameAssignment_2 extends AssignmentToken
public IEObjectConsumer tryConsume() {
if((value = eObjectConsumer.getConsumable("langageName",true)) == null) return null;
IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("langageName");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_2_0(), value, null)) {
+ if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0(), value, null)) {
type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_2_0();
+ element = grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0();
return obj;
}
return null;
@@ -14090,22 +14236,44 @@ protected class InlineStatement_LangageNameAssignment_2 extends AssignmentToken
}
+// ")"
+protected class InlineStatement_RightParenthesisKeyword_4 extends KeywordToken {
+
+ public InlineStatement_RightParenthesisKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Keyword getGrammarElement() {
+ return grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch(index) {
+ case 0: return new InlineStatement_LangageNameAssignment_3(lastRuleCallOrigin, this, 0, inst);
+ default: return null;
+ }
+ }
+
+}
+
// body=STRING
-protected class InlineStatement_BodyAssignment_3 extends AssignmentToken {
+protected class InlineStatement_BodyAssignment_5 extends AssignmentToken {
- public InlineStatement_BodyAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ public InlineStatement_BodyAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
@Override
public Assignment getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getBodyAssignment_3();
+ return grammarAccess.getInlineStatementAccess().getBodyAssignment_5();
}
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new InlineStatement_LangageNameAssignment_2(lastRuleCallOrigin, this, 0, inst);
+ case 0: return new InlineStatement_RightParenthesisKeyword_4(lastRuleCallOrigin, this, 0, inst);
default: return null;
}
}
@@ -14114,9 +14282,9 @@ protected class InlineStatement_BodyAssignment_3 extends AssignmentToken {
public IEObjectConsumer tryConsume() {
if((value = eObjectConsumer.getConsumable("body",true)) == null) return null;
IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_3_0(), value, null)) {
+ if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0(), value, null)) {
type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_3_0();
+ element = grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0();
return obj;
}
return null;
@@ -14125,21 +14293,21 @@ protected class InlineStatement_BodyAssignment_3 extends AssignmentToken {
}
// "* /"
-protected class InlineStatement_AsteriskSolidusKeyword_4 extends KeywordToken {
+protected class InlineStatement_AsteriskSolidusKeyword_6 extends KeywordToken {
- public InlineStatement_AsteriskSolidusKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ public InlineStatement_AsteriskSolidusKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
@Override
public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_4();
+ return grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6();
}
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new InlineStatement_BodyAssignment_3(lastRuleCallOrigin, this, 0, inst);
+ case 0: return new InlineStatement_BodyAssignment_5(lastRuleCallOrigin, this, 0, inst);
default: return null;
}
}
@@ -14153,11 +14321,13 @@ protected class InlineStatement_AsteriskSolidusKeyword_4 extends KeywordToken {
/************ begin Rule AnnotatedStatement ****************
*
* AnnotatedStatement:
- * "//@" annotation=Annotation block=Block;
+ * "//@" annotation= //block = Block
+ * Annotation statement=Statement;
*
**/
-// "//@" annotation=Annotation block=Block
+// "//@" annotation= //block = Block
+// Annotation statement=Statement
protected class AnnotatedStatement_Group extends GroupToken {
public AnnotatedStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -14172,7 +14342,7 @@ protected class AnnotatedStatement_Group extends GroupToken {
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new AnnotatedStatement_BlockAssignment_2(lastRuleCallOrigin, this, 0, inst);
+ case 0: return new AnnotatedStatement_StatementAssignment_2(lastRuleCallOrigin, this, 0, inst);
default: return null;
}
}
@@ -14207,7 +14377,8 @@ protected class AnnotatedStatement_SolidusSolidusCommercialAtKeyword_0 extends K
}
-// annotation=Annotation
+// annotation= //block = Block
+// Annotation
protected class AnnotatedStatement_AnnotationAssignment_1 extends AssignmentToken {
public AnnotatedStatement_AnnotationAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -14253,140 +14424,16 @@ protected class AnnotatedStatement_AnnotationAssignment_1 extends AssignmentToke
}
}
-// block=Block
-protected class AnnotatedStatement_BlockAssignment_2 extends AssignmentToken {
-
- public AnnotatedStatement_BlockAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotatedStatementAccess().getBlockAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new Block_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("block",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAnnotatedStatementAccess().getBlockBlockParserRuleCall_2_0();
- consumed = obj;
- return param;
- }
- }
- return null;
- }
-
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- case 0: return new AnnotatedStatement_AnnotationAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-
-
-/************ end Rule AnnotatedStatement ****************/
-
-
-/************ begin Rule DocumentedStatement ****************
- *
- * DocumentedStatement:
- * comment=(ML_COMMENT | SL_COMMENT)? statement=Statement;
- *
- **/
-
-// comment=(ML_COMMENT | SL_COMMENT)? statement=Statement
-protected class DocumentedStatement_Group extends GroupToken {
-
- public DocumentedStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new DocumentedStatement_StatementAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getDocumentedStatementRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
-
-}
-
-// comment=(ML_COMMENT | SL_COMMENT)?
-protected class DocumentedStatement_CommentAssignment_0 extends AssignmentToken {
-
- public DocumentedStatement_CommentAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getCommentAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("comment",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("comment");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0();
- return obj;
- }
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1();
- return obj;
- }
- return null;
- }
-
-}
-
// statement=Statement
-protected class DocumentedStatement_StatementAssignment_1 extends AssignmentToken {
+protected class AnnotatedStatement_StatementAssignment_2 extends AssignmentToken {
- public DocumentedStatement_StatementAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ public AnnotatedStatement_StatementAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
@Override
public Assignment getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getStatementAssignment_1();
+ return grammarAccess.getAnnotatedStatementAccess().getStatementAssignment_2();
}
@Override
@@ -14405,7 +14452,7 @@ protected class DocumentedStatement_StatementAssignment_1 extends AssignmentToke
IEObjectConsumer param = createEObjectConsumer((EObject)value);
if(param.isInstanceOf(grammarAccess.getStatementRule().getType().getClassifier())) {
type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0();
+ element = grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_2_0();
consumed = obj;
return param;
}
@@ -14417,14 +14464,14 @@ protected class DocumentedStatement_StatementAssignment_1 extends AssignmentToke
public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
if(value == inst.getEObject() && !inst.isConsumed()) return null;
switch(index) {
- case 0: return new DocumentedStatement_CommentAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index - 1, consumed);
+ case 0: return new AnnotatedStatement_AnnotationAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
+ default: return null;
}
}
}
-/************ end Rule DocumentedStatement ****************/
+/************ end Rule AnnotatedStatement ****************/
/************ begin Rule Statement ****************
@@ -15559,11 +15606,13 @@ protected class EmptyStatement_SemicolonKeyword_1 extends KeywordToken {
/************ begin Rule LocalNameDeclarationStatement ****************
*
* LocalNameDeclarationStatement:
- * "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? "=" init=Expression ";";
+ * "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? //'=' init = Expression ';'
+ * "=" init=SequenceElement ";";
*
**/
-// "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? "=" init=Expression ";"
+// "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? //'=' init = Expression ';'
+// "=" init=SequenceElement ";"
protected class LocalNameDeclarationStatement_Group extends GroupToken {
public LocalNameDeclarationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -15794,6 +15843,7 @@ protected class LocalNameDeclarationStatement_RightSquareBracketKeyword_4_1 exte
}
+// //'=' init = Expression ';'
// "="
protected class LocalNameDeclarationStatement_EqualsSignKeyword_5 extends KeywordToken {
@@ -15817,7 +15867,7 @@ protected class LocalNameDeclarationStatement_EqualsSignKeyword_5 extends Keywor
}
-// init=Expression
+// init=SequenceElement
protected class LocalNameDeclarationStatement_InitAssignment_6 extends AssignmentToken {
public LocalNameDeclarationStatement_InitAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -15832,7 +15882,7 @@ protected class LocalNameDeclarationStatement_InitAssignment_6 extends Assignmen
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
+ case 0: return new SequenceElement_Alternatives(this, this, 0, inst);
default: return null;
}
}
@@ -15843,9 +15893,9 @@ protected class LocalNameDeclarationStatement_InitAssignment_6 extends Assignmen
IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("init");
if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
+ if(param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLocalNameDeclarationStatementAccess().getInitExpressionParserRuleCall_6_0();
+ element = grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_0();
consumed = obj;
return param;
}
@@ -21577,11 +21627,11 @@ protected class VariableDeclarationCompletion_InitValueAssignment_2 extends Assi
* //op=('=' | '+=' | '-=' | '*=' | '%=' | '/=' | '&=' |
* // '|=' | '^=' | '<<=' | '>>=' | '>>>=') rightHandSide = Expression
* AssignmentCompletion:
- * op=AssignmentOperator rightHandSide=Expression;
+ * op=AssignmentOperator rightHandSide=SequenceElement;
*
**/
-// op=AssignmentOperator rightHandSide=Expression
+// op=AssignmentOperator rightHandSide=SequenceElement
protected class AssignmentCompletion_Group extends GroupToken {
public AssignmentCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -21643,7 +21693,7 @@ protected class AssignmentCompletion_OpAssignment_0 extends AssignmentToken {
}
-// rightHandSide=Expression
+// rightHandSide=SequenceElement
protected class AssignmentCompletion_RightHandSideAssignment_1 extends AssignmentToken {
public AssignmentCompletion_RightHandSideAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
@@ -21658,7 +21708,7 @@ protected class AssignmentCompletion_RightHandSideAssignment_1 extends Assignmen
@Override
public AbstractToken createFollower(int index, IEObjectConsumer inst) {
switch(index) {
- case 0: return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
+ case 0: return new SequenceElement_Alternatives(this, this, 0, inst);
default: return null;
}
}
@@ -21669,9 +21719,9 @@ protected class AssignmentCompletion_RightHandSideAssignment_1 extends Assignmen
IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("rightHandSide");
if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) {
+ if(param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAssignmentCompletionAccess().getRightHandSideExpressionParserRuleCall_1_0();
+ element = grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_1_0();
consumed = obj;
return param;
}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g
index 5d54c86c1a3..546b15b60f4 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g
@@ -5173,6 +5173,81 @@ ruleStatementSequence returns [EObject current=null]
+// Entry rule entryRuleDocumentedStatement
+entryRuleDocumentedStatement returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getDocumentedStatementRule()); }
+ iv_ruleDocumentedStatement=ruleDocumentedStatement
+ { $current=$iv_ruleDocumentedStatement.current; }
+ EOF
+;
+
+// Rule DocumentedStatement
+ruleDocumentedStatement returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+((
+(
+(
+ lv_comment_0_1=RULE_ML_COMMENT
+ {
+ newLeafNode(lv_comment_0_1, grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDocumentedStatementRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "comment",
+ lv_comment_0_1,
+ "ML_COMMENT");
+ }
+
+ | lv_comment_0_2=RULE_SL_COMMENT
+ {
+ newLeafNode(lv_comment_0_2, grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDocumentedStatementRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "comment",
+ lv_comment_0_2,
+ "SL_COMMENT");
+ }
+
+)
+
+)
+)?(
+(
+ {
+ newCompositeNode(grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0());
+ }
+ lv_statement_1_0=ruleStatement {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getDocumentedStatementRule());
+ }
+ set(
+ $current,
+ "statement",
+ lv_statement_1_0,
+ "Statement");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+))
+;
+
+
+
+
+
// Entry rule entryRuleInlineStatement
entryRuleInlineStatement returns [EObject current=null]
:
@@ -5195,11 +5270,15 @@ ruleInlineStatement returns [EObject current=null]
{
newLeafNode(otherlv_1, grammarAccess.getInlineStatementAccess().getInlineKeyword_1());
}
+ otherlv_2='('
+ {
+ newLeafNode(otherlv_2, grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2());
+ }
(
(
- lv_langageName_2_0=RULE_ID
+ lv_langageName_3_0=RULE_ID
{
- newLeafNode(lv_langageName_2_0, grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_2_0());
+ newLeafNode(lv_langageName_3_0, grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0());
}
{
if ($current==null) {
@@ -5208,16 +5287,20 @@ ruleInlineStatement returns [EObject current=null]
setWithLastConsumed(
$current,
"langageName",
- lv_langageName_2_0,
+ lv_langageName_3_0,
"ID");
}
)
-)(
+) otherlv_4=')'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4());
+ }
(
- lv_body_3_0=RULE_STRING
+(
+ lv_body_5_0=RULE_STRING
{
- newLeafNode(lv_body_3_0, grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_3_0());
+ newLeafNode(lv_body_5_0, grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0());
}
{
if ($current==null) {
@@ -5226,14 +5309,14 @@ ruleInlineStatement returns [EObject current=null]
setWithLastConsumed(
$current,
"body",
- lv_body_3_0,
+ lv_body_5_0,
"STRING");
}
)
-) otherlv_4='*/'
+) otherlv_6='*/'
{
- newLeafNode(otherlv_4, grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_4());
+ newLeafNode(otherlv_6, grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6());
}
)
;
@@ -5281,91 +5364,16 @@ ruleAnnotatedStatement returns [EObject current=null]
)(
(
{
- newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getBlockBlockParserRuleCall_2_0());
+ newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_2_0());
}
- lv_block_2_0=ruleBlock {
+ lv_statement_2_0=ruleStatement {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule());
}
set(
$current,
- "block",
- lv_block_2_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleDocumentedStatement
-entryRuleDocumentedStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDocumentedStatementRule()); }
- iv_ruleDocumentedStatement=ruleDocumentedStatement
- { $current=$iv_ruleDocumentedStatement.current; }
- EOF
-;
-
-// Rule DocumentedStatement
-ruleDocumentedStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
-(
- lv_comment_0_1=RULE_ML_COMMENT
- {
- newLeafNode(lv_comment_0_1, grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- $current,
- "comment",
- lv_comment_0_1,
- "ML_COMMENT");
- }
-
- | lv_comment_0_2=RULE_SL_COMMENT
- {
- newLeafNode(lv_comment_0_2, grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- $current,
- "comment",
- lv_comment_0_2,
- "SL_COMMENT");
- }
-
-)
-
-)
-)?(
-(
- {
- newCompositeNode(grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0());
- }
- lv_statement_1_0=ruleStatement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDocumentedStatementRule());
- }
- set(
- $current,
"statement",
- lv_statement_1_0,
+ lv_statement_2_0,
"Statement");
afterParserOrEnumRuleCall();
}
@@ -5819,9 +5827,9 @@ ruleLocalNameDeclarationStatement returns [EObject current=null]
(
(
{
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getInitExpressionParserRuleCall_6_0());
+ newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_0());
}
- lv_init_7_0=ruleExpression {
+ lv_init_7_0=ruleSequenceElement {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule());
}
@@ -5829,7 +5837,7 @@ ruleLocalNameDeclarationStatement returns [EObject current=null]
$current,
"init",
lv_init_7_0,
- "Expression");
+ "SequenceElement");
afterParserOrEnumRuleCall();
}
@@ -7924,9 +7932,9 @@ ruleAssignmentCompletion returns [EObject current=null]
)(
(
{
- newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getRightHandSideExpressionParserRuleCall_1_0());
+ newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_1_0());
}
- lv_rightHandSide_1_0=ruleExpression {
+ lv_rightHandSide_1_0=ruleSequenceElement {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule());
}
@@ -7934,7 +7942,7 @@ ruleAssignmentCompletion returns [EObject current=null]
$current,
"rightHandSide",
lv_rightHandSide_1_0,
- "Expression");
+ "SequenceElement");
afterParserOrEnumRuleCall();
}
@@ -8219,7 +8227,7 @@ RULE_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( opti
RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
-RULE_ML_COMMENT : '/*' ~('@')* '*/';
+RULE_ML_COMMENT : '/*' ~('@') ( options {greedy=false;} : . )*'*/';
RULE_SL_COMMENT : '//' ~(('\n'|'\r'|'@'))* ('\r'? '\n')?;
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java
index 62f1a968103..046ffbe2a7a 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java
@@ -2391,10 +2391,10 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_INTEGERVALUE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:19: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:19: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
int alt13=4;
int LA13_0 = input.LA(1);
@@ -2440,9 +2440,9 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt13) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
int alt3=2;
int LA3_0 = input.LA(1);
@@ -2460,17 +2460,17 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt3) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:23: '0'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:23: '0'
{
match('0');
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:27: '1' .. '9' ( ( '_' )? '0' .. '9' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:27: '1' .. '9' ( ( '_' )? '0' .. '9' )*
{
matchRange('1','9');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:36: ( ( '_' )? '0' .. '9' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:36: ( ( '_' )? '0' .. '9' )*
loop2:
do {
int alt2=2;
@@ -2483,9 +2483,9 @@ public class InternalOperationLexer extends Lexer {
switch (alt2) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:37: ( '_' )? '0' .. '9'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: ( '_' )? '0' .. '9'
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:37: ( '_' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: ( '_' )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -2494,7 +2494,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:37: '_'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: '_'
{
match('_');
@@ -2523,9 +2523,9 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:54: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:54: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:54: ( '0b' | '0B' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:54: ( '0b' | '0B' )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -2553,7 +2553,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt4) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:55: '0b'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:55: '0b'
{
match("0b");
@@ -2561,7 +2561,7 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:60: '0B'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:60: '0B'
{
match("0B");
@@ -2572,7 +2572,7 @@ public class InternalOperationLexer extends Lexer {
}
matchRange('0','1');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:75: ( ( '_' )? '0' .. '1' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:75: ( ( '_' )? '0' .. '1' )*
loop6:
do {
int alt6=2;
@@ -2585,9 +2585,9 @@ public class InternalOperationLexer extends Lexer {
switch (alt6) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:76: ( '_' )? '0' .. '1'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: ( '_' )? '0' .. '1'
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:76: ( '_' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: ( '_' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -2596,7 +2596,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt5) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:76: '_'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: '_'
{
match('_');
@@ -2619,9 +2619,9 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 3 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:92: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:92: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:92: ( '0x' | '0X' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:92: ( '0x' | '0X' )
int alt7=2;
int LA7_0 = input.LA(1);
@@ -2649,7 +2649,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt7) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:93: '0x'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:93: '0x'
{
match("0x");
@@ -2657,7 +2657,7 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:98: '0X'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:98: '0X'
{
match("0X");
@@ -2676,7 +2676,7 @@ public class InternalOperationLexer extends Lexer {
recover(mse);
throw mse;}
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:133: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:133: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
loop9:
do {
int alt9=2;
@@ -2689,9 +2689,9 @@ public class InternalOperationLexer extends Lexer {
switch (alt9) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:134: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:134: ( '_' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: ( '_' )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -2700,7 +2700,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:134: '_'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: '_'
{
match('_');
@@ -2731,10 +2731,10 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 4 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:170: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:170: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
{
match('0');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:174: ( '_' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:174: ( '_' )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -2743,7 +2743,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt10) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:174: '_'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:174: '_'
{
match('_');
@@ -2753,7 +2753,7 @@ public class InternalOperationLexer extends Lexer {
}
matchRange('0','7');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:188: ( ( '_' )? '0' .. '7' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:188: ( ( '_' )? '0' .. '7' )*
loop12:
do {
int alt12=2;
@@ -2766,9 +2766,9 @@ public class InternalOperationLexer extends Lexer {
switch (alt12) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:189: ( '_' )? '0' .. '7'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: ( '_' )? '0' .. '7'
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:189: ( '_' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: ( '_' )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -2777,7 +2777,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt11) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8216:189: '_'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: '_'
{
match('_');
@@ -2818,10 +2818,10 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -2839,7 +2839,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt16) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -2850,7 +2850,7 @@ public class InternalOperationLexer extends Lexer {
recover(mse);
throw mse;}
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop14:
do {
int alt14=2;
@@ -2887,10 +2887,10 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:70: '\\'' ( options {greedy=false; } : . )* '\\''
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:70: '\\'' ( options {greedy=false; } : . )* '\\''
{
match('\'');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:75: ( options {greedy=false; } : . )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:75: ( options {greedy=false; } : . )*
loop15:
do {
int alt15=2;
@@ -2906,7 +2906,7 @@ public class InternalOperationLexer extends Lexer {
switch (alt15) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8218:103: .
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:103: .
{
matchAny();
@@ -2941,11 +2941,11 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8220:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8220:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8220:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
loop17:
do {
int alt17=3;
@@ -2961,7 +2961,7 @@ public class InternalOperationLexer extends Lexer {
switch (alt17) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8220:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -2977,7 +2977,7 @@ public class InternalOperationLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8220:61: ~ ( ( '\\\\' | '\"' ) )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:61: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -3014,12 +3014,21 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8222:17: ( '/*' (~ ( '@' ) )* '*/' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8222:19: '/*' (~ ( '@' ) )* '*/'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8222:24: (~ ( '@' ) )*
+ if ( (input.LA(1)>='\u0000' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null,input);
+ recover(mse);
+ throw mse;}
+
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:31: ( options {greedy=false; } : . )*
loop18:
do {
int alt18=2;
@@ -3029,38 +3038,24 @@ public class InternalOperationLexer extends Lexer {
int LA18_1 = input.LA(2);
if ( (LA18_1=='/') ) {
- int LA18_3 = input.LA(3);
-
- if ( ((LA18_3>='\u0000' && LA18_3<='?')||(LA18_3>='A' && LA18_3<='\uFFFF')) ) {
- alt18=1;
- }
-
-
+ alt18=2;
}
- else if ( ((LA18_1>='\u0000' && LA18_1<='.')||(LA18_1>='0' && LA18_1<='?')||(LA18_1>='A' && LA18_1<='\uFFFF')) ) {
+ else if ( ((LA18_1>='\u0000' && LA18_1<='.')||(LA18_1>='0' && LA18_1<='\uFFFF')) ) {
alt18=1;
}
}
- else if ( ((LA18_0>='\u0000' && LA18_0<=')')||(LA18_0>='+' && LA18_0<='?')||(LA18_0>='A' && LA18_0<='\uFFFF')) ) {
+ else if ( ((LA18_0>='\u0000' && LA18_0<=')')||(LA18_0>='+' && LA18_0<='\uFFFF')) ) {
alt18=1;
}
switch (alt18) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8222:24: ~ ( '@' )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:59: .
{
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
+ matchAny();
}
break;
@@ -3088,12 +3083,12 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
loop19:
do {
int alt19=2;
@@ -3106,7 +3101,7 @@ public class InternalOperationLexer extends Lexer {
switch (alt19) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:24: ~ ( ( '\\n' | '\\r' | '@' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -3126,7 +3121,7 @@ public class InternalOperationLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:44: ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:44: ( ( '\\r' )? '\\n' )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -3135,9 +3130,9 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt21) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:45: ( '\\r' )? '\\n'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: ( '\\r' )? '\\n'
{
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:45: ( '\\r' )?
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: ( '\\r' )?
int alt20=2;
int LA20_0 = input.LA(1);
@@ -3146,7 +3141,7 @@ public class InternalOperationLexer extends Lexer {
}
switch (alt20) {
case 1 :
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:45: '\\r'
+ // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: '\\r'
{
match('\r');
@@ -3178,10 +3173,10 @@ public class InternalOperationLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;