Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-08-21 07:37:18 -0400
committerCamille Letavernier2014-08-21 07:37:18 -0400
commitea48a20561464c3cbb7895d430583669a9f82fcc (patch)
tree0fdf9eebacbbb301b13bafce3ca4a6952ff6e91c /extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext
parentf91b71175fd97557cf378cdcad845a44a6274b16 (diff)
downloadorg.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.gz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.tar.xz
org.eclipse.papyrus-ea48a20561464c3cbb7895d430583669a9f82fcc.zip
[Code style] Apply clean-up and formatter on Extra plug-ins
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java26
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java13
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java164
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java34
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java54
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java2
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java210
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java106
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java54
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java320
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java108
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java288
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java2781
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java480
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java56
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java56
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java106
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java2
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java480
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java573
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java273
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java348
-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.java44
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java682
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java473
-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.java314
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java1042
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java475
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java615
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java1575
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java350
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java350
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java473
-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.java44
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java734
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java762
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java40031
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationAntlrTokenFileProvider.java8
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationParser.java20
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java9806
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java43210
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java2162
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/validation/AbstractOperationJavaValidator.java9
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/OperationRuntimeModule.java2
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetup.java7
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/formatting/OperationFormatter.java20
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/scoping/OperationEditorScopingTool.java1136
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/scoping/OperationScopeProvider.java10
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/utils/AlfParsingUtil.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/OperationJavaValidator.java281
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/OperationSemanticValidator.java6
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/typing/OperationEditorAssignmentPolicy.java16
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/typing/OperationEditorMultiplicityFacadeFactory.java134
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/typing/OperationEditorSignatureFacadeFactory.java20
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src/org/eclipse/papyrus/operation/editor/xtext/validation/typing/OperationEditorTypeFacadeFactory.java42
55 files changed, 58035 insertions, 53405 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java
index 0fd5b18c79a..632dcf63e43 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java
@@ -14,7 +14,7 @@ import com.google.inject.name.Names;
/**
* Manual modifications go to {org.eclipse.papyrus.operation.editor.xtext.OperationRuntimeModule}
*/
- @SuppressWarnings("all")
+@SuppressWarnings("all")
public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModule {
protected Properties properties = null;
@@ -24,16 +24,17 @@ public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModul
properties = tryBindProperties(binder, "org/eclipse/papyrus/operation/editor/xtext/Operation.properties");
super.configure(binder);
}
-
+
public void configureLanguageName(Binder binder) {
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.operation.editor.xtext.Operation");
}
-
+
public void configureFileExtensions(Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
+ if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) {
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("operation");
+ }
}
-
+
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
return org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess.class;
@@ -50,6 +51,7 @@ public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModul
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ @Override
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
@@ -71,30 +73,36 @@ public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModul
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.class);
+ binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME))
+ .to(org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ @Override
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
}
// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.papyrus.operation.editor.xtext.validation.OperationJavaValidator> bindOperationJavaValidator() {
+ @org.eclipse.xtext.service.SingletonBinding(eager = true)
+ public Class<? extends org.eclipse.papyrus.operation.editor.xtext.validation.OperationJavaValidator> bindOperationJavaValidator() {
return org.eclipse.papyrus.operation.editor.xtext.validation.OperationJavaValidator.class;
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ @Override
public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
return org.eclipse.papyrus.operation.editor.xtext.scoping.OperationScopeProvider.class;
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
+ binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE))
+ .to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ @Override
public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
}
@@ -105,11 +113,13 @@ public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModul
}
// contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
+ @Override
public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
return org.eclipse.xtext.naming.SimpleNameProvider.class;
}
// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
+ @Override
public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
return org.eclipse.papyrus.operation.editor.xtext.formatting.OperationFormatter.class;
}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java
index 3cea30b8e89..26a6bf6d1ac 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java
@@ -1,4 +1,3 @@
-
package org.eclipse.papyrus.operation.editor.xtext;
import org.eclipse.emf.ecore.EPackage;
@@ -21,21 +20,21 @@ public class OperationStandaloneSetupGenerated implements ISetup {
register(injector);
return injector;
}
-
+
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.papyrus.operation.editor.xtext.OperationRuntimeModule());
}
-
+
public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation", org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage.eINSTANCE);
- }
+ if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation")) {
+ EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation", org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage.eINSTANCE);
+ }
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("operation", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("operation", serviceProvider);
-
+
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..8000f7f9cee 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,9 +16,9 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -28,85 +28,91 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..50292392eed 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}</li>
* </ul>
* </p>
*
@@ -28,20 +28,20 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..0099f72e0ca 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,7 +16,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}</li>
* </ul>
* </p>
*
@@ -26,30 +26,32 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..91e1db8c906 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
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..4016686cd1a 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,10 +16,10 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}</li>
* </ul>
* </p>
*
@@ -29,108 +29,116 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..ba5f6c0c406 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,8 +16,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}</li>
* </ul>
* </p>
*
@@ -27,56 +27,60 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..fb8ffe1ff2b 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,7 +16,7 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -26,30 +26,32 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..1a6326a7abf 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,12 +16,12 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}</li>
* </ul>
* </p>
*
@@ -31,163 +31,175 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..4151a169e83 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,14 +2,12 @@
* <copyright>
* </copyright>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.alf.alf.Block;
-
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Definition Or Stub</b></em>'.
@@ -18,8 +16,8 @@ import org.eclipse.papyrus.alf.alf.Block;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}</li>
* </ul>
* </p>
*
@@ -29,56 +27,60 @@ import org.eclipse.papyrus.alf.alf.Block;
*/
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();
+ /**
+ * 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..c4e3bd78fbb 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -13,143 +13,159 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
+ *
* @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();
-
-} //OperationFactory
+ /**
+ * 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..85ed25fb540 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,1331 +17,1470 @@ import org.eclipse.emf.ecore.EReference;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <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 -->
+ *
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationFactory
* @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();
-
- }
-
-} //OperationPackage
+ /**
+ * 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..4fe3ee57429 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,238 +17,258 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Parameter Direction</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getParameterDirection()
* @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;
- }
-
-} //ParameterDirection
+ /**
+ * 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..1671b4c9fe4 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,14 +2,12 @@
* <copyright>
* </copyright>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.alf.alf.QualifiedNameList;
-
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Redefinition Clause</b></em>'.
@@ -18,7 +16,7 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameList;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}</li>
* </ul>
* </p>
*
@@ -28,30 +26,32 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameList;
*/
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();
+ /**
+ * 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..f3a50e762d8 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,14 +2,12 @@
* <copyright>
* </copyright>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
-
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Type Name</b></em>'.
@@ -18,7 +16,7 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}</li>
* </ul>
* </p>
*
@@ -28,30 +26,32 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
*/
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();
+ /**
+ * 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..f15f3b8d558 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,8 +16,8 @@ import org.eclipse.emf.ecore.EObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}</li>
* </ul>
* </p>
*
@@ -27,56 +27,60 @@ import org.eclipse.emf.ecore.EObject;
*/
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();
+ /**
+ * 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..25f053ebf83 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
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..1315cc8f8b4 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,238 +17,258 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Visibility Indicator</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getVisibilityIndicator()
* @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;
- }
-
-} //VisibilityIndicator
+ /**
+ * 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..e6f9e9e4b75 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -27,9 +27,9 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
*
@@ -37,290 +37,323 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*/
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 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
+} // 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..7cbfd8c4dc9 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -31,7 +31,7 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl#getFormalParameter <em>Formal Parameter</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl#getFormalParameter <em>Formal Parameter</em>}</li>
* </ul>
* </p>
*
@@ -39,133 +39,142 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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
+ /**
+ * 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..e4fffa487a0 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -26,7 +26,7 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl#getFormalParameterList <em>Formal Parameter List</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl#getFormalParameterList <em>Formal Parameter List</em>}</li>
* </ul>
* </p>
*
@@ -34,165 +34,185 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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
+ /**
+ * 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..7ec832283a8 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -22,25 +22,27 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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
+ */
+ 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
+} // 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..b379f18ca9d 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -26,10 +26,10 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#getRange <em>Range</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isOrdered <em>Ordered</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isNonUnique <em>Non Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isSequence <em>Sequence</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#getRange <em>Range</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isOrdered <em>Ordered</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isNonUnique <em>Non Unique</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isSequence <em>Sequence</em>}</li>
* </ul>
* </p>
*
@@ -37,345 +37,383 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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 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
+} // 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..ac5fcaaab18 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -26,8 +26,8 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getUpper <em>Upper</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getLower <em>Lower</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getUpper <em>Upper</em>}</li>
* </ul>
* </p>
*
@@ -35,235 +35,268 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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 #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;
+ /**
+ * 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
+ */
+ 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
+ */
+ @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 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 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 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 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 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
+ */
+ 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 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 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 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 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);
- }
+ /**
+ * <!-- 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
+} // 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..1b28c06c09c 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
@@ -31,151 +31,165 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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
+ /**
+ * 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..8aa6f7acf90 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -29,12 +29,12 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getFormalParameters <em>Formal Parameters</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getRedefinition <em>Redefinition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#isAbstract <em>Abstract</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getFormalParameters <em>Formal Parameters</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getReturnType <em>Return Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getRedefinition <em>Redefinition</em>}</li>
* </ul>
* </p>
*
@@ -42,485 +42,549 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
*/
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
+ /**
+ * 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..2bdb5215c2b 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -15,8 +15,6 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.papyrus.alf.alf.Block;
-
import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration;
import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub;
import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
@@ -28,8 +26,8 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getDeclaration <em>Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getBody <em>Body</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getDeclaration <em>Declaration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getBody <em>Body</em>}</li>
* </ul>
* </p>
*
@@ -37,235 +35,268 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*/
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 #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;
+ /**
+ * 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
+ */
+ 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
+ */
+ @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 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 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 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 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 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
+ */
+ 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 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 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 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 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);
- }
+ /**
+ * <!-- 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
+} // 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..013c3acfa95 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -21,317 +21,358 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- 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();
- }
+ /**
+ * 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
+} // 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..5372dba1922 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -14,8 +14,6 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.alf.alf.AlfPackage;
-
import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter;
import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList;
import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters;
@@ -35,755 +33,830 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- 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();
-
-
- // 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);
- }
-
-} //OperationPackageImpl
+ /**
+ * <!-- 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);
+
+ 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..785ee090e13 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -15,8 +15,6 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.papyrus.alf.alf.QualifiedNameList;
-
import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
@@ -27,7 +25,7 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl#getRedefinedOperations <em>Redefined Operations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl#getRedefinedOperations <em>Redefined Operations</em>}</li>
* </ul>
* </p>
*
@@ -35,165 +33,185 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
*/
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
+ /**
+ * 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..86bcfe639fe 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -15,8 +15,6 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
-
import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
@@ -27,7 +25,7 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl#getQualifiedName <em>Qualified Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl#getQualifiedName <em>Qualified Name</em>}</li>
* </ul>
* </p>
*
@@ -35,165 +33,185 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
*/
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
+ /**
+ * 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..36a8c95f2b9 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -27,8 +27,8 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getTypeName <em>Type Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getMultiplicity <em>Multiplicity</em>}</li>
* </ul>
* </p>
*
@@ -36,235 +36,268 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*/
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 #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;
+ /**
+ * 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
+ */
+ 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
+ */
+ @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 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 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 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 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 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
+ */
+ 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 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 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 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 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);
- }
+ /**
+ * <!-- 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
+} // 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..6161c7f8bc6 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -22,25 +22,27 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WI
*/
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
+ */
+ 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
+} // 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..cc4558f3512 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -20,357 +20,391 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
+ *
* @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;
-
- /**
- * 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;
- }
-
- /**
- * 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 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.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.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.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.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.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.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;
- }
-
-} //OperationAdapterFactory
+ /**
+ * 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;
+ }
+ }
+
+ /**
+ * 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();
+ }
+ };
+
+ /**
+ * 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.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.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.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.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.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.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 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..10d63b68ac2 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>
*
-
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -16,386 +16,436 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @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;
+ /**
+ * 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
+} // 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 879bea36c9b..577f322af43 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
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.operation.editor.xtext.parseTreeConstruction;
import org.eclipse.emf.ecore.*;
@@ -14,6938 +14,7974 @@ import com.google.inject.Inject;
@SuppressWarnings("all")
public class OperationParsetreeConstructor extends AbstractParseTreeConstructor {
-
+
@Inject
private OperationGrammarAccess grammarAccess;
-
+
@Override
protected AbstractToken getRootToken(IEObjectConsumer inst) {
- return new ThisRootNode(inst);
- }
-
-protected class ThisRootNode extends RootToken {
- public ThisRootNode(IEObjectConsumer inst) {
- super(inst);
+ return new ThisRootNode(inst);
}
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDefinitionOrStub_Group(this, this, 0, inst);
- case 1: return new OperationDeclaration_Group(this, this, 1, inst);
- case 2: return new FormalParameters_Group(this, this, 2, inst);
- case 3: return new FormalParameterList_Group(this, this, 3, inst);
- case 4: return new FormalParameter_Group(this, this, 4, inst);
- case 5: return new TypePart_Group(this, this, 5, inst);
- case 6: return new Multiplicity_Group(this, this, 6, inst);
- case 7: return new MultiplicityRange_Group(this, this, 7, inst);
- case 8: return new NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(this, this, 8, inst);
- case 9: return new INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 9, inst);
- case 10: return new UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 10, inst);
- case 11: return new TypeName_Group(this, this, 11, inst);
- case 12: return new RedefinitionClause_Group(this, this, 12, inst);
- case 13: return new Test_Group(this, this, 13, inst);
- case 14: return new LITERAL_Alternatives(this, this, 14, inst);
- case 15: return new BOOLEAN_LITERAL_Group(this, this, 15, inst);
- case 16: return new NUMBER_LITERAL_Alternatives(this, this, 16, inst);
- case 17: return new INTEGER_LITERAL_Group(this, this, 17, inst);
- case 18: return new UNLIMITED_LITERAL_Group(this, this, 18, inst);
- case 19: return new STRING_LITERAL_Group(this, this, 19, inst);
- case 20: return new NameExpression_Group(this, this, 20, inst);
- case 21: return new QualifiedNamePath_Group(this, this, 21, inst);
- case 22: return new UnqualifiedName_Group(this, this, 22, inst);
- case 23: return new TemplateBinding_Group(this, this, 23, inst);
- case 24: return new NamedTemplateBinding_Group(this, this, 24, inst);
- case 25: return new QualifiedNameWithBinding_Group(this, this, 25, inst);
- case 26: return new Tuple_Group(this, this, 26, inst);
- case 27: return new TupleElement_ArgumentAssignment(this, this, 27, inst);
- case 28: return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 28, inst);
- case 29: return new ConditionalTestExpression_Group(this, this, 29, inst);
- case 30: return new ConditionalOrExpression_Group(this, this, 30, inst);
- case 31: return new ConditionalAndExpression_Group(this, this, 31, inst);
- case 32: return new InclusiveOrExpression_Group(this, this, 32, inst);
- case 33: return new ExclusiveOrExpression_Group(this, this, 33, inst);
- case 34: return new AndExpression_Group(this, this, 34, inst);
- case 35: return new EqualityExpression_Group(this, this, 35, inst);
- case 36: return new ClassificationExpression_Group(this, this, 36, inst);
- case 37: return new RelationalExpression_Group(this, this, 37, inst);
- case 38: return new ShiftExpression_Group(this, this, 38, inst);
- case 39: return new AdditiveExpression_Group(this, this, 39, inst);
- case 40: return new MultiplicativeExpression_Group(this, this, 40, inst);
- case 41: return new UnaryExpression_Group(this, this, 41, inst);
- case 42: return new PrimaryExpression_PrefixAssignment(this, this, 42, inst);
- case 43: return new SuffixExpression_Alternatives(this, this, 43, inst);
- case 44: return new OperationCallExpression_Group(this, this, 44, inst);
- case 45: return new OperationCallExpressionWithoutDot_Group(this, this, 45, inst);
- case 46: return new PropertyCallExpression_Group(this, this, 46, inst);
- case 47: return new LinkOperationExpression_Group(this, this, 47, inst);
- case 48: return new LinkOperationTuple_Group(this, this, 48, inst);
- case 49: return new LinkOperationTupleElement_Group(this, this, 49, inst);
- case 50: return new SequenceOperationExpression_Group(this, this, 50, inst);
- case 51: return new SequenceReductionExpression_Group(this, this, 51, inst);
- case 52: return new SequenceExpansionExpression_Alternatives(this, this, 52, inst);
- case 53: return new SelectOrRejectOperation_Group(this, this, 53, inst);
- case 54: return new CollectOrIterateOperation_Group(this, this, 54, inst);
- case 55: return new ForAllOrExistsOrOneOperation_Group(this, this, 55, inst);
- case 56: return new IsUniqueOperation_Group(this, this, 56, inst);
- case 57: return new ValueSpecification_Alternatives(this, this, 57, inst);
- case 58: return new NonLiteralValueSpecification_Alternatives(this, this, 58, inst);
- case 59: return new ParenthesizedExpression_Group(this, this, 59, inst);
- case 60: return new NullExpression_Group(this, this, 60, inst);
- case 61: return new ThisExpression_Group(this, this, 61, inst);
- case 62: return new SuperInvocationExpression_Group(this, this, 62, inst);
- case 63: return new InstanceCreationExpression_Group(this, this, 63, inst);
- case 64: return new SequenceConstructionOrAccessCompletion_Alternatives(this, this, 64, inst);
- case 65: return new AccessCompletion_Group(this, this, 65, inst);
- case 66: return new PartialSequenceConstructionCompletion_Group(this, this, 66, inst);
- case 67: return new SequenceConstructionCompletion_Group(this, this, 67, inst);
- case 68: return new SequenceConstructionExpression_Group(this, this, 68, inst);
- case 69: return new SequenceElement_Alternatives(this, this, 69, inst);
- 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 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);
- case 79: return new EmptyStatement_Group(this, this, 79, inst);
- case 80: return new LocalNameDeclarationStatement_Group(this, this, 80, inst);
- case 81: return new IfStatement_Group(this, this, 81, inst);
- case 82: return new SequentialClauses_Group(this, this, 82, inst);
- case 83: return new ConcurrentClauses_Group(this, this, 83, inst);
- case 84: return new NonFinalClause_Group(this, this, 84, inst);
- case 85: return new FinalClause_Group(this, this, 85, inst);
- case 86: return new SwitchStatement_Group(this, this, 86, inst);
- case 87: return new SwitchClause_Group(this, this, 87, inst);
- case 88: return new SwitchCase_Group(this, this, 88, inst);
- case 89: return new SwitchDefaultClause_Group(this, this, 89, inst);
- case 90: return new NonEmptyStatementSequence_StatementAssignment(this, this, 90, inst);
- case 91: return new WhileStatement_Group(this, this, 91, inst);
- case 92: return new DoStatement_Group(this, this, 92, inst);
- case 93: return new ForStatement_Group(this, this, 93, inst);
- case 94: return new ForControl_Group(this, this, 94, inst);
- case 95: return new LoopVariableDefinition_Alternatives(this, this, 95, inst);
- case 96: return new BreakStatement_Group(this, this, 96, inst);
- case 97: return new ReturnStatement_Group(this, this, 97, inst);
- case 98: return new AcceptStatement_Group(this, this, 98, inst);
- case 99: return new SimpleAcceptStatementCompletion_Group(this, this, 99, inst);
- case 100: return new CompoundAcceptStatementCompletion_Group(this, this, 100, inst);
- case 101: return new AcceptBlock_Group(this, this, 101, inst);
- case 102: return new AcceptClause_Group(this, this, 102, inst);
- case 103: return new ClassifyStatement_Group(this, this, 103, inst);
- case 104: return new ClassificationClause_Alternatives(this, this, 104, inst);
- case 105: return new ClassificationFromClause_Group(this, this, 105, inst);
- case 106: return new ClassificationToClause_Group(this, this, 106, inst);
- case 107: return new ReclassifyAllClause_Group(this, this, 107, inst);
- case 108: return new QualifiedNameList_Group(this, this, 108, inst);
- case 109: return new InvocationOrAssignementOrDeclarationStatement_Group(this, this, 109, inst);
- case 110: return new SuperInvocationStatement_Group(this, this, 110, inst);
- case 111: return new ThisInvocationStatement_Group(this, this, 111, inst);
- case 112: return new InstanceCreationInvocationStatement_Group(this, this, 112, inst);
- case 113: return new VariableDeclarationCompletion_Group(this, this, 113, inst);
- case 114: return new AssignmentCompletion_Group(this, this, 114, inst);
- default: return null;
- }
- }
-}
-
-/************ begin Rule OperationDefinitionOrStub ****************
- *
- * OperationDefinitionOrStub:
- * declaration=OperationDeclaration (";" | body=Block);
- *
- **/
+ protected class ThisRootNode extends RootToken {
+ public ThisRootNode(IEObjectConsumer inst) {
+ super(inst);
+ }
-// declaration=OperationDeclaration (";" | body=Block)
-protected class OperationDefinitionOrStub_Group extends GroupToken {
-
- public OperationDefinitionOrStub_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getGroup();
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDefinitionOrStub_Group(this, this, 0, inst);
+ case 1:
+ return new OperationDeclaration_Group(this, this, 1, inst);
+ case 2:
+ return new FormalParameters_Group(this, this, 2, inst);
+ case 3:
+ return new FormalParameterList_Group(this, this, 3, inst);
+ case 4:
+ return new FormalParameter_Group(this, this, 4, inst);
+ case 5:
+ return new TypePart_Group(this, this, 5, inst);
+ case 6:
+ return new Multiplicity_Group(this, this, 6, inst);
+ case 7:
+ return new MultiplicityRange_Group(this, this, 7, inst);
+ case 8:
+ return new NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(this, this, 8, inst);
+ case 9:
+ return new INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 9, inst);
+ case 10:
+ return new UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 10, inst);
+ case 11:
+ return new TypeName_Group(this, this, 11, inst);
+ case 12:
+ return new RedefinitionClause_Group(this, this, 12, inst);
+ case 13:
+ return new Test_Group(this, this, 13, inst);
+ case 14:
+ return new LITERAL_Alternatives(this, this, 14, inst);
+ case 15:
+ return new BOOLEAN_LITERAL_Group(this, this, 15, inst);
+ case 16:
+ return new NUMBER_LITERAL_Alternatives(this, this, 16, inst);
+ case 17:
+ return new INTEGER_LITERAL_Group(this, this, 17, inst);
+ case 18:
+ return new UNLIMITED_LITERAL_Group(this, this, 18, inst);
+ case 19:
+ return new STRING_LITERAL_Group(this, this, 19, inst);
+ case 20:
+ return new NameExpression_Group(this, this, 20, inst);
+ case 21:
+ return new QualifiedNamePath_Group(this, this, 21, inst);
+ case 22:
+ return new UnqualifiedName_Group(this, this, 22, inst);
+ case 23:
+ return new TemplateBinding_Group(this, this, 23, inst);
+ case 24:
+ return new NamedTemplateBinding_Group(this, this, 24, inst);
+ case 25:
+ return new QualifiedNameWithBinding_Group(this, this, 25, inst);
+ case 26:
+ return new Tuple_Group(this, this, 26, inst);
+ case 27:
+ return new TupleElement_ArgumentAssignment(this, this, 27, inst);
+ case 28:
+ return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 28, inst);
+ case 29:
+ return new ConditionalTestExpression_Group(this, this, 29, inst);
+ case 30:
+ return new ConditionalOrExpression_Group(this, this, 30, inst);
+ case 31:
+ return new ConditionalAndExpression_Group(this, this, 31, inst);
+ case 32:
+ return new InclusiveOrExpression_Group(this, this, 32, inst);
+ case 33:
+ return new ExclusiveOrExpression_Group(this, this, 33, inst);
+ case 34:
+ return new AndExpression_Group(this, this, 34, inst);
+ case 35:
+ return new EqualityExpression_Group(this, this, 35, inst);
+ case 36:
+ return new ClassificationExpression_Group(this, this, 36, inst);
+ case 37:
+ return new RelationalExpression_Group(this, this, 37, inst);
+ case 38:
+ return new ShiftExpression_Group(this, this, 38, inst);
+ case 39:
+ return new AdditiveExpression_Group(this, this, 39, inst);
+ case 40:
+ return new MultiplicativeExpression_Group(this, this, 40, inst);
+ case 41:
+ return new UnaryExpression_Group(this, this, 41, inst);
+ case 42:
+ return new PrimaryExpression_PrefixAssignment(this, this, 42, inst);
+ case 43:
+ return new SuffixExpression_Alternatives(this, this, 43, inst);
+ case 44:
+ return new OperationCallExpression_Group(this, this, 44, inst);
+ case 45:
+ return new OperationCallExpressionWithoutDot_Group(this, this, 45, inst);
+ case 46:
+ return new PropertyCallExpression_Group(this, this, 46, inst);
+ case 47:
+ return new LinkOperationExpression_Group(this, this, 47, inst);
+ case 48:
+ return new LinkOperationTuple_Group(this, this, 48, inst);
+ case 49:
+ return new LinkOperationTupleElement_Group(this, this, 49, inst);
+ case 50:
+ return new SequenceOperationExpression_Group(this, this, 50, inst);
+ case 51:
+ return new SequenceReductionExpression_Group(this, this, 51, inst);
+ case 52:
+ return new SequenceExpansionExpression_Alternatives(this, this, 52, inst);
+ case 53:
+ return new SelectOrRejectOperation_Group(this, this, 53, inst);
+ case 54:
+ return new CollectOrIterateOperation_Group(this, this, 54, inst);
+ case 55:
+ return new ForAllOrExistsOrOneOperation_Group(this, this, 55, inst);
+ case 56:
+ return new IsUniqueOperation_Group(this, this, 56, inst);
+ case 57:
+ return new ValueSpecification_Alternatives(this, this, 57, inst);
+ case 58:
+ return new NonLiteralValueSpecification_Alternatives(this, this, 58, inst);
+ case 59:
+ return new ParenthesizedExpression_Group(this, this, 59, inst);
+ case 60:
+ return new NullExpression_Group(this, this, 60, inst);
+ case 61:
+ return new ThisExpression_Group(this, this, 61, inst);
+ case 62:
+ return new SuperInvocationExpression_Group(this, this, 62, inst);
+ case 63:
+ return new InstanceCreationExpression_Group(this, this, 63, inst);
+ case 64:
+ return new SequenceConstructionOrAccessCompletion_Alternatives(this, this, 64, inst);
+ case 65:
+ return new AccessCompletion_Group(this, this, 65, inst);
+ case 66:
+ return new PartialSequenceConstructionCompletion_Group(this, this, 66, inst);
+ case 67:
+ return new SequenceConstructionCompletion_Group(this, this, 67, inst);
+ case 68:
+ return new SequenceConstructionExpression_Group(this, this, 68, inst);
+ case 69:
+ return new SequenceElement_Alternatives(this, this, 69, inst);
+ 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 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);
+ case 79:
+ return new EmptyStatement_Group(this, this, 79, inst);
+ case 80:
+ return new LocalNameDeclarationStatement_Group(this, this, 80, inst);
+ case 81:
+ return new IfStatement_Group(this, this, 81, inst);
+ case 82:
+ return new SequentialClauses_Group(this, this, 82, inst);
+ case 83:
+ return new ConcurrentClauses_Group(this, this, 83, inst);
+ case 84:
+ return new NonFinalClause_Group(this, this, 84, inst);
+ case 85:
+ return new FinalClause_Group(this, this, 85, inst);
+ case 86:
+ return new SwitchStatement_Group(this, this, 86, inst);
+ case 87:
+ return new SwitchClause_Group(this, this, 87, inst);
+ case 88:
+ return new SwitchCase_Group(this, this, 88, inst);
+ case 89:
+ return new SwitchDefaultClause_Group(this, this, 89, inst);
+ case 90:
+ return new NonEmptyStatementSequence_StatementAssignment(this, this, 90, inst);
+ case 91:
+ return new WhileStatement_Group(this, this, 91, inst);
+ case 92:
+ return new DoStatement_Group(this, this, 92, inst);
+ case 93:
+ return new ForStatement_Group(this, this, 93, inst);
+ case 94:
+ return new ForControl_Group(this, this, 94, inst);
+ case 95:
+ return new LoopVariableDefinition_Alternatives(this, this, 95, inst);
+ case 96:
+ return new BreakStatement_Group(this, this, 96, inst);
+ case 97:
+ return new ReturnStatement_Group(this, this, 97, inst);
+ case 98:
+ return new AcceptStatement_Group(this, this, 98, inst);
+ case 99:
+ return new SimpleAcceptStatementCompletion_Group(this, this, 99, inst);
+ case 100:
+ return new CompoundAcceptStatementCompletion_Group(this, this, 100, inst);
+ case 101:
+ return new AcceptBlock_Group(this, this, 101, inst);
+ case 102:
+ return new AcceptClause_Group(this, this, 102, inst);
+ case 103:
+ return new ClassifyStatement_Group(this, this, 103, inst);
+ case 104:
+ return new ClassificationClause_Alternatives(this, this, 104, inst);
+ case 105:
+ return new ClassificationFromClause_Group(this, this, 105, inst);
+ case 106:
+ return new ClassificationToClause_Group(this, this, 106, inst);
+ case 107:
+ return new ReclassifyAllClause_Group(this, this, 107, inst);
+ case 108:
+ return new QualifiedNameList_Group(this, this, 108, inst);
+ case 109:
+ return new InvocationOrAssignementOrDeclarationStatement_Group(this, this, 109, inst);
+ case 110:
+ return new SuperInvocationStatement_Group(this, this, 110, inst);
+ case 111:
+ return new ThisInvocationStatement_Group(this, this, 111, inst);
+ case 112:
+ return new InstanceCreationInvocationStatement_Group(this, this, 112, inst);
+ case 113:
+ return new VariableDeclarationCompletion_Group(this, this, 113, inst);
+ case 114:
+ return new AssignmentCompletion_Group(this, this, 114, inst);
+ default:
+ return null;
+ }
+ }
}
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDefinitionOrStub_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
+
+ /************
+ * begin Rule OperationDefinitionOrStub ****************
+ *
+ * OperationDefinitionOrStub:
+ * declaration=OperationDeclaration (";" | body=Block);
+ *
+ **/
+
+ // declaration=OperationDeclaration (";" | body=Block)
+ protected class OperationDefinitionOrStub_Group extends GroupToken {
+
+ public OperationDefinitionOrStub_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Group getGrammarElement() {
+ return grammarAccess.getOperationDefinitionOrStubAccess().getGroup();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDefinitionOrStub_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
+ default:
+ return null;
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if (getEObject().eClass() != grammarAccess.getOperationDefinitionOrStubRule().getType().getClassifier()) {
+ return null;
+ }
+ return eObjectConsumer;
+ }
+
}
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getOperationDefinitionOrStubRule().getType().getClassifier())
+ // declaration=OperationDeclaration
+ protected class OperationDefinitionOrStub_DeclarationAssignment_0 extends AssignmentToken {
+
+ public OperationDefinitionOrStub_DeclarationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
+
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0();
+ }
+
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDeclaration_Group(this, this, 0, inst);
+ default:
+ return null;
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if ((value = eObjectConsumer.getConsumable("declaration", true)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("declaration");
+ if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
+ IEObjectConsumer param = createEObjectConsumer((EObject) value);
+ if (param.isInstanceOf(grammarAccess.getOperationDeclarationRule().getType().getClassifier())) {
+ type = AssignmentType.PARSER_RULE_CALL;
+ element = grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_0_0();
+ consumed = obj;
+ return param;
+ }
+ }
return null;
- return eObjectConsumer;
+ }
+
+ @Override
+ public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
+ if (value == inst.getEObject() && !inst.isConsumed()) {
+ return null;
+ }
+ switch (index) {
+ default:
+ return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index, consumed);
+ }
+ }
}
-}
+ // ";" | body=Block
+ protected class OperationDefinitionOrStub_Alternatives_1 extends AlternativesToken {
-// declaration=OperationDeclaration
-protected class OperationDefinitionOrStub_DeclarationAssignment_0 extends AssignmentToken {
-
- public OperationDefinitionOrStub_DeclarationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0();
- }
+ public OperationDefinitionOrStub_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_Group(this, this, 0, inst);
- default: return null;
- }
- }
+ @Override
+ public Alternatives getGrammarElement() {
+ return grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1();
+ }
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("declaration",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("declaration");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getOperationDeclarationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_0_0();
- consumed = obj;
- return param;
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDefinitionOrStub_SemicolonKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
+ case 1:
+ return new OperationDefinitionOrStub_BodyAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
+ default:
+ return null;
}
}
- return null;
+
}
- @Override
- public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
- if(value == inst.getEObject() && !inst.isConsumed()) return null;
- switch(index) {
- default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed);
- }
- }
-}
+ // ";"
+ protected class OperationDefinitionOrStub_SemicolonKeyword_1_0 extends KeywordToken {
+
+ public OperationDefinitionOrStub_SemicolonKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
-// ";" | body=Block
-protected class OperationDefinitionOrStub_Alternatives_1 extends AlternativesToken {
+ @Override
+ public Keyword getGrammarElement() {
+ return grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0();
+ }
- public OperationDefinitionOrStub_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1();
- }
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, this, 0, inst);
+ default:
+ return null;
+ }
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDefinitionOrStub_SemicolonKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1: return new OperationDefinitionOrStub_BodyAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default: return null;
- }
}
-}
+ // body=Block
+ protected class OperationDefinitionOrStub_BodyAssignment_1_1 extends AssignmentToken {
-// ";"
-protected class OperationDefinitionOrStub_SemicolonKeyword_1_0 extends KeywordToken {
-
- public OperationDefinitionOrStub_SemicolonKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0();
- }
+ public OperationDefinitionOrStub_BodyAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1();
+ }
-}
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new Block_Group(this, this, 0, inst);
+ default:
+ return null;
+ }
+ }
-// body=Block
-protected class OperationDefinitionOrStub_BodyAssignment_1_1 extends AssignmentToken {
-
- public OperationDefinitionOrStub_BodyAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if ((value = eObjectConsumer.getConsumable("body", true)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body");
+ 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.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_1_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 OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
+ default:
+ return null;
+ }
+ }
}
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1();
- }
-
- @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("body",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body");
- 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.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_1_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 OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
-/************ end Rule OperationDefinitionOrStub ****************/
+ /************ end Rule OperationDefinitionOrStub ****************/
-/************ begin Rule OperationDeclaration ****************
- *
- * OperationDeclaration:
- * visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- * returnType=TypePart)? redefinition=RedefinitionClause?;
- *
- **/
+ /************
+ * begin Rule OperationDeclaration ****************
+ *
+ * OperationDeclaration:
+ * visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
+ * returnType=TypePart)? redefinition=RedefinitionClause?;
+ *
+ **/
-// visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
-// returnType=TypePart)? redefinition=RedefinitionClause?
-protected class OperationDeclaration_Group extends GroupToken {
-
- public OperationDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getGroup();
- }
+ // visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
+ // returnType=TypePart)? redefinition=RedefinitionClause?
+ protected class OperationDeclaration_Group extends GroupToken {
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_RedefinitionAssignment_5(lastRuleCallOrigin, this, 0, inst);
- case 1: return new OperationDeclaration_Group_4(lastRuleCallOrigin, this, 1, inst);
- case 2: return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, this, 2, inst);
- default: return null;
- }
- }
+ public OperationDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
- @Override
- public IEObjectConsumer tryConsume() {
- if(getEObject().eClass() != grammarAccess.getOperationDeclarationRule().getType().getClassifier())
- return null;
- return eObjectConsumer;
- }
+ @Override
+ public Group getGrammarElement() {
+ return grammarAccess.getOperationDeclarationAccess().getGroup();
+ }
-}
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDeclaration_RedefinitionAssignment_5(lastRuleCallOrigin, this, 0, inst);
+ case 1:
+ return new OperationDeclaration_Group_4(lastRuleCallOrigin, this, 1, inst);
+ case 2:
+ return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, this, 2, inst);
+ default:
+ return null;
+ }
+ }
-// visibilityIndicator=VisibilityIndicator?
-protected class OperationDeclaration_VisibilityIndicatorAssignment_0 extends AssignmentToken {
-
- public OperationDeclaration_VisibilityIndicatorAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_0();
- }
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if (getEObject().eClass() != grammarAccess.getOperationDeclarationRule().getType().getClassifier()) {
+ return null;
+ }
+ return eObjectConsumer;
+ }
- @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("visibilityIndicator",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibilityIndicator");
- if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0();
- return obj;
+ // visibilityIndicator=VisibilityIndicator?
+ protected class OperationDeclaration_VisibilityIndicatorAssignment_0 extends AssignmentToken {
+
+ public OperationDeclaration_VisibilityIndicatorAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
- return null;
- }
-}
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_0();
+ }
-// abstract?="abstract"?
-protected class OperationDeclaration_AbstractAssignment_1 extends AssignmentToken {
-
- public OperationDeclaration_AbstractAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1();
- }
+ @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("visibilityIndicator", false)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibilityIndicator");
+ if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0(), value, null)) {
+ type = AssignmentType.ENUM_RULE_CALL;
+ element = grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0();
+ return obj;
+ }
+ return null;
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
}
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("abstract",false)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("abstract");
- if(Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0();
- return obj;
+ // abstract?="abstract"?
+ protected class OperationDeclaration_AbstractAssignment_1 extends AssignmentToken {
+
+ public OperationDeclaration_AbstractAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
- return null;
- }
-}
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1();
+ }
-// name=ID
-protected class OperationDeclaration_NameAssignment_2 extends AssignmentToken {
-
- public OperationDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getNameAssignment_2();
- }
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 0, inst);
+ default:
+ return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if ((value = eObjectConsumer.getConsumable("abstract", false)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("abstract");
+ if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
+ type = AssignmentType.KEYWORD;
+ element = grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0();
+ return obj;
+ }
+ return null;
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_AbstractAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1: return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 2, inst);
- }
}
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("name",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
+ // name=ID
+ protected class OperationDeclaration_NameAssignment_2 extends AssignmentToken {
+
+ public OperationDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
}
- return null;
- }
-}
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDeclarationAccess().getNameAssignment_2();
+ }
-// formalParameters=FormalParameters
-protected class OperationDeclaration_FormalParametersAssignment_3 extends AssignmentToken {
-
- public OperationDeclaration_FormalParametersAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new FormalParameters_Group(this, this, 0, inst);
- default: return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if((value = eObjectConsumer.getConsumable("formalParameters",true)) == null) return null;
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameters");
- if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject)value);
- if(param.isInstanceOf(grammarAccess.getFormalParametersRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_3_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 OperationDeclaration_NameAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- default: return null;
- }
- }
-}
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new OperationDeclaration_AbstractAssignment_1(lastRuleCallOrigin, this, 0, inst);
+ case 1:
+ return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 1, inst);
+ default:
+ return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 2, inst);
+ }
+ }
-// (":" returnType=TypePart)?
-protected class OperationDeclaration_Group_4 extends GroupToken {
-
- public OperationDeclaration_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getGroup_4();
- }
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if ((value = eObjectConsumer.getConsumable("name", true)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
+ if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
+ type = AssignmentType.TERMINAL_RULE_CALL;
+ element = grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0();
+ return obj;
+ }
+ return null;
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_ReturnTypeAssignment_4_1(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
}
-}
+ // formalParameters=FormalParameters
+ protected class OperationDeclaration_FormalParametersAssignment_3 extends AssignmentToken {
-// ":"
-protected class OperationDeclaration_ColonKeyword_4_0 extends KeywordToken {
-
- public OperationDeclaration_ColonKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0();
- }
+ public OperationDeclaration_FormalParametersAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
+ super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ }
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch(index) {
- case 0: return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default: return null;
- }
- }
+ @Override
+ public Assignment getGrammarElement() {
+ return grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3();
+ }
-}
+ @Override
+ public AbstractToken createFollower(int index, IEObjectConsumer inst) {
+ switch (index) {
+ case 0:
+ return new FormalParameters_Group(this, this, 0, inst);
+ default:
+ return null;
+ }
+ }
+
+ @Override
+ public IEObjectConsumer tryConsume() {
+ if ((value = eObjectConsumer.getConsumable("formalParameters", true)) == null) {
+ return null;
+ }
+ IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameters");
+ if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
+ IEObjectConsumer param = createEObjectConsumer((EObject) value);
+ if (param.isInstanceOf(grammarAccess.getFormalParametersRule().getType().getClassifier())) {
+ type = AssignmentType.PARSER_RULE_CALL;
+ element = grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_3_0();
+ consumed = obj;
+ return param;
+ }
+ }
+ return null;
+ }
-// returnType=TypePart
-protected class OperationDeclaration_ReturnTypeAssignment_4_1 extends AssignmentToken {
-
- public OperationDeclaration_ReturnTypeAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
+ @Override
+ public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
+ if (value == inst.getEObject() && !inst.isConsumed()) {
+ return null;
+ }