Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java155
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java35
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java5
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java197
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java299
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java271
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java2632
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java53
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java101
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java5
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java513
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java247
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java41
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java613
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java284
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java931
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java545
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java1447
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java308
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java443
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java41
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java626
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java677
34 files changed, 6829 insertions, 6397 deletions
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 210a19f75bb..691d824f94d 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,86 +26,87 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameter extends EObject {
- /**
- * Returns the value of the '<em><b>Direction</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Direction</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #setDirection(ParameterDirection)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Direction()
- * @model
- * @generated
- */
- ParameterDirection getDirection();
+public interface FormalParameter extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see #setDirection(ParameterDirection)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Direction()
+ * @model
+ * @generated
+ */
+ ParameterDirection getDirection();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #getDirection()
- * @generated
- */
- void setDirection(ParameterDirection value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(ParameterDirection value);
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Name()
- * @model
- * @generated
- */
- String getName();
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Name()
+ * @model
+ * @generated
+ */
+ String getName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
- /**
- * Returns the value of the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' containment reference.
- * @see #setType(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Type()
- * @model containment="true"
- * @generated
- */
- TypePart getType();
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' containment reference.
+ * @see #setType(TypePart)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Type()
+ * @model containment="true"
+ * @generated
+ */
+ TypePart getType();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' containment reference.
- * @see #getType()
- * @generated
- */
- void setType(TypePart value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' containment reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(TypePart value);
} // FormalParameter
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
index 520fe7bb2b3..df3c6af71e7 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,21 +26,22 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameterList extends EObject {
- /**
- * Returns the value of the '<em><b>Formal Parameter</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameter</em>' containment reference list.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList_FormalParameter()
- * @model containment="true"
- * @generated
- */
- EList<FormalParameter> getFormalParameter();
+public interface FormalParameterList extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Formal Parameter</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameter</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameter</em>' containment reference list.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList_FormalParameter()
+ * @model containment="true"
+ * @generated
+ */
+ EList<FormalParameter> getFormalParameter();
} // FormalParameterList
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
index bc6fd767154..d6cc37b09ca 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -24,31 +24,32 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface FormalParameters extends EObject {
- /**
- * Returns the value of the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter List</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameter List</em>' containment reference.
- * @see #setFormalParameterList(FormalParameterList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters_FormalParameterList()
- * @model containment="true"
- * @generated
- */
- FormalParameterList getFormalParameterList();
+public interface FormalParameters extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Formal Parameter List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameter List</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameter List</em>' containment reference.
+ * @see #setFormalParameterList(FormalParameterList)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters_FormalParameterList()
+ * @model containment="true"
+ * @generated
+ */
+ FormalParameterList getFormalParameterList();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Formal Parameter List</em>' containment reference.
- * @see #getFormalParameterList()
- * @generated
- */
- void setFormalParameterList(FormalParameterList value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formal Parameter List</em>' containment reference.
+ * @see #getFormalParameterList()
+ * @generated
+ */
+ void setFormalParameterList(FormalParameterList value);
} // FormalParameters
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
index 8e16e0eaa7b..3b11435809d 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,5 +17,6 @@ package org.eclipse.papyrus.operation.editor.xtext.operation;
* @model
* @generated
*/
-public interface INTEGER_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX {
+public interface INTEGER_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
+{
} // INTEGER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
index 924db70211b..062bacb9365 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,109 +27,110 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface Multiplicity extends EObject {
- /**
- * Returns the value of the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Range</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Range</em>' containment reference.
- * @see #setRange(MultiplicityRange)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Range()
- * @model containment="true"
- * @generated
- */
- MultiplicityRange getRange();
+public interface Multiplicity extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Range</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Range</em>' containment reference.
+ * @see #setRange(MultiplicityRange)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Range()
+ * @model containment="true"
+ * @generated
+ */
+ MultiplicityRange getRange();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Range</em>' containment reference.
- * @see #getRange()
- * @generated
- */
- void setRange(MultiplicityRange value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range</em>' containment reference.
+ * @see #getRange()
+ * @generated
+ */
+ void setRange(MultiplicityRange value);
- /**
- * Returns the value of the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ordered</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ordered</em>' attribute.
- * @see #setOrdered(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Ordered()
- * @model
- * @generated
- */
- boolean isOrdered();
+ /**
+ * Returns the value of the '<em><b>Ordered</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ordered</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ordered</em>' attribute.
+ * @see #setOrdered(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Ordered()
+ * @model
+ * @generated
+ */
+ boolean isOrdered();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ordered</em>' attribute.
- * @see #isOrdered()
- * @generated
- */
- void setOrdered(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Ordered</em>' attribute.
+ * @see #isOrdered()
+ * @generated
+ */
+ void setOrdered(boolean value);
- /**
- * Returns the value of the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Non Unique</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Non Unique</em>' attribute.
- * @see #setNonUnique(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_NonUnique()
- * @model
- * @generated
- */
- boolean isNonUnique();
+ /**
+ * Returns the value of the '<em><b>Non Unique</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Unique</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Unique</em>' attribute.
+ * @see #setNonUnique(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_NonUnique()
+ * @model
+ * @generated
+ */
+ boolean isNonUnique();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Non Unique</em>' attribute.
- * @see #isNonUnique()
- * @generated
- */
- void setNonUnique(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Unique</em>' attribute.
+ * @see #isNonUnique()
+ * @generated
+ */
+ void setNonUnique(boolean value);
- /**
- * Returns the value of the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sequence</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Sequence</em>' attribute.
- * @see #setSequence(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Sequence()
- * @model
- * @generated
- */
- boolean isSequence();
+ /**
+ * Returns the value of the '<em><b>Sequence</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sequence</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sequence</em>' attribute.
+ * @see #setSequence(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Sequence()
+ * @model
+ * @generated
+ */
+ boolean isSequence();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Sequence</em>' attribute.
- * @see #isSequence()
- * @generated
- */
- void setSequence(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sequence</em>' attribute.
+ * @see #isSequence()
+ * @generated
+ */
+ void setSequence(boolean value);
} // Multiplicity
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
index 006d7cff56d..4720c69db5e 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -25,57 +25,58 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface MultiplicityRange extends EObject {
- /**
- * Returns the value of the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lower</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lower</em>' containment reference.
- * @see #setLower(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Lower()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getLower();
+public interface MultiplicityRange extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Lower</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lower</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lower</em>' containment reference.
+ * @see #setLower(NUMBER_LITERAL_WITHOUT_SUFFIX)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Lower()
+ * @model containment="true"
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX getLower();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lower</em>' containment reference.
- * @see #getLower()
- * @generated
- */
- void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lower</em>' containment reference.
+ * @see #getLower()
+ * @generated
+ */
+ void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX value);
- /**
- * Returns the value of the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Upper</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Upper</em>' containment reference.
- * @see #setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Upper()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getUpper();
+ /**
+ * Returns the value of the '<em><b>Upper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Upper</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Upper</em>' containment reference.
+ * @see #setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Upper()
+ * @model containment="true"
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX getUpper();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Upper</em>' containment reference.
- * @see #getUpper()
- * @generated
- */
- void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Upper</em>' containment reference.
+ * @see #getUpper()
+ * @generated
+ */
+ void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX value);
} // MultiplicityRange
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
index 25721d6f86b..0a2498723c4 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -24,31 +24,32 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface NUMBER_LITERAL_WITHOUT_SUFFIX extends EObject {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
- * @model
- * @generated
- */
- String getValue();
+public interface NUMBER_LITERAL_WITHOUT_SUFFIX extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
+ * @model
+ * @generated
+ */
+ String getValue();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
} // NUMBER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
index 047dd59047b..2158ce04b4b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -29,164 +29,165 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface OperationDeclaration extends EObject {
- /**
- * Returns the value of the '<em><b>Visibility Indicator</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visibility Indicator</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #setVisibilityIndicator(VisibilityIndicator)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_VisibilityIndicator()
- * @model
- * @generated
- */
- VisibilityIndicator getVisibilityIndicator();
+public interface OperationDeclaration extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Visibility Indicator</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Visibility Indicator</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Visibility Indicator</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see #setVisibilityIndicator(VisibilityIndicator)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_VisibilityIndicator()
+ * @model
+ * @generated
+ */
+ VisibilityIndicator getVisibilityIndicator();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #getVisibilityIndicator()
- * @generated
- */
- void setVisibilityIndicator(VisibilityIndicator value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Visibility Indicator</em>' attribute.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see #getVisibilityIndicator()
+ * @generated
+ */
+ void setVisibilityIndicator(VisibilityIndicator value);
- /**
- * Returns the value of the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Abstract</em>' attribute.
- * @see #setAbstract(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Abstract()
- * @model
- * @generated
- */
- boolean isAbstract();
+ /**
+ * Returns the value of the '<em><b>Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract</em>' attribute.
+ * @see #setAbstract(boolean)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Abstract()
+ * @model
+ * @generated
+ */
+ boolean isAbstract();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Abstract</em>' attribute.
- * @see #isAbstract()
- * @generated
- */
- void setAbstract(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Abstract</em>' attribute.
+ * @see #isAbstract()
+ * @generated
+ */
+ void setAbstract(boolean value);
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Name()
- * @model
- * @generated
- */
- String getName();
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Name()
+ * @model
+ * @generated
+ */
+ String getName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
- /**
- * Returns the value of the '<em><b>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameters</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Formal Parameters</em>' containment reference.
- * @see #setFormalParameters(FormalParameters)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_FormalParameters()
- * @model containment="true"
- * @generated
- */
- FormalParameters getFormalParameters();
+ /**
+ * Returns the value of the '<em><b>Formal Parameters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Formal Parameters</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Formal Parameters</em>' containment reference.
+ * @see #setFormalParameters(FormalParameters)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_FormalParameters()
+ * @model containment="true"
+ * @generated
+ */
+ FormalParameters getFormalParameters();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Formal Parameters</em>' containment reference.
- * @see #getFormalParameters()
- * @generated
- */
- void setFormalParameters(FormalParameters value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Formal Parameters</em>' containment reference.
+ * @see #getFormalParameters()
+ * @generated
+ */
+ void setFormalParameters(FormalParameters value);
- /**
- * Returns the value of the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Return Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Return Type</em>' containment reference.
- * @see #setReturnType(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_ReturnType()
- * @model containment="true"
- * @generated
- */
- TypePart getReturnType();
+ /**
+ * Returns the value of the '<em><b>Return Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Return Type</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Return Type</em>' containment reference.
+ * @see #setReturnType(TypePart)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_ReturnType()
+ * @model containment="true"
+ * @generated
+ */
+ TypePart getReturnType();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Return Type</em>' containment reference.
- * @see #getReturnType()
- * @generated
- */
- void setReturnType(TypePart value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Return Type</em>' containment reference.
+ * @see #getReturnType()
+ * @generated
+ */
+ void setReturnType(TypePart value);
- /**
- * Returns the value of the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefinition</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Redefinition</em>' containment reference.
- * @see #setRedefinition(RedefinitionClause)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Redefinition()
- * @model containment="true"
- * @generated
- */
- RedefinitionClause getRedefinition();
+ /**
+ * Returns the value of the '<em><b>Redefinition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Redefinition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Redefinition</em>' containment reference.
+ * @see #setRedefinition(RedefinitionClause)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Redefinition()
+ * @model containment="true"
+ * @generated
+ */
+ RedefinitionClause getRedefinition();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Redefinition</em>' containment reference.
- * @see #getRedefinition()
- * @generated
- */
- void setRedefinition(RedefinitionClause value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Redefinition</em>' containment reference.
+ * @see #getRedefinition()
+ * @generated
+ */
+ void setRedefinition(RedefinitionClause value);
} // OperationDeclaration
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
index b4f06359053..38d0e928e2a 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,57 +27,58 @@ import org.eclipse.papyrus.alf.alf.Block;
* @model
* @generated
*/
-public interface OperationDefinitionOrStub extends EObject {
- /**
- * Returns the value of the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Declaration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Declaration</em>' containment reference.
- * @see #setDeclaration(OperationDeclaration)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Declaration()
- * @model containment="true"
- * @generated
- */
- OperationDeclaration getDeclaration();
+public interface OperationDefinitionOrStub extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Declaration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Declaration</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Declaration</em>' containment reference.
+ * @see #setDeclaration(OperationDeclaration)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Declaration()
+ * @model containment="true"
+ * @generated
+ */
+ OperationDeclaration getDeclaration();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Declaration</em>' containment reference.
- * @see #getDeclaration()
- * @generated
- */
- void setDeclaration(OperationDeclaration value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Declaration</em>' containment reference.
+ * @see #getDeclaration()
+ * @generated
+ */
+ void setDeclaration(OperationDeclaration value);
- /**
- * Returns the value of the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Body</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Body</em>' containment reference.
- * @see #setBody(Block)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Body()
- * @model containment="true"
- * @generated
- */
- Block getBody();
+ /**
+ * Returns the value of the '<em><b>Body</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Body</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Body</em>' containment reference.
+ * @see #setBody(Block)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Body()
+ * @model containment="true"
+ * @generated
+ */
+ Block getBody();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Body</em>' containment reference.
- * @see #getBody()
- * @generated
- */
- void setBody(Block value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Body</em>' containment reference.
+ * @see #getBody()
+ * @generated
+ */
+ void setBody(Block value);
} // OperationDefinitionOrStub
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
index 7ebf1d0e3b5..895d727fc56 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -16,139 +16,140 @@ import org.eclipse.emf.ecore.EFactory;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public interface OperationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OperationFactory eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Definition Or Stub</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Definition Or Stub</em>'.
- * @generated
- */
- OperationDefinitionOrStub createOperationDefinitionOrStub();
-
- /**
- * Returns a new object of class '<em>Declaration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Declaration</em>'.
- * @generated
- */
- OperationDeclaration createOperationDeclaration();
-
- /**
- * Returns a new object of class '<em>Formal Parameters</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameters</em>'.
- * @generated
- */
- FormalParameters createFormalParameters();
-
- /**
- * Returns a new object of class '<em>Formal Parameter List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameter List</em>'.
- * @generated
- */
- FormalParameterList createFormalParameterList();
-
- /**
- * Returns a new object of class '<em>Formal Parameter</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Formal Parameter</em>'.
- * @generated
- */
- FormalParameter createFormalParameter();
-
- /**
- * Returns a new object of class '<em>Type Part</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Type Part</em>'.
- * @generated
- */
- TypePart createTypePart();
-
- /**
- * Returns a new object of class '<em>Multiplicity</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multiplicity</em>'.
- * @generated
- */
- Multiplicity createMultiplicity();
-
- /**
- * Returns a new object of class '<em>Multiplicity Range</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multiplicity Range</em>'.
- * @generated
- */
- MultiplicityRange createMultiplicityRange();
-
- /**
- * Returns a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>Type Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Type Name</em>'.
- * @generated
- */
- TypeName createTypeName();
-
- /**
- * Returns a new object of class '<em>Redefinition Clause</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Redefinition Clause</em>'.
- * @generated
- */
- RedefinitionClause createRedefinitionClause();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- OperationPackage getOperationPackage();
+public interface OperationFactory extends EFactory
+{
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OperationFactory eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Definition Or Stub</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Definition Or Stub</em>'.
+ * @generated
+ */
+ OperationDefinitionOrStub createOperationDefinitionOrStub();
+
+ /**
+ * Returns a new object of class '<em>Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Declaration</em>'.
+ * @generated
+ */
+ OperationDeclaration createOperationDeclaration();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameters</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameters</em>'.
+ * @generated
+ */
+ FormalParameters createFormalParameters();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameter List</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameter List</em>'.
+ * @generated
+ */
+ FormalParameterList createFormalParameterList();
+
+ /**
+ * Returns a new object of class '<em>Formal Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Formal Parameter</em>'.
+ * @generated
+ */
+ FormalParameter createFormalParameter();
+
+ /**
+ * Returns a new object of class '<em>Type Part</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Type Part</em>'.
+ * @generated
+ */
+ TypePart createTypePart();
+
+ /**
+ * Returns a new object of class '<em>Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Multiplicity</em>'.
+ * @generated
+ */
+ Multiplicity createMultiplicity();
+
+ /**
+ * Returns a new object of class '<em>Multiplicity Range</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Multiplicity Range</em>'.
+ * @generated
+ */
+ MultiplicityRange createMultiplicityRange();
+
+ /**
+ * Returns a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @generated
+ */
+ UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns a new object of class '<em>Type Name</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Type Name</em>'.
+ * @generated
+ */
+ TypeName createTypeName();
+
+ /**
+ * Returns a new object of class '<em>Redefinition Clause</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Redefinition Clause</em>'.
+ * @generated
+ */
+ RedefinitionClause createRedefinitionClause();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ OperationPackage getOperationPackage();
} //OperationFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
index 3a844a6fc54..581668f10f9 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -27,1319 +27,1321 @@ import org.eclipse.emf.ecore.EReference;
* @model kind="package"
* @generated
*/
-public interface OperationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "operation";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/operation/editor/xtext/Operation";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "operation";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- OperationPackage eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- int OPERATION_DEFINITION_OR_STUB = 0;
-
- /**
- * The feature id for the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__DECLARATION = 0;
-
- /**
- * The feature id for the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__BODY = 1;
-
- /**
- * The number of structural features of the '<em>Definition Or Stub</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- int OPERATION_DECLARATION = 1;
-
- /**
- * The feature id for the '<em><b>Visibility Indicator</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__VISIBILITY_INDICATOR = 0;
-
- /**
- * The feature id for the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__ABSTRACT = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__FORMAL_PARAMETERS = 3;
-
- /**
- * The feature id for the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__RETURN_TYPE = 4;
-
- /**
- * The feature id for the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__REDEFINITION = 5;
-
- /**
- * The number of structural features of the '<em>Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- int FORMAL_PARAMETERS = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameters</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- int FORMAL_PARAMETER_LIST = 3;
-
- /**
- * The feature id for the '<em><b>Formal Parameter</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameter List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- int FORMAL_PARAMETER = 4;
-
- /**
- * The feature id for the '<em><b>Direction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__DIRECTION = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__TYPE = 2;
-
- /**
- * The number of structural features of the '<em>Formal Parameter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- int TYPE_PART = 5;
-
- /**
- * The feature id for the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART__TYPE_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART__MULTIPLICITY = 1;
-
- /**
- * The number of structural features of the '<em>Type Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_PART_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- int MULTIPLICITY = 6;
-
- /**
- * The feature id for the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__RANGE = 0;
-
- /**
- * The feature id for the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__ORDERED = 1;
-
- /**
- * The feature id for the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__NON_UNIQUE = 2;
-
- /**
- * The feature id for the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY__SEQUENCE = 3;
-
- /**
- * The number of structural features of the '<em>Multiplicity</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- int MULTIPLICITY_RANGE = 7;
-
- /**
- * The feature id for the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__LOWER = 0;
-
- /**
- * The feature id for the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__UPPER = 1;
-
- /**
- * The number of structural features of the '<em>Multiplicity Range</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX = 8;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = 0;
-
- /**
- * The number of structural features of the '<em>NUMBER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX = 9;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>INTEGER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX = 10;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- int TYPE_NAME = 11;
-
- /**
- * The feature id for the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_NAME__QUALIFIED_NAME = 0;
-
- /**
- * The number of structural features of the '<em>Type Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TYPE_NAME_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- int REDEFINITION_CLAUSE = 12;
-
- /**
- * The feature id for the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = 0;
-
- /**
- * The number of structural features of the '<em>Redefinition Clause</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- int VISIBILITY_INDICATOR = 13;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- int PARAMETER_DIRECTION = 14;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Definition Or Stub</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- EClass getOperationDefinitionOrStub();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Declaration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Body</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Body();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- EClass getOperationDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_VisibilityIndicator();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Abstract</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Abstract();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_FormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Return Type</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_ReturnType();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Redefinition</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_Redefinition();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- EClass getFormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList()
- * @see #getFormalParameters()
- * @generated
- */
- EReference getFormalParameters_FormalParameterList();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- EClass getFormalParameterList();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter()
- * @see #getFormalParameterList()
- * @generated
- */
- EReference getFormalParameterList_FormalParameter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- EClass getFormalParameter();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Direction();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType()
- * @see #getFormalParameter()
- * @generated
- */
- EReference getFormalParameter_Type();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Type Part</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
- * @generated
- */
- EClass getTypePart();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_TypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_Multiplicity();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- EClass getMultiplicity();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange()
- * @see #getMultiplicity()
- * @generated
- */
- EReference getMultiplicity_Range();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Ordered</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Ordered();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Non Unique</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_NonUnique();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Sequence</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Sequence();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multiplicity Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- EClass getMultiplicityRange();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Lower</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Lower();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Upper</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Upper();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue()
- * @see #getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
- * @generated
- */
- EClass getTypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Qualified Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName()
- * @see #getTypeName()
- * @generated
- */
- EReference getTypeName_QualifiedName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Redefinition Clause</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- EClass getRedefinitionClause();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Redefined Operations</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations()
- * @see #getRedefinitionClause()
- * @generated
- */
- EReference getRedefinitionClause_RedefinedOperations();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @generated
- */
- EEnum getVisibilityIndicator();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Parameter Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @generated
- */
- EEnum getParameterDirection();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- OperationFactory getOperationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- EClass OPERATION_DEFINITION_OR_STUB = eINSTANCE.getOperationDefinitionOrStub();
-
- /**
- * The meta object literal for the '<em><b>Declaration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__DECLARATION = eINSTANCE.getOperationDefinitionOrStub_Declaration();
-
- /**
- * The meta object literal for the '<em><b>Body</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__BODY = eINSTANCE.getOperationDefinitionOrStub_Body();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- EClass OPERATION_DECLARATION = eINSTANCE.getOperationDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Visibility Indicator</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__VISIBILITY_INDICATOR = eINSTANCE.getOperationDeclaration_VisibilityIndicator();
-
- /**
- * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__ABSTRACT = eINSTANCE.getOperationDeclaration_Abstract();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OPERATION_DECLARATION__NAME = eINSTANCE.getOperationDeclaration_Name();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameters</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__FORMAL_PARAMETERS = eINSTANCE.getOperationDeclaration_FormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Return Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__RETURN_TYPE = eINSTANCE.getOperationDeclaration_ReturnType();
-
- /**
- * The meta object literal for the '<em><b>Redefinition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_DECLARATION__REDEFINITION = eINSTANCE.getOperationDeclaration_Redefinition();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- EClass FORMAL_PARAMETERS = eINSTANCE.getFormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameters_FormalParameterList();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- EClass FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameterList();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = eINSTANCE.getFormalParameterList_FormalParameter();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- EClass FORMAL_PARAMETER = eINSTANCE.getFormalParameter();
-
- /**
- * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORMAL_PARAMETER__DIRECTION = eINSTANCE.getFormalParameter_Direction();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORMAL_PARAMETER__NAME = eINSTANCE.getFormalParameter_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORMAL_PARAMETER__TYPE = eINSTANCE.getFormalParameter_Type();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- EClass TYPE_PART = eINSTANCE.getTypePart();
-
- /**
- * The meta object literal for the '<em><b>Type Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_PART__TYPE_NAME = eINSTANCE.getTypePart_TypeName();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_PART__MULTIPLICITY = eINSTANCE.getTypePart_Multiplicity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- EClass MULTIPLICITY = eINSTANCE.getMultiplicity();
-
- /**
- * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY__RANGE = eINSTANCE.getMultiplicity_Range();
-
- /**
- * The meta object literal for the '<em><b>Ordered</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__ORDERED = eINSTANCE.getMultiplicity_Ordered();
-
- /**
- * The meta object literal for the '<em><b>Non Unique</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__NON_UNIQUE = eINSTANCE.getMultiplicity_NonUnique();
-
- /**
- * The meta object literal for the '<em><b>Sequence</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICITY__SEQUENCE = eINSTANCE.getMultiplicity_Sequence();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- EClass MULTIPLICITY_RANGE = eINSTANCE.getMultiplicityRange();
-
- /**
- * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY_RANGE__LOWER = eINSTANCE.getMultiplicityRange_Lower();
-
- /**
- * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICITY_RANGE__UPPER = eINSTANCE.getMultiplicityRange_Upper();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass NUMBER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass INTEGER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass UNLIMITED_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- EClass TYPE_NAME = eINSTANCE.getTypeName();
-
- /**
- * The meta object literal for the '<em><b>Qualified Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TYPE_NAME__QUALIFIED_NAME = eINSTANCE.getTypeName_QualifiedName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- EClass REDEFINITION_CLAUSE = eINSTANCE.getRedefinitionClause();
-
- /**
- * The meta object literal for the '<em><b>Redefined Operations</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = eINSTANCE.getRedefinitionClause_RedefinedOperations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- EEnum VISIBILITY_INDICATOR = eINSTANCE.getVisibilityIndicator();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- EEnum PARAMETER_DIRECTION = eINSTANCE.getParameterDirection();
-
- }
+public interface OperationPackage extends EPackage
+{
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "operation";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/operation/editor/xtext/Operation";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "operation";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ OperationPackage eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
+ * @generated
+ */
+ int OPERATION_DEFINITION_OR_STUB = 0;
+
+ /**
+ * The feature id for the '<em><b>Declaration</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB__DECLARATION = 0;
+
+ /**
+ * The feature id for the '<em><b>Body</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB__BODY = 1;
+
+ /**
+ * The number of structural features of the '<em>Definition Or Stub</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DEFINITION_OR_STUB_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
+ * @generated
+ */
+ int OPERATION_DECLARATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Visibility Indicator</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__VISIBILITY_INDICATOR = 0;
+
+ /**
+ * The feature id for the '<em><b>Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__ABSTRACT = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__NAME = 2;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__FORMAL_PARAMETERS = 3;
+
+ /**
+ * The feature id for the '<em><b>Return Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__RETURN_TYPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Redefinition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION__REDEFINITION = 5;
+
+ /**
+ * The number of structural features of the '<em>Declaration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OPERATION_DECLARATION_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
+ * @generated
+ */
+ int FORMAL_PARAMETERS = 2;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameter List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = 0;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameters</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETERS_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
+ * @generated
+ */
+ int FORMAL_PARAMETER_LIST = 3;
+
+ /**
+ * The feature id for the '<em><b>Formal Parameter</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = 0;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameter List</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_LIST_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
+ * @generated
+ */
+ int FORMAL_PARAMETER = 4;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__DIRECTION = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER__TYPE = 2;
+
+ /**
+ * The number of structural features of the '<em>Formal Parameter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FORMAL_PARAMETER_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
+ * @generated
+ */
+ int TYPE_PART = 5;
+
+ /**
+ * The feature id for the '<em><b>Type Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART__TYPE_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART__MULTIPLICITY = 1;
+
+ /**
+ * The number of structural features of the '<em>Type Part</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_PART_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
+ * @generated
+ */
+ int MULTIPLICITY = 6;
+
+ /**
+ * The feature id for the '<em><b>Range</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__RANGE = 0;
+
+ /**
+ * The feature id for the '<em><b>Ordered</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__ORDERED = 1;
+
+ /**
+ * The feature id for the '<em><b>Non Unique</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__NON_UNIQUE = 2;
+
+ /**
+ * The feature id for the '<em><b>Sequence</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY__SEQUENCE = 3;
+
+ /**
+ * The number of structural features of the '<em>Multiplicity</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
+ * @generated
+ */
+ int MULTIPLICITY_RANGE = 7;
+
+ /**
+ * The feature id for the '<em><b>Lower</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE__LOWER = 0;
+
+ /**
+ * The feature id for the '<em><b>Upper</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE__UPPER = 1;
+
+ /**
+ * The number of structural features of the '<em>Multiplicity Range</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MULTIPLICITY_RANGE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX = 8;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = 0;
+
+ /**
+ * The number of structural features of the '<em>NUMBER LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX = 9;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
+
+ /**
+ * The number of structural features of the '<em>INTEGER LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INTEGER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX = 10;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
+
+ /**
+ * The number of structural features of the '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNLIMITED_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
+ * @generated
+ */
+ int TYPE_NAME = 11;
+
+ /**
+ * The feature id for the '<em><b>Qualified Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_NAME__QUALIFIED_NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>Type Name</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TYPE_NAME_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
+ * @generated
+ */
+ int REDEFINITION_CLAUSE = 12;
+
+ /**
+ * The feature id for the '<em><b>Redefined Operations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = 0;
+
+ /**
+ * The number of structural features of the '<em>Redefinition Clause</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int REDEFINITION_CLAUSE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
+ * @generated
+ */
+ int VISIBILITY_INDICATOR = 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
+ * @generated
+ */
+ int PARAMETER_DIRECTION = 14;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Definition Or Stub</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
+ * @generated
+ */
+ EClass getOperationDefinitionOrStub();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Declaration</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration()
+ * @see #getOperationDefinitionOrStub()
+ * @generated
+ */
+ EReference getOperationDefinitionOrStub_Declaration();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Body</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody()
+ * @see #getOperationDefinitionOrStub()
+ * @generated
+ */
+ EReference getOperationDefinitionOrStub_Body();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Declaration</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
+ * @generated
+ */
+ EClass getOperationDeclaration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Visibility Indicator</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_VisibilityIndicator();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Abstract</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_Abstract();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EAttribute getOperationDeclaration_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Formal Parameters</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_FormalParameters();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Return Type</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_ReturnType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Redefinition</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition()
+ * @see #getOperationDeclaration()
+ * @generated
+ */
+ EReference getOperationDeclaration_Redefinition();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameters</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
+ * @generated
+ */
+ EClass getFormalParameters();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Formal Parameter List</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList()
+ * @see #getFormalParameters()
+ * @generated
+ */
+ EReference getFormalParameters_FormalParameterList();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameter List</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
+ * @generated
+ */
+ EClass getFormalParameterList();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Formal Parameter</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter()
+ * @see #getFormalParameterList()
+ * @generated
+ */
+ EReference getFormalParameterList_FormalParameter();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Formal Parameter</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
+ * @generated
+ */
+ EClass getFormalParameter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EAttribute getFormalParameter_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EAttribute getFormalParameter_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Type</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType()
+ * @see #getFormalParameter()
+ * @generated
+ */
+ EReference getFormalParameter_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Type Part</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
+ * @generated
+ */
+ EClass getTypePart();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Type Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName()
+ * @see #getTypePart()
+ * @generated
+ */
+ EReference getTypePart_TypeName();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Multiplicity</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity()
+ * @see #getTypePart()
+ * @generated
+ */
+ EReference getTypePart_Multiplicity();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Multiplicity</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
+ * @generated
+ */
+ EClass getMultiplicity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Range</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EReference getMultiplicity_Range();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Ordered</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_Ordered();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Non Unique</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_NonUnique();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sequence</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence()
+ * @see #getMultiplicity()
+ * @generated
+ */
+ EAttribute getMultiplicity_Sequence();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Multiplicity Range</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
+ * @generated
+ */
+ EClass getMultiplicityRange();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Lower</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower()
+ * @see #getMultiplicityRange()
+ * @generated
+ */
+ EReference getMultiplicityRange_Lower();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Upper</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper()
+ * @see #getMultiplicityRange()
+ * @generated
+ */
+ EReference getMultiplicityRange_Upper();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue()
+ * @see #getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Type Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
+ * @generated
+ */
+ EClass getTypeName();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Qualified Name</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName()
+ * @see #getTypeName()
+ * @generated
+ */
+ EReference getTypeName_QualifiedName();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Redefinition Clause</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
+ * @generated
+ */
+ EClass getRedefinitionClause();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Redefined Operations</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations()
+ * @see #getRedefinitionClause()
+ * @generated
+ */
+ EReference getRedefinitionClause_RedefinedOperations();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Visibility Indicator</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @generated
+ */
+ EEnum getVisibilityIndicator();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Parameter Direction</em>'.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @generated
+ */
+ EEnum getParameterDirection();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ OperationFactory getOperationFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals
+ {
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
+ * @generated
+ */
+ EClass OPERATION_DEFINITION_OR_STUB = eINSTANCE.getOperationDefinitionOrStub();
+
+ /**
+ * The meta object literal for the '<em><b>Declaration</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DEFINITION_OR_STUB__DECLARATION = eINSTANCE.getOperationDefinitionOrStub_Declaration();
+
+ /**
+ * The meta object literal for the '<em><b>Body</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DEFINITION_OR_STUB__BODY = eINSTANCE.getOperationDefinitionOrStub_Body();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
+ * @generated
+ */
+ EClass OPERATION_DECLARATION = eINSTANCE.getOperationDeclaration();
+
+ /**
+ * The meta object literal for the '<em><b>Visibility Indicator</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__VISIBILITY_INDICATOR = eINSTANCE.getOperationDeclaration_VisibilityIndicator();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__ABSTRACT = eINSTANCE.getOperationDeclaration_Abstract();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OPERATION_DECLARATION__NAME = eINSTANCE.getOperationDeclaration_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameters</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__FORMAL_PARAMETERS = eINSTANCE.getOperationDeclaration_FormalParameters();
+
+ /**
+ * The meta object literal for the '<em><b>Return Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__RETURN_TYPE = eINSTANCE.getOperationDeclaration_ReturnType();
+
+ /**
+ * The meta object literal for the '<em><b>Redefinition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference OPERATION_DECLARATION__REDEFINITION = eINSTANCE.getOperationDeclaration_Redefinition();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
+ * @generated
+ */
+ EClass FORMAL_PARAMETERS = eINSTANCE.getFormalParameters();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameter List</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameters_FormalParameterList();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
+ * @generated
+ */
+ EClass FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameterList();
+
+ /**
+ * The meta object literal for the '<em><b>Formal Parameter</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = eINSTANCE.getFormalParameterList_FormalParameter();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
+ * @generated
+ */
+ EClass FORMAL_PARAMETER = eINSTANCE.getFormalParameter();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_PARAMETER__DIRECTION = eINSTANCE.getFormalParameter_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FORMAL_PARAMETER__NAME = eINSTANCE.getFormalParameter_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FORMAL_PARAMETER__TYPE = eINSTANCE.getFormalParameter_Type();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
+ * @generated
+ */
+ EClass TYPE_PART = eINSTANCE.getTypePart();
+
+ /**
+ * The meta object literal for the '<em><b>Type Name</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_PART__TYPE_NAME = eINSTANCE.getTypePart_TypeName();
+
+ /**
+ * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_PART__MULTIPLICITY = eINSTANCE.getTypePart_Multiplicity();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
+ * @generated
+ */
+ EClass MULTIPLICITY = eINSTANCE.getMultiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY__RANGE = eINSTANCE.getMultiplicity_Range();
+
+ /**
+ * The meta object literal for the '<em><b>Ordered</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__ORDERED = eINSTANCE.getMultiplicity_Ordered();
+
+ /**
+ * The meta object literal for the '<em><b>Non Unique</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__NON_UNIQUE = eINSTANCE.getMultiplicity_NonUnique();
+
+ /**
+ * The meta object literal for the '<em><b>Sequence</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MULTIPLICITY__SEQUENCE = eINSTANCE.getMultiplicity_Sequence();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
+ * @generated
+ */
+ EClass MULTIPLICITY_RANGE = eINSTANCE.getMultiplicityRange();
+
+ /**
+ * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY_RANGE__LOWER = eINSTANCE.getMultiplicityRange_Lower();
+
+ /**
+ * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MULTIPLICITY_RANGE__UPPER = eINSTANCE.getMultiplicityRange_Upper();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass NUMBER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass INTEGER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getINTEGER_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ * @generated
+ */
+ EClass UNLIMITED_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
+ * @generated
+ */
+ EClass TYPE_NAME = eINSTANCE.getTypeName();
+
+ /**
+ * The meta object literal for the '<em><b>Qualified Name</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TYPE_NAME__QUALIFIED_NAME = eINSTANCE.getTypeName_QualifiedName();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
+ * @generated
+ */
+ EClass REDEFINITION_CLAUSE = eINSTANCE.getRedefinitionClause();
+
+ /**
+ * The meta object literal for the '<em><b>Redefined Operations</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = eINSTANCE.getRedefinitionClause_RedefinedOperations();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
+ * @generated
+ */
+ EEnum VISIBILITY_INDICATOR = eINSTANCE.getVisibilityIndicator();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
+ * @generated
+ */
+ EEnum PARAMETER_DIRECTION = eINSTANCE.getParameterDirection();
+
+ }
} //OperationPackage
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
index e7cf95503a3..60115e0e7d3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -21,219 +21,234 @@ import org.eclipse.emf.common.util.Enumerator;
* @model
* @generated
*/
-public enum ParameterDirection implements Enumerator {
- /**
- * The '<em><b>IN</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #IN_VALUE
- * @generated
- * @ordered
- */
- IN(0, "IN", "in"),
-
- /**
- * The '<em><b>OUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #OUT_VALUE
- * @generated
- * @ordered
- */
- OUT(1, "OUT", "out"),
-
- /**
- * The '<em><b>INOUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INOUT_VALUE
- * @generated
- * @ordered
- */
- INOUT(2, "INOUT", "inout");
-
- /**
- * The '<em><b>IN</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #IN
- * @model literal="in"
- * @generated
- * @ordered
- */
- public static final int IN_VALUE = 0;
-
- /**
- * The '<em><b>OUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #OUT
- * @model literal="out"
- * @generated
- * @ordered
- */
- public static final int OUT_VALUE = 1;
-
- /**
- * The '<em><b>INOUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INOUT
- * @model literal="inout"
- * @generated
- * @ordered
- */
- public static final int INOUT_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ParameterDirection[] VALUES_ARRAY =
- new ParameterDirection[] {
- IN,
- OUT,
- INOUT,
- };
-
- /**
- * A public read-only list of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<ParameterDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ParameterDirection get(int value) {
- switch (value) {
- case IN_VALUE: return IN;
- case OUT_VALUE: return OUT;
- case INOUT_VALUE: return INOUT;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ParameterDirection(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
+public enum ParameterDirection implements Enumerator
+{
+ /**
+ * The '<em><b>IN</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #IN_VALUE
+ * @generated
+ * @ordered
+ */
+ IN(0, "IN", "in"),
+
+ /**
+ * The '<em><b>OUT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #OUT_VALUE
+ * @generated
+ * @ordered
+ */
+ OUT(1, "OUT", "out"),
+
+ /**
+ * The '<em><b>INOUT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INOUT_VALUE
+ * @generated
+ * @ordered
+ */
+ INOUT(2, "INOUT", "inout");
+
+ /**
+ * The '<em><b>IN</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #IN
+ * @model literal="in"
+ * @generated
+ * @ordered
+ */
+ public static final int IN_VALUE = 0;
+
+ /**
+ * The '<em><b>OUT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #OUT
+ * @model literal="out"
+ * @generated
+ * @ordered
+ */
+ public static final int OUT_VALUE = 1;
+
+ /**
+ * The '<em><b>INOUT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INOUT
+ * @model literal="inout"
+ * @generated
+ * @ordered
+ */
+ public static final int INOUT_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Parameter Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final ParameterDirection[] VALUES_ARRAY =
+ new ParameterDirection[]
+ {
+ IN,
+ OUT,
+ INOUT,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Parameter Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<ParameterDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ParameterDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ ParameterDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ParameterDirection get(int value)
+ {
+ switch (value)
+ {
+ case IN_VALUE: return IN;
+ case OUT_VALUE: return OUT;
+ case INOUT_VALUE: return INOUT;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private ParameterDirection(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
} //ParameterDirection
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
index f0b5f0d2fe7..f11adcc4c36 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,31 +26,32 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameList;
* @model
* @generated
*/
-public interface RedefinitionClause extends EObject {
- /**
- * Returns the value of the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefined Operations</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Redefined Operations</em>' containment reference.
- * @see #setRedefinedOperations(QualifiedNameList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause_RedefinedOperations()
- * @model containment="true"
- * @generated
- */
- QualifiedNameList getRedefinedOperations();
+public interface RedefinitionClause extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Redefined Operations</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Redefined Operations</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Redefined Operations</em>' containment reference.
+ * @see #setRedefinedOperations(QualifiedNameList)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause_RedefinedOperations()
+ * @model containment="true"
+ * @generated
+ */
+ QualifiedNameList getRedefinedOperations();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Redefined Operations</em>' containment reference.
- * @see #getRedefinedOperations()
- * @generated
- */
- void setRedefinedOperations(QualifiedNameList value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Redefined Operations</em>' containment reference.
+ * @see #getRedefinedOperations()
+ * @generated
+ */
+ void setRedefinedOperations(QualifiedNameList value);
} // RedefinitionClause
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
index 86bfedfc7c4..efd835731aa 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -26,31 +26,32 @@ import org.eclipse.papyrus.alf.alf.QualifiedNameWithBinding;
* @model
* @generated
*/
-public interface TypeName extends EObject {
- /**
- * Returns the value of the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Qualified Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Qualified Name</em>' containment reference.
- * @see #setQualifiedName(QualifiedNameWithBinding)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName_QualifiedName()
- * @model containment="true"
- * @generated
- */
- QualifiedNameWithBinding getQualifiedName();
+public interface TypeName extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Qualified Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Qualified Name</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Qualified Name</em>' containment reference.
+ * @see #setQualifiedName(QualifiedNameWithBinding)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName_QualifiedName()
+ * @model containment="true"
+ * @generated
+ */
+ QualifiedNameWithBinding getQualifiedName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Qualified Name</em>' containment reference.
- * @see #getQualifiedName()
- * @generated
- */
- void setQualifiedName(QualifiedNameWithBinding value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Qualified Name</em>' containment reference.
+ * @see #getQualifiedName()
+ * @generated
+ */
+ void setQualifiedName(QualifiedNameWithBinding value);
} // TypeName
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
index 79e8f2345cf..0dd9f3c24cc 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -25,57 +25,58 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface TypePart extends EObject {
- /**
- * Returns the value of the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Name</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Name</em>' containment reference.
- * @see #setTypeName(TypeName)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_TypeName()
- * @model containment="true"
- * @generated
- */
- TypeName getTypeName();
+public interface TypePart extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Type Name</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type Name</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type Name</em>' containment reference.
+ * @see #setTypeName(TypeName)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_TypeName()
+ * @model containment="true"
+ * @generated
+ */
+ TypeName getTypeName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Name</em>' containment reference.
- * @see #getTypeName()
- * @generated
- */
- void setTypeName(TypeName value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type Name</em>' containment reference.
+ * @see #getTypeName()
+ * @generated
+ */
+ void setTypeName(TypeName value);
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' containment reference.
- * @see #setMultiplicity(Multiplicity)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_Multiplicity()
- * @model containment="true"
- * @generated
- */
- Multiplicity getMultiplicity();
+ /**
+ * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Multiplicity</em>' containment reference.
+ * @see #setMultiplicity(Multiplicity)
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_Multiplicity()
+ * @model containment="true"
+ * @generated
+ */
+ Multiplicity getMultiplicity();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' containment reference.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(Multiplicity value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Multiplicity</em>' containment reference.
+ * @see #getMultiplicity()
+ * @generated
+ */
+ void setMultiplicity(Multiplicity value);
} // TypePart
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
index 44022f553bb..245813a2bab 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -17,5 +17,6 @@ package org.eclipse.papyrus.operation.editor.xtext.operation;
* @model
* @generated
*/
-public interface UNLIMITED_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX {
+public interface UNLIMITED_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
+{
} // UNLIMITED_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
index 28d1b955792..156f4f6790b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation;
@@ -21,219 +21,234 @@ import org.eclipse.emf.common.util.Enumerator;
* @model
* @generated
*/
-public enum VisibilityIndicator implements Enumerator {
- /**
- * The '<em><b>PUBLIC</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PUBLIC_VALUE
- * @generated
- * @ordered
- */
- PUBLIC(0, "PUBLIC", "public"),
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PRIVATE_VALUE
- * @generated
- * @ordered
- */
- PRIVATE(1, "PRIVATE", "private"),
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PROTECTED_VALUE
- * @generated
- * @ordered
- */
- PROTECTED(2, "PROTECTED", "protected");
-
- /**
- * The '<em><b>PUBLIC</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PUBLIC
- * @model literal="public"
- * @generated
- * @ordered
- */
- public static final int PUBLIC_VALUE = 0;
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PRIVATE
- * @model literal="private"
- * @generated
- * @ordered
- */
- public static final int PRIVATE_VALUE = 1;
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PROTECTED
- * @model literal="protected"
- * @generated
- * @ordered
- */
- public static final int PROTECTED_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final VisibilityIndicator[] VALUES_ARRAY =
- new VisibilityIndicator[] {
- PUBLIC,
- PRIVATE,
- PROTECTED,
- };
-
- /**
- * A public read-only list of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<VisibilityIndicator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VisibilityIndicator get(int value) {
- switch (value) {
- case PUBLIC_VALUE: return PUBLIC;
- case PRIVATE_VALUE: return PRIVATE;
- case PROTECTED_VALUE: return PROTECTED;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private VisibilityIndicator(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
+public enum VisibilityIndicator implements Enumerator
+{
+ /**
+ * The '<em><b>PUBLIC</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PUBLIC_VALUE
+ * @generated
+ * @ordered
+ */
+ PUBLIC(0, "PUBLIC", "public"),
+
+ /**
+ * The '<em><b>PRIVATE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PRIVATE_VALUE
+ * @generated
+ * @ordered
+ */
+ PRIVATE(1, "PRIVATE", "private"),
+
+ /**
+ * The '<em><b>PROTECTED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PROTECTED_VALUE
+ * @generated
+ * @ordered
+ */
+ PROTECTED(2, "PROTECTED", "protected");
+
+ /**
+ * The '<em><b>PUBLIC</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PUBLIC
+ * @model literal="public"
+ * @generated
+ * @ordered
+ */
+ public static final int PUBLIC_VALUE = 0;
+
+ /**
+ * The '<em><b>PRIVATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PRIVATE
+ * @model literal="private"
+ * @generated
+ * @ordered
+ */
+ public static final int PRIVATE_VALUE = 1;
+
+ /**
+ * The '<em><b>PROTECTED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #PROTECTED
+ * @model literal="protected"
+ * @generated
+ * @ordered
+ */
+ public static final int PROTECTED_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Visibility Indicator</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final VisibilityIndicator[] VALUES_ARRAY =
+ new VisibilityIndicator[]
+ {
+ PUBLIC,
+ PRIVATE,
+ PROTECTED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Visibility Indicator</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<VisibilityIndicator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ VisibilityIndicator result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ VisibilityIndicator result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static VisibilityIndicator get(int value)
+ {
+ switch (value)
+ {
+ case PUBLIC_VALUE: return PUBLIC;
+ case PRIVATE_VALUE: return PRIVATE;
+ case PROTECTED_VALUE: return PROTECTED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private VisibilityIndicator(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
} //VisibilityIndicator
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
index b7dc391f972..9dc0d70605e 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,269 +35,292 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*
* @generated
*/
-public class FormalParameterImpl extends MinimalEObjectImpl.Container implements FormalParameter {
- /**
- * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected static final ParameterDirection DIRECTION_EDEFAULT = ParameterDirection.IN;
+public class FormalParameterImpl extends MinimalEObjectImpl.Container implements FormalParameter
+{
+ /**
+ * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final ParameterDirection DIRECTION_EDEFAULT = ParameterDirection.IN;
- /**
- * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected ParameterDirection direction = DIRECTION_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected ParameterDirection direction = DIRECTION_EDEFAULT;
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected TypePart type;
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected TypePart type;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParameterImpl() {
- super();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParameterImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.FORMAL_PARAMETER;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.FORMAL_PARAMETER;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParameterDirection getDirection() {
- return direction;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParameterDirection getDirection()
+ {
+ return direction;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDirection(ParameterDirection newDirection) {
- ParameterDirection oldDirection = direction;
- direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__DIRECTION, oldDirection, direction));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection(ParameterDirection newDirection)
+ {
+ ParameterDirection oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__DIRECTION, oldDirection, direction));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__NAME, oldName, name));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__NAME, oldName, name));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart getType() {
- return type;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart getType()
+ {
+ return type;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetType(TypePart newType, NotificationChain msgs) {
- TypePart oldType = type;
- type = newType;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, oldType, newType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetType(TypePart newType, NotificationChain msgs)
+ {
+ TypePart oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, oldType, newType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(TypePart newType) {
- if (newType != type) {
- NotificationChain msgs = null;
- if (type != null)
- msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- if (newType != null)
- msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- msgs = basicSetType(newType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, newType, newType));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(TypePart newType)
+ {
+ if (newType != type)
+ {
+ NotificationChain msgs = null;
+ if (type != null)
+ msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
+ if (newType != null)
+ msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
+ msgs = basicSetType(newType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, newType, newType));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return basicSetType(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return basicSetType(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return getDirection();
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return getName();
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return getType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ return getDirection();
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ return getName();
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection((ParameterDirection)newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName((String)newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ setDirection((ParameterDirection)newValue);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ setName((String)newValue);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ setType((TypePart)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart)null);
- return;
- }
- super.eUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ setType((TypePart)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return type != null;
- }
- return super.eIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
+ case OperationPackage.FORMAL_PARAMETER__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OperationPackage.FORMAL_PARAMETER__TYPE:
+ return type != null;
+ }
+ return super.eIsSet(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (direction: ");
- result.append(direction);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (direction: ");
+ result.append(direction);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
} //FormalParameterImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
index bc4e46d992d..3564ea2981b 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -37,120 +37,135 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class FormalParameterListImpl extends MinimalEObjectImpl.Container implements FormalParameterList {
- /**
- * The cached value of the '{@link #getFormalParameter() <em>Formal Parameter</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameter()
- * @generated
- * @ordered
- */
- protected EList<FormalParameter> formalParameter;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParameterListImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.FORMAL_PARAMETER_LIST;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<FormalParameter> getFormalParameter() {
- if (formalParameter == null) {
- formalParameter = new EObjectContainmentEList<FormalParameter>(FormalParameter.class, this, OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
- }
- return formalParameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return ((InternalEList<?>)getFormalParameter()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return getFormalParameter();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- getFormalParameter().addAll((Collection<? extends FormalParameter>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return formalParameter != null && !formalParameter.isEmpty();
- }
- return super.eIsSet(featureID);
- }
+public class FormalParameterListImpl extends MinimalEObjectImpl.Container implements FormalParameterList
+{
+ /**
+ * The cached value of the '{@link #getFormalParameter() <em>Formal Parameter</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameter()
+ * @generated
+ * @ordered
+ */
+ protected EList<FormalParameter> formalParameter;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParameterListImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.FORMAL_PARAMETER_LIST;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<FormalParameter> getFormalParameter()
+ {
+ if (formalParameter == null)
+ {
+ formalParameter = new EObjectContainmentEList<FormalParameter>(FormalParameter.class, this, OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
+ }
+ return formalParameter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return ((InternalEList<?>)getFormalParameter()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return getFormalParameter();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ getFormalParameter().clear();
+ getFormalParameter().addAll((Collection<? extends FormalParameter>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ getFormalParameter().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
+ return formalParameter != null && !formalParameter.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
} //FormalParameterListImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
index 83a4ede493b..ce374654c79 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -32,149 +32,167 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class FormalParametersImpl extends MinimalEObjectImpl.Container implements FormalParameters {
- /**
- * The cached value of the '{@link #getFormalParameterList() <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameterList()
- * @generated
- * @ordered
- */
- protected FormalParameterList formalParameterList;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected FormalParametersImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.FORMAL_PARAMETERS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameterList getFormalParameterList() {
- return formalParameterList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFormalParameterList(FormalParameterList newFormalParameterList, NotificationChain msgs) {
- FormalParameterList oldFormalParameterList = formalParameterList;
- formalParameterList = newFormalParameterList;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, oldFormalParameterList, newFormalParameterList);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFormalParameterList(FormalParameterList newFormalParameterList) {
- if (newFormalParameterList != formalParameterList) {
- NotificationChain msgs = null;
- if (formalParameterList != null)
- msgs = ((InternalEObject)formalParameterList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- if (newFormalParameterList != null)
- msgs = ((InternalEObject)newFormalParameterList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- msgs = basicSetFormalParameterList(newFormalParameterList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, newFormalParameterList, newFormalParameterList));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return basicSetFormalParameterList(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return getFormalParameterList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return formalParameterList != null;
- }
- return super.eIsSet(featureID);
- }
+public class FormalParametersImpl extends MinimalEObjectImpl.Container implements FormalParameters
+{
+ /**
+ * The cached value of the '{@link #getFormalParameterList() <em>Formal Parameter List</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameterList()
+ * @generated
+ * @ordered
+ */
+ protected FormalParameterList formalParameterList;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FormalParametersImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.FORMAL_PARAMETERS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameterList getFormalParameterList()
+ {
+ return formalParameterList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFormalParameterList(FormalParameterList newFormalParameterList, NotificationChain msgs)
+ {
+ FormalParameterList oldFormalParameterList = formalParameterList;
+ formalParameterList = newFormalParameterList;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, oldFormalParameterList, newFormalParameterList);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFormalParameterList(FormalParameterList newFormalParameterList)
+ {
+ if (newFormalParameterList != formalParameterList)
+ {
+ NotificationChain msgs = null;
+ if (formalParameterList != null)
+ msgs = ((InternalEObject)formalParameterList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
+ if (newFormalParameterList != null)
+ msgs = ((InternalEObject)newFormalParameterList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
+ msgs = basicSetFormalParameterList(newFormalParameterList, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, newFormalParameterList, newFormalParameterList));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return basicSetFormalParameterList(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return getFormalParameterList();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ setFormalParameterList((FormalParameterList)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ setFormalParameterList((FormalParameterList)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
+ return formalParameterList != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //FormalParametersImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
index be8847ead5c..614e63d8e76 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -20,24 +20,27 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class INTEGER_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements INTEGER_LITERAL_WITHOUT_SUFFIX {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected INTEGER_LITERAL_WITHOUT_SUFFIXImpl() {
- super();
- }
+public class INTEGER_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements INTEGER_LITERAL_WITHOUT_SUFFIX
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected INTEGER_LITERAL_WITHOUT_SUFFIXImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.INTEGER_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.INTEGER_LITERAL_WITHOUT_SUFFIX;
+ }
} //INTEGER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
index 239661a2a25..7e61e042bad 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,322 +35,347 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity {
- /**
- * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRange()
- * @generated
- * @ordered
- */
- protected MultiplicityRange range;
+public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity
+{
+ /**
+ * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRange()
+ * @generated
+ * @ordered
+ */
+ protected MultiplicityRange range;
- /**
- * The default value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected static final boolean ORDERED_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrdered()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ORDERED_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected boolean ordered = ORDERED_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrdered()
+ * @generated
+ * @ordered
+ */
+ protected boolean ordered = ORDERED_EDEFAULT;
- /**
- * The default value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected static final boolean NON_UNIQUE_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonUnique()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_UNIQUE_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected boolean nonUnique = NON_UNIQUE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonUnique()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonUnique = NON_UNIQUE_EDEFAULT;
- /**
- * The default value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected static final boolean SEQUENCE_EDEFAULT = false;
+ /**
+ * The default value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSequence()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean SEQUENCE_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected boolean sequence = SEQUENCE_EDEFAULT;
+ /**
+ * The cached value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSequence()
+ * @generated
+ * @ordered
+ */
+ protected boolean sequence = SEQUENCE_EDEFAULT;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MultiplicityImpl() {
- super();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MultiplicityImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.MULTIPLICITY;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.MULTIPLICITY;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicityRange getRange() {
- return range;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiplicityRange getRange()
+ {
+ return range;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRange(MultiplicityRange newRange, NotificationChain msgs) {
- MultiplicityRange oldRange = range;
- range = newRange;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, oldRange, newRange);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRange(MultiplicityRange newRange, NotificationChain msgs)
+ {
+ MultiplicityRange oldRange = range;
+ range = newRange;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, oldRange, newRange);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRange(MultiplicityRange newRange) {
- if (newRange != range) {
- NotificationChain msgs = null;
- if (range != null)
- msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- if (newRange != null)
- msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- msgs = basicSetRange(newRange, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, newRange, newRange));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRange(MultiplicityRange newRange)
+ {
+ if (newRange != range)
+ {
+ NotificationChain msgs = null;
+ if (range != null)
+ msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
+ if (newRange != null)
+ msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
+ msgs = basicSetRange(newRange, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, newRange, newRange));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isOrdered() {
- return ordered;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isOrdered()
+ {
+ return ordered;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOrdered(boolean newOrdered) {
- boolean oldOrdered = ordered;
- ordered = newOrdered;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__ORDERED, oldOrdered, ordered));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrdered(boolean newOrdered)
+ {
+ boolean oldOrdered = ordered;
+ ordered = newOrdered;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__ORDERED, oldOrdered, ordered));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isNonUnique() {
- return nonUnique;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isNonUnique()
+ {
+ return nonUnique;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNonUnique(boolean newNonUnique) {
- boolean oldNonUnique = nonUnique;
- nonUnique = newNonUnique;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__NON_UNIQUE, oldNonUnique, nonUnique));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setNonUnique(boolean newNonUnique)
+ {
+ boolean oldNonUnique = nonUnique;
+ nonUnique = newNonUnique;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__NON_UNIQUE, oldNonUnique, nonUnique));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSequence() {
- return sequence;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSequence()
+ {
+ return sequence;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSequence(boolean newSequence) {
- boolean oldSequence = sequence;
- sequence = newSequence;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__SEQUENCE, oldSequence, sequence));
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSequence(boolean newSequence)
+ {
+ boolean oldSequence = sequence;
+ sequence = newSequence;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__SEQUENCE, oldSequence, sequence));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY__RANGE:
- return basicSetRange(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return basicSetRange(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY__RANGE:
- return getRange();
- case OperationPackage.MULTIPLICITY__ORDERED:
- return isOrdered();
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return isNonUnique();
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return isSequence();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return getRange();
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ return isOrdered();
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ return isNonUnique();
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ return isSequence();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange)newValue);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered((Boolean)newValue);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique((Boolean)newValue);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ setRange((MultiplicityRange)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ setOrdered((Boolean)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ setNonUnique((Boolean)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ setSequence((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange)null);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered(ORDERED_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique(NON_UNIQUE_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence(SEQUENCE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ setRange((MultiplicityRange)null);
+ return;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ setOrdered(ORDERED_EDEFAULT);
+ return;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ setNonUnique(NON_UNIQUE_EDEFAULT);
+ return;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ setSequence(SEQUENCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY__RANGE:
- return range != null;
- case OperationPackage.MULTIPLICITY__ORDERED:
- return ordered != ORDERED_EDEFAULT;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return nonUnique != NON_UNIQUE_EDEFAULT;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return sequence != SEQUENCE_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY__RANGE:
+ return range != null;
+ case OperationPackage.MULTIPLICITY__ORDERED:
+ return ordered != ORDERED_EDEFAULT;
+ case OperationPackage.MULTIPLICITY__NON_UNIQUE:
+ return nonUnique != NON_UNIQUE_EDEFAULT;
+ case OperationPackage.MULTIPLICITY__SEQUENCE:
+ return sequence != SEQUENCE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (ordered: ");
- result.append(ordered);
- result.append(", nonUnique: ");
- result.append(nonUnique);
- result.append(", sequence: ");
- result.append(sequence);
- result.append(')');
- return result.toString();
- }
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (ordered: ");
+ result.append(ordered);
+ result.append(", nonUnique: ");
+ result.append(nonUnique);
+ result.append(", sequence: ");
+ result.append(sequence);
+ result.append(')');
+ return result.toString();
+ }
} //MultiplicityImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
index 64baa5a18c5..10a3f15f1d1 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,214 +33,237 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class MultiplicityRangeImpl extends MinimalEObjectImpl.Container implements MultiplicityRange {
- /**
- * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLower()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX lower;
-
- /**
- * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUpper()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX upper;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MultiplicityRangeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.MULTIPLICITY_RANGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getLower() {
- return lower;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower, NotificationChain msgs) {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldLower = lower;
- lower = newLower;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, oldLower, newLower);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower) {
- if (newLower != lower) {
- NotificationChain msgs = null;
- if (lower != null)
- msgs = ((InternalEObject)lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- if (newLower != null)
- msgs = ((InternalEObject)newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- msgs = basicSetLower(newLower, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, newLower, newLower));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getUpper() {
- return upper;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper, NotificationChain msgs) {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldUpper = upper;
- upper = newUpper;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, oldUpper, newUpper);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper) {
- if (newUpper != upper) {
- NotificationChain msgs = null;
- if (upper != null)
- msgs = ((InternalEObject)upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- if (newUpper != null)
- msgs = ((InternalEObject)newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- msgs = basicSetUpper(newUpper, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, newUpper, newUpper));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return basicSetLower(null, msgs);
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return basicSetUpper(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return getLower();
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return getUpper();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return lower != null;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return upper != null;
- }
- return super.eIsSet(featureID);
- }
+public class MultiplicityRangeImpl extends MinimalEObjectImpl.Container implements MultiplicityRange
+{
+ /**
+ * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLower()
+ * @generated
+ * @ordered
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIX lower;
+
+ /**
+ * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpper()
+ * @generated
+ * @ordered
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIX upper;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MultiplicityRangeImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.MULTIPLICITY_RANGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX getLower()
+ {
+ return lower;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower, NotificationChain msgs)
+ {
+ NUMBER_LITERAL_WITHOUT_SUFFIX oldLower = lower;
+ lower = newLower;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, oldLower, newLower);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower)
+ {
+ if (newLower != lower)
+ {
+ NotificationChain msgs = null;
+ if (lower != null)
+ msgs = ((InternalEObject)lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
+ if (newLower != null)
+ msgs = ((InternalEObject)newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
+ msgs = basicSetLower(newLower, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, newLower, newLower));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX getUpper()
+ {
+ return upper;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper, NotificationChain msgs)
+ {
+ NUMBER_LITERAL_WITHOUT_SUFFIX oldUpper = upper;
+ upper = newUpper;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, oldUpper, newUpper);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper)
+ {
+ if (newUpper != upper)
+ {
+ NotificationChain msgs = null;
+ if (upper != null)
+ msgs = ((InternalEObject)upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
+ if (newUpper != null)
+ msgs = ((InternalEObject)newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
+ msgs = basicSetUpper(newUpper, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, newUpper, newUpper));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return basicSetLower(null, msgs);
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return basicSetUpper(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return getLower();
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return getUpper();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
+ return;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ setLower((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
+ return;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.MULTIPLICITY_RANGE__LOWER:
+ return lower != null;
+ case OperationPackage.MULTIPLICITY_RANGE__UPPER:
+ return upper != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //MultiplicityRangeImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
index d7fb9d14206..d4c096d044c 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -29,139 +29,153 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class NUMBER_LITERAL_WITHOUT_SUFFIXImpl extends MinimalEObjectImpl.Container implements NUMBER_LITERAL_WITHOUT_SUFFIX {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIXImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.NUMBER_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- setValue((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
+public class NUMBER_LITERAL_WITHOUT_SUFFIXImpl extends MinimalEObjectImpl.Container implements NUMBER_LITERAL_WITHOUT_SUFFIX
+{
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NUMBER_LITERAL_WITHOUT_SUFFIXImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.NUMBER_LITERAL_WITHOUT_SUFFIX;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
} //NUMBER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
index 08981d9ce60..bc1af064110 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -40,452 +40,487 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
*
* @generated
*/
-public class OperationDeclarationImpl extends MinimalEObjectImpl.Container implements OperationDeclaration {
- /**
- * The default value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected static final VisibilityIndicator VISIBILITY_INDICATOR_EDEFAULT = VisibilityIndicator.PUBLIC;
-
- /**
- * The cached value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected VisibilityIndicator visibilityIndicator = VISIBILITY_INDICATOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected static final boolean ABSTRACT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected boolean abstract_ = ABSTRACT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getFormalParameters() <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormalParameters()
- * @generated
- * @ordered
- */
- protected FormalParameters formalParameters;
-
- /**
- * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReturnType()
- * @generated
- * @ordered
- */
- protected TypePart returnType;
-
- /**
- * The cached value of the '{@link #getRedefinition() <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRedefinition()
- * @generated
- * @ordered
- */
- protected RedefinitionClause redefinition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationDeclarationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.OPERATION_DECLARATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityIndicator getVisibilityIndicator() {
- return visibilityIndicator;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVisibilityIndicator(VisibilityIndicator newVisibilityIndicator) {
- VisibilityIndicator oldVisibilityIndicator = visibilityIndicator;
- visibilityIndicator = newVisibilityIndicator == null ? VISIBILITY_INDICATOR_EDEFAULT : newVisibilityIndicator;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR, oldVisibilityIndicator, visibilityIndicator));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isAbstract() {
- return abstract_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAbstract(boolean newAbstract) {
- boolean oldAbstract = abstract_;
- abstract_ = newAbstract;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__ABSTRACT, oldAbstract, abstract_));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameters getFormalParameters() {
- return formalParameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFormalParameters(FormalParameters newFormalParameters, NotificationChain msgs) {
- FormalParameters oldFormalParameters = formalParameters;
- formalParameters = newFormalParameters;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, oldFormalParameters, newFormalParameters);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFormalParameters(FormalParameters newFormalParameters) {
- if (newFormalParameters != formalParameters) {
- NotificationChain msgs = null;
- if (formalParameters != null)
- msgs = ((InternalEObject)formalParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- if (newFormalParameters != null)
- msgs = ((InternalEObject)newFormalParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- msgs = basicSetFormalParameters(newFormalParameters, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, newFormalParameters, newFormalParameters));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart getReturnType() {
- return returnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetReturnType(TypePart newReturnType, NotificationChain msgs) {
- TypePart oldReturnType = returnType;
- returnType = newReturnType;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, oldReturnType, newReturnType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setReturnType(TypePart newReturnType) {
- if (newReturnType != returnType) {
- NotificationChain msgs = null;
- if (returnType != null)
- msgs = ((InternalEObject)returnType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- if (newReturnType != null)
- msgs = ((InternalEObject)newReturnType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- msgs = basicSetReturnType(newReturnType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, newReturnType, newReturnType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RedefinitionClause getRedefinition() {
- return redefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRedefinition(RedefinitionClause newRedefinition, NotificationChain msgs) {
- RedefinitionClause oldRedefinition = redefinition;
- redefinition = newRedefinition;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, oldRedefinition, newRedefinition);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRedefinition(RedefinitionClause newRedefinition) {
- if (newRedefinition != redefinition) {
- NotificationChain msgs = null;
- if (redefinition != null)
- msgs = ((InternalEObject)redefinition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- if (newRedefinition != null)
- msgs = ((InternalEObject)newRedefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- msgs = basicSetRedefinition(newRedefinition, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, newRedefinition, newRedefinition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return basicSetFormalParameters(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return basicSetReturnType(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return basicSetRedefinition(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return getVisibilityIndicator();
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return isAbstract();
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return getName();
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return getFormalParameters();
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return getReturnType();
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return getRedefinition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator((VisibilityIndicator)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract((Boolean)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName((String)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart)newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator(VISIBILITY_INDICATOR_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract(ABSTRACT_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters)null);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart)null);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return visibilityIndicator != VISIBILITY_INDICATOR_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return abstract_ != ABSTRACT_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return formalParameters != null;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return returnType != null;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return redefinition != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (visibilityIndicator: ");
- result.append(visibilityIndicator);
- result.append(", abstract: ");
- result.append(abstract_);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
+public class OperationDeclarationImpl extends MinimalEObjectImpl.Container implements OperationDeclaration
+{
+ /**
+ * The default value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVisibilityIndicator()
+ * @generated
+ * @ordered
+ */
+ protected static final VisibilityIndicator VISIBILITY_INDICATOR_EDEFAULT = VisibilityIndicator.PUBLIC;
+
+ /**
+ * The cached value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVisibilityIndicator()
+ * @generated
+ * @ordered
+ */
+ protected VisibilityIndicator visibilityIndicator = VISIBILITY_INDICATOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ABSTRACT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAbstract()
+ * @generated
+ * @ordered
+ */
+ protected boolean abstract_ = ABSTRACT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getFormalParameters() <em>Formal Parameters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFormalParameters()
+ * @generated
+ * @ordered
+ */
+ protected FormalParameters formalParameters;
+
+ /**
+ * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReturnType()
+ * @generated
+ * @ordered
+ */
+ protected TypePart returnType;
+
+ /**
+ * The cached value of the '{@link #getRedefinition() <em>Redefinition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRedefinition()
+ * @generated
+ * @ordered
+ */
+ protected RedefinitionClause redefinition;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationDeclarationImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.OPERATION_DECLARATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VisibilityIndicator getVisibilityIndicator()
+ {
+ return visibilityIndicator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVisibilityIndicator(VisibilityIndicator newVisibilityIndicator)
+ {
+ VisibilityIndicator oldVisibilityIndicator = visibilityIndicator;
+ visibilityIndicator = newVisibilityIndicator == null ? VISIBILITY_INDICATOR_EDEFAULT : newVisibilityIndicator;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR, oldVisibilityIndicator, visibilityIndicator));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAbstract()
+ {
+ return abstract_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAbstract(boolean newAbstract)
+ {
+ boolean oldAbstract = abstract_;
+ abstract_ = newAbstract;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__ABSTRACT, oldAbstract, abstract_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameters getFormalParameters()
+ {
+ return formalParameters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFormalParameters(FormalParameters newFormalParameters, NotificationChain msgs)
+ {
+ FormalParameters oldFormalParameters = formalParameters;
+ formalParameters = newFormalParameters;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, oldFormalParameters, newFormalParameters);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFormalParameters(FormalParameters newFormalParameters)
+ {
+ if (newFormalParameters != formalParameters)
+ {
+ NotificationChain msgs = null;
+ if (formalParameters != null)
+ msgs = ((InternalEObject)formalParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
+ if (newFormalParameters != null)
+ msgs = ((InternalEObject)newFormalParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
+ msgs = basicSetFormalParameters(newFormalParameters, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, newFormalParameters, newFormalParameters));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart getReturnType()
+ {
+ return returnType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReturnType(TypePart newReturnType, NotificationChain msgs)
+ {
+ TypePart oldReturnType = returnType;
+ returnType = newReturnType;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, oldReturnType, newReturnType);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReturnType(TypePart newReturnType)
+ {
+ if (newReturnType != returnType)
+ {
+ NotificationChain msgs = null;
+ if (returnType != null)
+ msgs = ((InternalEObject)returnType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
+ if (newReturnType != null)
+ msgs = ((InternalEObject)newReturnType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
+ msgs = basicSetReturnType(newReturnType, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, newReturnType, newReturnType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RedefinitionClause getRedefinition()
+ {
+ return redefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRedefinition(RedefinitionClause newRedefinition, NotificationChain msgs)
+ {
+ RedefinitionClause oldRedefinition = redefinition;
+ redefinition = newRedefinition;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, oldRedefinition, newRedefinition);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRedefinition(RedefinitionClause newRedefinition)
+ {
+ if (newRedefinition != redefinition)
+ {
+ NotificationChain msgs = null;
+ if (redefinition != null)
+ msgs = ((InternalEObject)redefinition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
+ if (newRedefinition != null)
+ msgs = ((InternalEObject)newRedefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
+ msgs = basicSetRedefinition(newRedefinition, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, newRedefinition, newRedefinition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return basicSetFormalParameters(null, msgs);
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return basicSetReturnType(null, msgs);
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return basicSetRedefinition(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ return getVisibilityIndicator();
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ return isAbstract();
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ return getName();
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return getFormalParameters();
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return getReturnType();
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return getRedefinition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ setVisibilityIndicator((VisibilityIndicator)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ setAbstract((Boolean)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ setName((String)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ setFormalParameters((FormalParameters)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ setReturnType((TypePart)newValue);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ setRedefinition((RedefinitionClause)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ setVisibilityIndicator(VISIBILITY_INDICATOR_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ setAbstract(ABSTRACT_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ setFormalParameters((FormalParameters)null);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ setReturnType((TypePart)null);
+ return;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ setRedefinition((RedefinitionClause)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
+ return visibilityIndicator != VISIBILITY_INDICATOR_EDEFAULT;
+ case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
+ return abstract_ != ABSTRACT_EDEFAULT;
+ case OperationPackage.OPERATION_DECLARATION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
+ return formalParameters != null;
+ case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
+ return returnType != null;
+ case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
+ return redefinition != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (visibilityIndicator: ");
+ result.append(visibilityIndicator);
+ result.append(", abstract: ");
+ result.append(abstract_);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
} //OperationDeclarationImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
index 947cfbebbca..0c22bc55e33 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -35,214 +35,237 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
*
* @generated
*/
-public class OperationDefinitionOrStubImpl extends MinimalEObjectImpl.Container implements OperationDefinitionOrStub {
- /**
- * The cached value of the '{@link #getDeclaration() <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDeclaration()
- * @generated
- * @ordered
- */
- protected OperationDeclaration declaration;
-
- /**
- * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBody()
- * @generated
- * @ordered
- */
- protected Block body;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationDefinitionOrStubImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.OPERATION_DEFINITION_OR_STUB;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDeclaration getDeclaration() {
- return declaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDeclaration(OperationDeclaration newDeclaration, NotificationChain msgs) {
- OperationDeclaration oldDeclaration = declaration;
- declaration = newDeclaration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, oldDeclaration, newDeclaration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDeclaration(OperationDeclaration newDeclaration) {
- if (newDeclaration != declaration) {
- NotificationChain msgs = null;
- if (declaration != null)
- msgs = ((InternalEObject)declaration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- if (newDeclaration != null)
- msgs = ((InternalEObject)newDeclaration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- msgs = basicSetDeclaration(newDeclaration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, newDeclaration, newDeclaration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Block getBody() {
- return body;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBody(Block newBody, NotificationChain msgs) {
- Block oldBody = body;
- body = newBody;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, oldBody, newBody);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBody(Block newBody) {
- if (newBody != body) {
- NotificationChain msgs = null;
- if (body != null)
- msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- if (newBody != null)
- msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- msgs = basicSetBody(newBody, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, newBody, newBody));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return basicSetDeclaration(null, msgs);
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return basicSetBody(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return getDeclaration();
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return getBody();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration)newValue);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration)null);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return declaration != null;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return body != null;
- }
- return super.eIsSet(featureID);
- }
+public class OperationDefinitionOrStubImpl extends MinimalEObjectImpl.Container implements OperationDefinitionOrStub
+{
+ /**
+ * The cached value of the '{@link #getDeclaration() <em>Declaration</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDeclaration()
+ * @generated
+ * @ordered
+ */
+ protected OperationDeclaration declaration;
+
+ /**
+ * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBody()
+ * @generated
+ * @ordered
+ */
+ protected Block body;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationDefinitionOrStubImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.OPERATION_DEFINITION_OR_STUB;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDeclaration getDeclaration()
+ {
+ return declaration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDeclaration(OperationDeclaration newDeclaration, NotificationChain msgs)
+ {
+ OperationDeclaration oldDeclaration = declaration;
+ declaration = newDeclaration;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, oldDeclaration, newDeclaration);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDeclaration(OperationDeclaration newDeclaration)
+ {
+ if (newDeclaration != declaration)
+ {
+ NotificationChain msgs = null;
+ if (declaration != null)
+ msgs = ((InternalEObject)declaration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
+ if (newDeclaration != null)
+ msgs = ((InternalEObject)newDeclaration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
+ msgs = basicSetDeclaration(newDeclaration, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, newDeclaration, newDeclaration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Block getBody()
+ {
+ return body;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBody(Block newBody, NotificationChain msgs)
+ {
+ Block oldBody = body;
+ body = newBody;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, oldBody, newBody);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBody(Block newBody)
+ {
+ if (newBody != body)
+ {
+ NotificationChain msgs = null;
+ if (body != null)
+ msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
+ if (newBody != null)
+ msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
+ msgs = basicSetBody(newBody, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, newBody, newBody));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return basicSetDeclaration(null, msgs);
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return basicSetBody(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return getDeclaration();
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return getBody();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ setDeclaration((OperationDeclaration)newValue);
+ return;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ setBody((Block)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ setDeclaration((OperationDeclaration)null);
+ return;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ setBody((Block)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
+ return declaration != null;
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
+ return body != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //OperationDefinitionOrStubImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
index 94f8ac77977..ae9fdaacf7c 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -23,284 +23,315 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* <!-- end-user-doc -->
* @generated
*/
-public class OperationFactoryImpl extends EFactoryImpl implements OperationFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static OperationFactory init() {
- try {
- OperationFactory theOperationFactory = (OperationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation");
- if (theOperationFactory != null) {
- return theOperationFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new OperationFactoryImpl();
- }
+public class OperationFactoryImpl extends EFactoryImpl implements OperationFactory
+{
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static OperationFactory init()
+ {
+ try
+ {
+ OperationFactory theOperationFactory = (OperationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation");
+ if (theOperationFactory != null)
+ {
+ return theOperationFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new OperationFactoryImpl();
+ }
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationFactoryImpl() {
- super();
- }
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationFactoryImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB: return createOperationDefinitionOrStub();
- case OperationPackage.OPERATION_DECLARATION: return createOperationDeclaration();
- case OperationPackage.FORMAL_PARAMETERS: return createFormalParameters();
- case OperationPackage.FORMAL_PARAMETER_LIST: return createFormalParameterList();
- case OperationPackage.FORMAL_PARAMETER: return createFormalParameter();
- case OperationPackage.TYPE_PART: return createTypePart();
- case OperationPackage.MULTIPLICITY: return createMultiplicity();
- case OperationPackage.MULTIPLICITY_RANGE: return createMultiplicityRange();
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: return createNUMBER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: return createINTEGER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: return createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.TYPE_NAME: return createTypeName();
- case OperationPackage.REDEFINITION_CLAUSE: return createRedefinitionClause();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB: return createOperationDefinitionOrStub();
+ case OperationPackage.OPERATION_DECLARATION: return createOperationDeclaration();
+ case OperationPackage.FORMAL_PARAMETERS: return createFormalParameters();
+ case OperationPackage.FORMAL_PARAMETER_LIST: return createFormalParameterList();
+ case OperationPackage.FORMAL_PARAMETER: return createFormalParameter();
+ case OperationPackage.TYPE_PART: return createTypePart();
+ case OperationPackage.MULTIPLICITY: return createMultiplicity();
+ case OperationPackage.MULTIPLICITY_RANGE: return createMultiplicityRange();
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: return createNUMBER_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: return createINTEGER_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: return createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
+ case OperationPackage.TYPE_NAME: return createTypeName();
+ case OperationPackage.REDEFINITION_CLAUSE: return createRedefinitionClause();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case OperationPackage.VISIBILITY_INDICATOR:
- return createVisibilityIndicatorFromString(eDataType, initialValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return createParameterDirectionFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case OperationPackage.VISIBILITY_INDICATOR:
+ return createVisibilityIndicatorFromString(eDataType, initialValue);
+ case OperationPackage.PARAMETER_DIRECTION:
+ return createParameterDirectionFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case OperationPackage.VISIBILITY_INDICATOR:
- return convertVisibilityIndicatorToString(eDataType, instanceValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return convertParameterDirectionToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case OperationPackage.VISIBILITY_INDICATOR:
+ return convertVisibilityIndicatorToString(eDataType, instanceValue);
+ case OperationPackage.PARAMETER_DIRECTION:
+ return convertParameterDirectionToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDefinitionOrStub createOperationDefinitionOrStub() {
- OperationDefinitionOrStubImpl operationDefinitionOrStub = new OperationDefinitionOrStubImpl();
- return operationDefinitionOrStub;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDefinitionOrStub createOperationDefinitionOrStub()
+ {
+ OperationDefinitionOrStubImpl operationDefinitionOrStub = new OperationDefinitionOrStubImpl();
+ return operationDefinitionOrStub;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationDeclaration createOperationDeclaration() {
- OperationDeclarationImpl operationDeclaration = new OperationDeclarationImpl();
- return operationDeclaration;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationDeclaration createOperationDeclaration()
+ {
+ OperationDeclarationImpl operationDeclaration = new OperationDeclarationImpl();
+ return operationDeclaration;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameters createFormalParameters() {
- FormalParametersImpl formalParameters = new FormalParametersImpl();
- return formalParameters;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameters createFormalParameters()
+ {
+ FormalParametersImpl formalParameters = new FormalParametersImpl();
+ return formalParameters;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameterList createFormalParameterList() {
- FormalParameterListImpl formalParameterList = new FormalParameterListImpl();
- return formalParameterList;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameterList createFormalParameterList()
+ {
+ FormalParameterListImpl formalParameterList = new FormalParameterListImpl();
+ return formalParameterList;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FormalParameter createFormalParameter() {
- FormalParameterImpl formalParameter = new FormalParameterImpl();
- return formalParameter;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FormalParameter createFormalParameter()
+ {
+ FormalParameterImpl formalParameter = new FormalParameterImpl();
+ return formalParameter;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypePart createTypePart() {
- TypePartImpl typePart = new TypePartImpl();
- return typePart;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypePart createTypePart()
+ {
+ TypePartImpl typePart = new TypePartImpl();
+ return typePart;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Multiplicity createMultiplicity() {
- MultiplicityImpl multiplicity = new MultiplicityImpl();
- return multiplicity;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Multiplicity createMultiplicity()
+ {
+ MultiplicityImpl multiplicity = new MultiplicityImpl();
+ return multiplicity;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicityRange createMultiplicityRange() {
- MultiplicityRangeImpl multiplicityRange = new MultiplicityRangeImpl();
- return multiplicityRange;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MultiplicityRange createMultiplicityRange()
+ {
+ MultiplicityRangeImpl multiplicityRange = new MultiplicityRangeImpl();
+ return multiplicityRange;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX() {
- NUMBER_LITERAL_WITHOUT_SUFFIXImpl numbeR_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXImpl();
- return numbeR_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX()
+ {
+ NUMBER_LITERAL_WITHOUT_SUFFIXImpl numbeR_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXImpl();
+ return numbeR_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX() {
- INTEGER_LITERAL_WITHOUT_SUFFIXImpl integeR_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXImpl();
- return integeR_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX()
+ {
+ INTEGER_LITERAL_WITHOUT_SUFFIXImpl integeR_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXImpl();
+ return integeR_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX() {
- UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl unlimiteD_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl();
- return unlimiteD_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ {
+ UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl unlimiteD_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl();
+ return unlimiteD_LITERAL_WITHOUT_SUFFIX;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypeName createTypeName() {
- TypeNameImpl typeName = new TypeNameImpl();
- return typeName;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypeName createTypeName()
+ {
+ TypeNameImpl typeName = new TypeNameImpl();
+ return typeName;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RedefinitionClause createRedefinitionClause() {
- RedefinitionClauseImpl redefinitionClause = new RedefinitionClauseImpl();
- return redefinitionClause;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RedefinitionClause createRedefinitionClause()
+ {
+ RedefinitionClauseImpl redefinitionClause = new RedefinitionClauseImpl();
+ return redefinitionClause;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityIndicator createVisibilityIndicatorFromString(EDataType eDataType, String initialValue) {
- VisibilityIndicator result = VisibilityIndicator.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public VisibilityIndicator createVisibilityIndicatorFromString(EDataType eDataType, String initialValue)
+ {
+ VisibilityIndicator result = VisibilityIndicator.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertVisibilityIndicatorToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertVisibilityIndicatorToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParameterDirection createParameterDirectionFromString(EDataType eDataType, String initialValue) {
- ParameterDirection result = ParameterDirection.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParameterDirection createParameterDirectionFromString(EDataType eDataType, String initialValue)
+ {
+ ParameterDirection result = ParameterDirection.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertParameterDirectionToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertParameterDirectionToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationPackage getOperationPackage() {
- return (OperationPackage)getEPackage();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationPackage getOperationPackage()
+ {
+ return (OperationPackage)getEPackage();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static OperationPackage getPackage() {
- return OperationPackage.eINSTANCE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static OperationPackage getPackage()
+ {
+ return OperationPackage.eINSTANCE;
+ }
} //OperationFactoryImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
index ba21842a895..e8fd7a500d3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -37,708 +37,753 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
* <!-- end-user-doc -->
* @generated
*/
-public class OperationPackageImpl extends EPackageImpl implements OperationPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationDefinitionOrStubEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationDeclarationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParametersEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParameterListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formalParameterEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass typePartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiplicityEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiplicityRangeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass numbeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass integeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass typeNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass redefinitionClauseEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum visibilityIndicatorEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum parameterDirectionEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private OperationPackageImpl() {
- super(eNS_URI, OperationFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link OperationPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static OperationPackage init() {
- if (isInited) return (OperationPackage)EPackage.Registry.INSTANCE.getEPackage(OperationPackage.eNS_URI);
-
- // Obtain or create and register package
- OperationPackageImpl theOperationPackage = (OperationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- AlfPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theOperationPackage.createPackageContents();
-
- // Initialize created meta-data
- theOperationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theOperationPackage.freeze();
+public class OperationPackageImpl extends EPackageImpl implements OperationPackage
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass operationDefinitionOrStubEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass operationDeclarationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParametersEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParameterListEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass formalParameterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass typePartEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass multiplicityEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass multiplicityRangeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass numbeR_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass integeR_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass typeNameEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass redefinitionClauseEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum visibilityIndicatorEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum parameterDirectionEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private OperationPackageImpl()
+ {
+ super(eNS_URI, OperationFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>This method is used to initialize {@link OperationPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static OperationPackage init()
+ {
+ if (isInited) return (OperationPackage)EPackage.Registry.INSTANCE.getEPackage(OperationPackage.eNS_URI);
+
+ // Obtain or create and register package
+ OperationPackageImpl theOperationPackage = (OperationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperationPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ AlfPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theOperationPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theOperationPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theOperationPackage.freeze();
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(OperationPackage.eNS_URI, theOperationPackage);
- return theOperationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperationDefinitionOrStub() {
- return operationDefinitionOrStubEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Declaration() {
- return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Body() {
- return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperationDeclaration() {
- return operationDeclarationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_VisibilityIndicator() {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_Abstract() {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOperationDeclaration_Name() {
- return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_FormalParameters() {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_ReturnType() {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationDeclaration_Redefinition() {
- return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameters() {
- return formalParametersEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameters_FormalParameterList() {
- return (EReference)formalParametersEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameterList() {
- return formalParameterListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameterList_FormalParameter() {
- return (EReference)formalParameterListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getFormalParameter() {
- return formalParameterEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getFormalParameter_Direction() {
- return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getFormalParameter_Name() {
- return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFormalParameter_Type() {
- return (EReference)formalParameterEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTypePart() {
- return typePartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypePart_TypeName() {
- return (EReference)typePartEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypePart_Multiplicity() {
- return (EReference)typePartEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiplicity() {
- return multiplicityEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicity_Range() {
- return (EReference)multiplicityEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_Ordered() {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_NonUnique() {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicity_Sequence() {
- return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiplicityRange() {
- return multiplicityRangeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicityRange_Lower() {
- return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicityRange_Upper() {
- return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNUMBER_LITERAL_WITHOUT_SUFFIX() {
- return numbeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value() {
- return (EAttribute)numbeR_LITERAL_WITHOUT_SUFFIXEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getINTEGER_LITERAL_WITHOUT_SUFFIX() {
- return integeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX() {
- return unlimiteD_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTypeName() {
- return typeNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTypeName_QualifiedName() {
- return (EReference)typeNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRedefinitionClause() {
- return redefinitionClauseEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRedefinitionClause_RedefinedOperations() {
- return (EReference)redefinitionClauseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getVisibilityIndicator() {
- return visibilityIndicatorEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getParameterDirection() {
- return parameterDirectionEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationFactory getOperationFactory() {
- return (OperationFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- operationDefinitionOrStubEClass = createEClass(OPERATION_DEFINITION_OR_STUB);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__DECLARATION);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__BODY);
-
- operationDeclarationEClass = createEClass(OPERATION_DECLARATION);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__VISIBILITY_INDICATOR);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__ABSTRACT);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__NAME);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__FORMAL_PARAMETERS);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__RETURN_TYPE);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__REDEFINITION);
-
- formalParametersEClass = createEClass(FORMAL_PARAMETERS);
- createEReference(formalParametersEClass, FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST);
-
- formalParameterListEClass = createEClass(FORMAL_PARAMETER_LIST);
- createEReference(formalParameterListEClass, FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
-
- formalParameterEClass = createEClass(FORMAL_PARAMETER);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__DIRECTION);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__NAME);
- createEReference(formalParameterEClass, FORMAL_PARAMETER__TYPE);
-
- typePartEClass = createEClass(TYPE_PART);
- createEReference(typePartEClass, TYPE_PART__TYPE_NAME);
- createEReference(typePartEClass, TYPE_PART__MULTIPLICITY);
-
- multiplicityEClass = createEClass(MULTIPLICITY);
- createEReference(multiplicityEClass, MULTIPLICITY__RANGE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__ORDERED);
- createEAttribute(multiplicityEClass, MULTIPLICITY__NON_UNIQUE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__SEQUENCE);
-
- multiplicityRangeEClass = createEClass(MULTIPLICITY_RANGE);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__LOWER);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__UPPER);
-
- numbeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(NUMBER_LITERAL_WITHOUT_SUFFIX);
- createEAttribute(numbeR_LITERAL_WITHOUT_SUFFIXEClass, NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE);
-
- integeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(INTEGER_LITERAL_WITHOUT_SUFFIX);
-
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = createEClass(UNLIMITED_LITERAL_WITHOUT_SUFFIX);
-
- typeNameEClass = createEClass(TYPE_NAME);
- createEReference(typeNameEClass, TYPE_NAME__QUALIFIED_NAME);
-
- redefinitionClauseEClass = createEClass(REDEFINITION_CLAUSE);
- createEReference(redefinitionClauseEClass, REDEFINITION_CLAUSE__REDEFINED_OPERATIONS);
-
- // Create enums
- visibilityIndicatorEEnum = createEEnum(VISIBILITY_INDICATOR);
- parameterDirectionEEnum = createEEnum(PARAMETER_DIRECTION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- AlfPackage theAlfPackage = (AlfPackage)EPackage.Registry.INSTANCE.getEPackage(AlfPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- integeR_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
-
- // Initialize classes and features; add operations and parameters
- initEClass(operationDefinitionOrStubEClass, OperationDefinitionOrStub.class, "OperationDefinitionOrStub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOperationDefinitionOrStub_Declaration(), this.getOperationDeclaration(), null, "declaration", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDefinitionOrStub_Body(), theAlfPackage.getBlock(), null, "body", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(operationDeclarationEClass, OperationDeclaration.class, "OperationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOperationDeclaration_VisibilityIndicator(), this.getVisibilityIndicator(), "visibilityIndicator", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperationDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_FormalParameters(), this.getFormalParameters(), null, "formalParameters", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_ReturnType(), this.getTypePart(), null, "returnType", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_Redefinition(), this.getRedefinitionClause(), null, "redefinition", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParametersEClass, FormalParameters.class, "FormalParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameters_FormalParameterList(), this.getFormalParameterList(), null, "formalParameterList", null, 0, 1, FormalParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterListEClass, FormalParameterList.class, "FormalParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameterList_FormalParameter(), this.getFormalParameter(), null, "formalParameter", null, 0, -1, FormalParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterEClass, FormalParameter.class, "FormalParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFormalParameter_Direction(), this.getParameterDirection(), "direction", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getFormalParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFormalParameter_Type(), this.getTypePart(), null, "type", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(typePartEClass, TypePart.class, "TypePart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypePart_TypeName(), this.getTypeName(), null, "typeName", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getTypePart_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicity_Range(), this.getMultiplicityRange(), null, "range", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Ordered(), ecorePackage.getEBoolean(), "ordered", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_NonUnique(), ecorePackage.getEBoolean(), "nonUnique", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Sequence(), ecorePackage.getEBoolean(), "sequence", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityRangeEClass, MultiplicityRange.class, "MultiplicityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicityRange_Lower(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "lower", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMultiplicityRange_Upper(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "upper", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(numbeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, "NUMBER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNUMBER_LITERAL_WITHOUT_SUFFIX_Value(), ecorePackage.getEString(), "value", null, 0, 1, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(integeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX.class, "INTEGER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(OperationPackage.eNS_URI, theOperationPackage);
+ return theOperationPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOperationDefinitionOrStub()
+ {
+ return operationDefinitionOrStubEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDefinitionOrStub_Declaration()
+ {
+ return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDefinitionOrStub_Body()
+ {
+ return (EReference)operationDefinitionOrStubEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOperationDeclaration()
+ {
+ return operationDeclarationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_VisibilityIndicator()
+ {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_Abstract()
+ {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOperationDeclaration_Name()
+ {
+ return (EAttribute)operationDeclarationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_FormalParameters()
+ {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_ReturnType()
+ {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getOperationDeclaration_Redefinition()
+ {
+ return (EReference)operationDeclarationEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameters()
+ {
+ return formalParametersEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameters_FormalParameterList()
+ {
+ return (EReference)formalParametersEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameterList()
+ {
+ return formalParameterListEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameterList_FormalParameter()
+ {
+ return (EReference)formalParameterListEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFormalParameter()
+ {
+ return formalParameterEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalParameter_Direction()
+ {
+ return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFormalParameter_Name()
+ {
+ return (EAttribute)formalParameterEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFormalParameter_Type()
+ {
+ return (EReference)formalParameterEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTypePart()
+ {
+ return typePartEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypePart_TypeName()
+ {
+ return (EReference)typePartEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypePart_Multiplicity()
+ {
+ return (EReference)typePartEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMultiplicity()
+ {
+ return multiplicityEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicity_Range()
+ {
+ return (EReference)multiplicityEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_Ordered()
+ {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_NonUnique()
+ {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMultiplicity_Sequence()
+ {
+ return (EAttribute)multiplicityEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMultiplicityRange()
+ {
+ return multiplicityRangeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicityRange_Lower()
+ {
+ return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMultiplicityRange_Upper()
+ {
+ return (EReference)multiplicityRangeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getNUMBER_LITERAL_WITHOUT_SUFFIX()
+ {
+ return numbeR_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
+ {
+ return (EAttribute)numbeR_LITERAL_WITHOUT_SUFFIXEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getINTEGER_LITERAL_WITHOUT_SUFFIX()
+ {
+ return integeR_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
+ {
+ return unlimiteD_LITERAL_WITHOUT_SUFFIXEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTypeName()
+ {
+ return typeNameEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTypeName_QualifiedName()
+ {
+ return (EReference)typeNameEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getRedefinitionClause()
+ {
+ return redefinitionClauseEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getRedefinitionClause_RedefinedOperations()
+ {
+ return (EReference)redefinitionClauseEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getVisibilityIndicator()
+ {
+ return visibilityIndicatorEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getParameterDirection()
+ {
+ return parameterDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationFactory getOperationFactory()
+ {
+ return (OperationFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents()
+ {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ operationDefinitionOrStubEClass = createEClass(OPERATION_DEFINITION_OR_STUB);
+ createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__DECLARATION);
+ createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__BODY);
+
+ operationDeclarationEClass = createEClass(OPERATION_DECLARATION);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__VISIBILITY_INDICATOR);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__ABSTRACT);
+ createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__NAME);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__FORMAL_PARAMETERS);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__RETURN_TYPE);
+ createEReference(operationDeclarationEClass, OPERATION_DECLARATION__REDEFINITION);
+
+ formalParametersEClass = createEClass(FORMAL_PARAMETERS);
+ createEReference(formalParametersEClass, FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST);
+
+ formalParameterListEClass = createEClass(FORMAL_PARAMETER_LIST);
+ createEReference(formalParameterListEClass, FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
+
+ formalParameterEClass = createEClass(FORMAL_PARAMETER);
+ createEAttribute(formalParameterEClass, FORMAL_PARAMETER__DIRECTION);
+ createEAttribute(formalParameterEClass, FORMAL_PARAMETER__NAME);
+ createEReference(formalParameterEClass, FORMAL_PARAMETER__TYPE);
+
+ typePartEClass = createEClass(TYPE_PART);
+ createEReference(typePartEClass, TYPE_PART__TYPE_NAME);
+ createEReference(typePartEClass, TYPE_PART__MULTIPLICITY);
+
+ multiplicityEClass = createEClass(MULTIPLICITY);
+ createEReference(multiplicityEClass, MULTIPLICITY__RANGE);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__ORDERED);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__NON_UNIQUE);
+ createEAttribute(multiplicityEClass, MULTIPLICITY__SEQUENCE);
+
+ multiplicityRangeEClass = createEClass(MULTIPLICITY_RANGE);
+ createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__LOWER);
+ createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__UPPER);
+
+ numbeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(NUMBER_LITERAL_WITHOUT_SUFFIX);
+ createEAttribute(numbeR_LITERAL_WITHOUT_SUFFIXEClass, NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE);
+
+ integeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(INTEGER_LITERAL_WITHOUT_SUFFIX);
+
+ unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = createEClass(UNLIMITED_LITERAL_WITHOUT_SUFFIX);
+
+ typeNameEClass = createEClass(TYPE_NAME);
+ createEReference(typeNameEClass, TYPE_NAME__QUALIFIED_NAME);
+
+ redefinitionClauseEClass = createEClass(REDEFINITION_CLAUSE);
+ createEReference(redefinitionClauseEClass, REDEFINITION_CLAUSE__REDEFINED_OPERATIONS);
+
+ // Create enums
+ visibilityIndicatorEEnum = createEEnum(VISIBILITY_INDICATOR);
+ parameterDirectionEEnum = createEEnum(PARAMETER_DIRECTION);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents()
+ {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ AlfPackage theAlfPackage = (AlfPackage)EPackage.Registry.INSTANCE.getEPackage(AlfPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ integeR_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
+ unlimiteD_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(operationDefinitionOrStubEClass, OperationDefinitionOrStub.class, "OperationDefinitionOrStub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getOperationDefinitionOrStub_Declaration(), this.getOperationDeclaration(), null, "declaration", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDefinitionOrStub_Body(), theAlfPackage.getBlock(), null, "body", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(operationDeclarationEClass, OperationDeclaration.class, "OperationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOperationDeclaration_VisibilityIndicator(), this.getVisibilityIndicator(), "visibilityIndicator", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOperationDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getOperationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_FormalParameters(), this.getFormalParameters(), null, "formalParameters", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_ReturnType(), this.getTypePart(), null, "returnType", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getOperationDeclaration_Redefinition(), this.getRedefinitionClause(), null, "redefinition", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParametersEClass, FormalParameters.class, "FormalParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFormalParameters_FormalParameterList(), this.getFormalParameterList(), null, "formalParameterList", null, 0, 1, FormalParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParameterListEClass, FormalParameterList.class, "FormalParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFormalParameterList_FormalParameter(), this.getFormalParameter(), null, "formalParameter", null, 0, -1, FormalParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(formalParameterEClass, FormalParameter.class, "FormalParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFormalParameter_Direction(), this.getParameterDirection(), "direction", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFormalParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFormalParameter_Type(), this.getTypePart(), null, "type", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(typePartEClass, TypePart.class, "TypePart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTypePart_TypeName(), this.getTypeName(), null, "typeName", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getTypePart_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMultiplicity_Range(), this.getMultiplicityRange(), null, "range", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_Ordered(), ecorePackage.getEBoolean(), "ordered", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_NonUnique(), ecorePackage.getEBoolean(), "nonUnique", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMultiplicity_Sequence(), ecorePackage.getEBoolean(), "sequence", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(multiplicityRangeEClass, MultiplicityRange.class, "MultiplicityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMultiplicityRange_Lower(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "lower", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMultiplicityRange_Upper(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "upper", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(numbeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, "NUMBER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNUMBER_LITERAL_WITHOUT_SUFFIX_Value(), ecorePackage.getEString(), "value", null, 0, 1, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(integeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX.class, "INTEGER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(unlimiteD_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX.class, "UNLIMITED_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(typeNameEClass, TypeName.class, "TypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypeName_QualifiedName(), theAlfPackage.getQualifiedNameWithBinding(), null, "qualifiedName", null, 0, 1, TypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(redefinitionClauseEClass, RedefinitionClause.class, "RedefinitionClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRedefinitionClause_RedefinedOperations(), theAlfPackage.getQualifiedNameList(), null, "redefinedOperations", null, 0, 1, RedefinitionClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(visibilityIndicatorEEnum, VisibilityIndicator.class, "VisibilityIndicator");
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PUBLIC);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PRIVATE);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PROTECTED);
-
- initEEnum(parameterDirectionEEnum, ParameterDirection.class, "ParameterDirection");
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.IN);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.OUT);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.INOUT);
-
- // Create resource
- createResource(eNS_URI);
- }
+ initEClass(unlimiteD_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX.class, "UNLIMITED_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(typeNameEClass, TypeName.class, "TypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTypeName_QualifiedName(), theAlfPackage.getQualifiedNameWithBinding(), null, "qualifiedName", null, 0, 1, TypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(redefinitionClauseEClass, RedefinitionClause.class, "RedefinitionClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRedefinitionClause_RedefinedOperations(), theAlfPackage.getQualifiedNameList(), null, "redefinedOperations", null, 0, 1, RedefinitionClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(visibilityIndicatorEEnum, VisibilityIndicator.class, "VisibilityIndicator");
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PUBLIC);
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PRIVATE);
+ addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PROTECTED);
+
+ initEEnum(parameterDirectionEEnum, ParameterDirection.class, "ParameterDirection");
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.IN);
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.OUT);
+ addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.INOUT);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
} //OperationPackageImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
index 7ee27830be0..23ea4da4e57 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,149 +33,167 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
*
* @generated
*/
-public class RedefinitionClauseImpl extends MinimalEObjectImpl.Container implements RedefinitionClause {
- /**
- * The cached value of the '{@link #getRedefinedOperations() <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRedefinedOperations()
- * @generated
- * @ordered
- */
- protected QualifiedNameList redefinedOperations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RedefinitionClauseImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.REDEFINITION_CLAUSE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedNameList getRedefinedOperations() {
- return redefinedOperations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRedefinedOperations(QualifiedNameList newRedefinedOperations, NotificationChain msgs) {
- QualifiedNameList oldRedefinedOperations = redefinedOperations;
- redefinedOperations = newRedefinedOperations;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, oldRedefinedOperations, newRedefinedOperations);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRedefinedOperations(QualifiedNameList newRedefinedOperations) {
- if (newRedefinedOperations != redefinedOperations) {
- NotificationChain msgs = null;
- if (redefinedOperations != null)
- msgs = ((InternalEObject)redefinedOperations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- if (newRedefinedOperations != null)
- msgs = ((InternalEObject)newRedefinedOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- msgs = basicSetRedefinedOperations(newRedefinedOperations, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, newRedefinedOperations, newRedefinedOperations));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return basicSetRedefinedOperations(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return getRedefinedOperations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return redefinedOperations != null;
- }
- return super.eIsSet(featureID);
- }
+public class RedefinitionClauseImpl extends MinimalEObjectImpl.Container implements RedefinitionClause
+{
+ /**
+ * The cached value of the '{@link #getRedefinedOperations() <em>Redefined Operations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRedefinedOperations()
+ * @generated
+ * @ordered
+ */
+ protected QualifiedNameList redefinedOperations;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RedefinitionClauseImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.REDEFINITION_CLAUSE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QualifiedNameList getRedefinedOperations()
+ {
+ return redefinedOperations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRedefinedOperations(QualifiedNameList newRedefinedOperations, NotificationChain msgs)
+ {
+ QualifiedNameList oldRedefinedOperations = redefinedOperations;
+ redefinedOperations = newRedefinedOperations;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, oldRedefinedOperations, newRedefinedOperations);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRedefinedOperations(QualifiedNameList newRedefinedOperations)
+ {
+ if (newRedefinedOperations != redefinedOperations)
+ {
+ NotificationChain msgs = null;
+ if (redefinedOperations != null)
+ msgs = ((InternalEObject)redefinedOperations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
+ if (newRedefinedOperations != null)
+ msgs = ((InternalEObject)newRedefinedOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
+ msgs = basicSetRedefinedOperations(newRedefinedOperations, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, newRedefinedOperations, newRedefinedOperations));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return basicSetRedefinedOperations(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return getRedefinedOperations();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ setRedefinedOperations((QualifiedNameList)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ setRedefinedOperations((QualifiedNameList)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
+ return redefinedOperations != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //RedefinitionClauseImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
index 7ba246b9af3..33d3e178ea4 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -33,149 +33,167 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
*
* @generated
*/
-public class TypeNameImpl extends MinimalEObjectImpl.Container implements TypeName {
- /**
- * The cached value of the '{@link #getQualifiedName() <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getQualifiedName()
- * @generated
- * @ordered
- */
- protected QualifiedNameWithBinding qualifiedName;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TypeNameImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.TYPE_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedNameWithBinding getQualifiedName() {
- return qualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetQualifiedName(QualifiedNameWithBinding newQualifiedName, NotificationChain msgs) {
- QualifiedNameWithBinding oldQualifiedName = qualifiedName;
- qualifiedName = newQualifiedName;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, oldQualifiedName, newQualifiedName);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setQualifiedName(QualifiedNameWithBinding newQualifiedName) {
- if (newQualifiedName != qualifiedName) {
- NotificationChain msgs = null;
- if (qualifiedName != null)
- msgs = ((InternalEObject)qualifiedName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- if (newQualifiedName != null)
- msgs = ((InternalEObject)newQualifiedName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- msgs = basicSetQualifiedName(newQualifiedName, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, newQualifiedName, newQualifiedName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return basicSetQualifiedName(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return getQualifiedName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return qualifiedName != null;
- }
- return super.eIsSet(featureID);
- }
+public class TypeNameImpl extends MinimalEObjectImpl.Container implements TypeName
+{
+ /**
+ * The cached value of the '{@link #getQualifiedName() <em>Qualified Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getQualifiedName()
+ * @generated
+ * @ordered
+ */
+ protected QualifiedNameWithBinding qualifiedName;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TypeNameImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.TYPE_NAME;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QualifiedNameWithBinding getQualifiedName()
+ {
+ return qualifiedName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetQualifiedName(QualifiedNameWithBinding newQualifiedName, NotificationChain msgs)
+ {
+ QualifiedNameWithBinding oldQualifiedName = qualifiedName;
+ qualifiedName = newQualifiedName;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, oldQualifiedName, newQualifiedName);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setQualifiedName(QualifiedNameWithBinding newQualifiedName)
+ {
+ if (newQualifiedName != qualifiedName)
+ {
+ NotificationChain msgs = null;
+ if (qualifiedName != null)
+ msgs = ((InternalEObject)qualifiedName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
+ if (newQualifiedName != null)
+ msgs = ((InternalEObject)newQualifiedName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
+ msgs = basicSetQualifiedName(newQualifiedName, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, newQualifiedName, newQualifiedName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return basicSetQualifiedName(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return getQualifiedName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ setQualifiedName((QualifiedNameWithBinding)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ setQualifiedName((QualifiedNameWithBinding)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
+ return qualifiedName != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //TypeNameImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
index 89a2e6501bc..9672e5c1220 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -34,214 +34,237 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
*
* @generated
*/
-public class TypePartImpl extends MinimalEObjectImpl.Container implements TypePart {
- /**
- * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTypeName()
- * @generated
- * @ordered
- */
- protected TypeName typeName;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected Multiplicity multiplicity;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TypePartImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.TYPE_PART;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypeName getTypeName() {
- return typeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTypeName(TypeName newTypeName, NotificationChain msgs) {
- TypeName oldTypeName = typeName;
- typeName = newTypeName;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, oldTypeName, newTypeName);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeName(TypeName newTypeName) {
- if (newTypeName != typeName) {
- NotificationChain msgs = null;
- if (typeName != null)
- msgs = ((InternalEObject)typeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- if (newTypeName != null)
- msgs = ((InternalEObject)newTypeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- msgs = basicSetTypeName(newTypeName, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, newTypeName, newTypeName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Multiplicity getMultiplicity() {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) {
- Multiplicity oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, oldMultiplicity, newMultiplicity);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(Multiplicity newMultiplicity) {
- if (newMultiplicity != multiplicity) {
- NotificationChain msgs = null;
- if (multiplicity != null)
- msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- if (newMultiplicity != null)
- msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- msgs = basicSetMultiplicity(newMultiplicity, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, newMultiplicity, newMultiplicity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return basicSetTypeName(null, msgs);
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return basicSetMultiplicity(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return getTypeName();
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return getMultiplicity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName)newValue);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName)null);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return typeName != null;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return multiplicity != null;
- }
- return super.eIsSet(featureID);
- }
+public class TypePartImpl extends MinimalEObjectImpl.Container implements TypePart
+{
+ /**
+ * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeName()
+ * @generated
+ * @ordered
+ */
+ protected TypeName typeName;
+
+ /**
+ * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMultiplicity()
+ * @generated
+ * @ordered
+ */
+ protected Multiplicity multiplicity;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TypePartImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.TYPE_PART;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TypeName getTypeName()
+ {
+ return typeName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTypeName(TypeName newTypeName, NotificationChain msgs)
+ {
+ TypeName oldTypeName = typeName;
+ typeName = newTypeName;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, oldTypeName, newTypeName);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTypeName(TypeName newTypeName)
+ {
+ if (newTypeName != typeName)
+ {
+ NotificationChain msgs = null;
+ if (typeName != null)
+ msgs = ((InternalEObject)typeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
+ if (newTypeName != null)
+ msgs = ((InternalEObject)newTypeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
+ msgs = basicSetTypeName(newTypeName, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, newTypeName, newTypeName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Multiplicity getMultiplicity()
+ {
+ return multiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs)
+ {
+ Multiplicity oldMultiplicity = multiplicity;
+ multiplicity = newMultiplicity;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, oldMultiplicity, newMultiplicity);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMultiplicity(Multiplicity newMultiplicity)
+ {
+ if (newMultiplicity != multiplicity)
+ {
+ NotificationChain msgs = null;
+ if (multiplicity != null)
+ msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
+ if (newMultiplicity != null)
+ msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
+ msgs = basicSetMultiplicity(newMultiplicity, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, newMultiplicity, newMultiplicity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return basicSetTypeName(null, msgs);
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return basicSetMultiplicity(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return getTypeName();
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return getMultiplicity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ setTypeName((TypeName)newValue);
+ return;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ setMultiplicity((Multiplicity)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ setTypeName((TypeName)null);
+ return;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ setMultiplicity((Multiplicity)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OperationPackage.TYPE_PART__TYPE_NAME:
+ return typeName != null;
+ case OperationPackage.TYPE_PART__MULTIPLICITY:
+ return multiplicity != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //TypePartImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
index dfbe2a8cb4c..4354f842f31 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
@@ -20,24 +20,27 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WI
*
* @generated
*/
-public class UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements UNLIMITED_LITERAL_WITHOUT_SUFFIX {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl() {
- super();
- }
+public class UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements UNLIMITED_LITERAL_WITHOUT_SUFFIX
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OperationPackage.Literals.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OperationPackage.Literals.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
+ }
} //UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
index dafb3c7a8c0..6b7f06c1748 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -23,318 +23,354 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public class OperationAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OperationPackage modelPackage;
+public class OperationAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static OperationPackage modelPackage;
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = OperationPackage.eINSTANCE;
- }
- }
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = OperationPackage.eINSTANCE;
+ }
+ }
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object)
+ {
+ if (object == modelPackage)
+ {
+ return true;
+ }
+ if (object instanceof EObject)
+ {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationSwitch<Adapter> modelSwitch =
- new OperationSwitch<Adapter>() {
- @Override
- public Adapter caseOperationDefinitionOrStub(OperationDefinitionOrStub object) {
- return createOperationDefinitionOrStubAdapter();
- }
- @Override
- public Adapter caseOperationDeclaration(OperationDeclaration object) {
- return createOperationDeclarationAdapter();
- }
- @Override
- public Adapter caseFormalParameters(FormalParameters object) {
- return createFormalParametersAdapter();
- }
- @Override
- public Adapter caseFormalParameterList(FormalParameterList object) {
- return createFormalParameterListAdapter();
- }
- @Override
- public Adapter caseFormalParameter(FormalParameter object) {
- return createFormalParameterAdapter();
- }
- @Override
- public Adapter caseTypePart(TypePart object) {
- return createTypePartAdapter();
- }
- @Override
- public Adapter caseMultiplicity(Multiplicity object) {
- return createMultiplicityAdapter();
- }
- @Override
- public Adapter caseMultiplicityRange(MultiplicityRange object) {
- return createMultiplicityRangeAdapter();
- }
- @Override
- public Adapter caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object) {
- return createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object) {
- return createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object) {
- return createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter();
- }
- @Override
- public Adapter caseTypeName(TypeName object) {
- return createTypeNameAdapter();
- }
- @Override
- public Adapter caseRedefinitionClause(RedefinitionClause object) {
- return createRedefinitionClauseAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OperationSwitch<Adapter> modelSwitch =
+ new OperationSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
+ {
+ return createOperationDefinitionOrStubAdapter();
+ }
+ @Override
+ public Adapter caseOperationDeclaration(OperationDeclaration object)
+ {
+ return createOperationDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameters(FormalParameters object)
+ {
+ return createFormalParametersAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameterList(FormalParameterList object)
+ {
+ return createFormalParameterListAdapter();
+ }
+ @Override
+ public Adapter caseFormalParameter(FormalParameter object)
+ {
+ return createFormalParameterAdapter();
+ }
+ @Override
+ public Adapter caseTypePart(TypePart object)
+ {
+ return createTypePartAdapter();
+ }
+ @Override
+ public Adapter caseMultiplicity(Multiplicity object)
+ {
+ return createMultiplicityAdapter();
+ }
+ @Override
+ public Adapter caseMultiplicityRange(MultiplicityRange object)
+ {
+ return createMultiplicityRangeAdapter();
+ }
+ @Override
+ public Adapter caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter();
+ }
+ @Override
+ public Adapter caseTypeName(TypeName object)
+ {
+ return createTypeNameAdapter();
+ }
+ @Override
+ public Adapter caseRedefinitionClause(RedefinitionClause object)
+ {
+ return createRedefinitionClauseAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target)
+ {
+ return modelSwitch.doSwitch((EObject)target);
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- public Adapter createOperationDefinitionOrStubAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
+ * @generated
+ */
+ public Adapter createOperationDefinitionOrStubAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- public Adapter createOperationDeclarationAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
+ * @generated
+ */
+ public Adapter createOperationDeclarationAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- public Adapter createFormalParametersAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
+ * @generated
+ */
+ public Adapter createFormalParametersAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- public Adapter createFormalParameterListAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
+ * @generated
+ */
+ public Adapter createFormalParameterListAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- public Adapter createFormalParameterAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
+ * @generated
+ */
+ public Adapter createFormalParameterAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
- * @generated
- */
- public Adapter createTypePartAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
+ * @generated
+ */
+ public Adapter createTypePartAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- public Adapter createMultiplicityAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
+ * @generated
+ */
+ public Adapter createMultiplicityAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- public Adapter createMultiplicityRangeAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
+ * @generated
+ */
+ public Adapter createMultiplicityRangeAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
+ * @generated
+ */
+ public Adapter createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
- * @generated
- */
- public Adapter createTypeNameAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
+ * @generated
+ */
+ public Adapter createTypeNameAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- public Adapter createRedefinitionClauseAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
+ * @generated
+ */
+ public Adapter createRedefinitionClauseAdapter()
+ {
+ return null;
+ }
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter()
+ {
+ return null;
+ }
} //OperationAdapterFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
index 66e7e94e479..bb52169caf3 100644
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
+++ b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id$
+
*/
package org.eclipse.papyrus.operation.editor.xtext.operation.util;
@@ -26,343 +26,376 @@ import org.eclipse.papyrus.operation.editor.xtext.operation.*;
* @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage
* @generated
*/
-public class OperationSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static OperationPackage modelPackage;
+public class OperationSwitch<T> extends Switch<T>
+{
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static OperationPackage modelPackage;
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationSwitch() {
- if (modelPackage == null) {
- modelPackage = OperationPackage.eINSTANCE;
- }
- }
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OperationSwitch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = OperationPackage.eINSTANCE;
+ }
+ }
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage)
+ {
+ return ePackage == modelPackage;
+ }
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB: {
- OperationDefinitionOrStub operationDefinitionOrStub = (OperationDefinitionOrStub)theEObject;
- T result = caseOperationDefinitionOrStub(operationDefinitionOrStub);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.OPERATION_DECLARATION: {
- OperationDeclaration operationDeclaration = (OperationDeclaration)theEObject;
- T result = caseOperationDeclaration(operationDeclaration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETERS: {
- FormalParameters formalParameters = (FormalParameters)theEObject;
- T result = caseFormalParameters(formalParameters);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER_LIST: {
- FormalParameterList formalParameterList = (FormalParameterList)theEObject;
- T result = caseFormalParameterList(formalParameterList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER: {
- FormalParameter formalParameter = (FormalParameter)theEObject;
- T result = caseFormalParameter(formalParameter);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.TYPE_PART: {
- TypePart typePart = (TypePart)theEObject;
- T result = caseTypePart(typePart);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.MULTIPLICITY: {
- Multiplicity multiplicity = (Multiplicity)theEObject;
- T result = caseMultiplicity(multiplicity);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.MULTIPLICITY_RANGE: {
- MultiplicityRange multiplicityRange = (MultiplicityRange)theEObject;
- T result = caseMultiplicityRange(multiplicityRange);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: {
- NUMBER_LITERAL_WITHOUT_SUFFIX numbeR_LITERAL_WITHOUT_SUFFIX = (NUMBER_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(numbeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: {
- INTEGER_LITERAL_WITHOUT_SUFFIX integeR_LITERAL_WITHOUT_SUFFIX = (INTEGER_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseINTEGER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: {
- UNLIMITED_LITERAL_WITHOUT_SUFFIX unlimiteD_LITERAL_WITHOUT_SUFFIX = (UNLIMITED_LITERAL_WITHOUT_SUFFIX)theEObject;
- T result = caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.TYPE_NAME: {
- TypeName typeName = (TypeName)theEObject;
- T result = caseTypeName(typeName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case OperationPackage.REDEFINITION_CLAUSE: {
- RedefinitionClause redefinitionClause = (RedefinitionClause)theEObject;
- T result = caseRedefinitionClause(redefinitionClause);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject)
+ {
+ switch (classifierID)
+ {
+ case OperationPackage.OPERATION_DEFINITION_OR_STUB:
+ {
+ OperationDefinitionOrStub operationDefinitionOrStub = (OperationDefinitionOrStub)theEObject;
+ T result = caseOperationDefinitionOrStub(operationDefinitionOrStub);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.OPERATION_DECLARATION:
+ {
+ OperationDeclaration operationDeclaration = (OperationDeclaration)theEObject;
+ T result = caseOperationDeclaration(operationDeclaration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETERS:
+ {
+ FormalParameters formalParameters = (FormalParameters)theEObject;
+ T result = caseFormalParameters(formalParameters);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETER_LIST:
+ {
+ FormalParameterList formalParameterList = (FormalParameterList)theEObject;
+ T result = caseFormalParameterList(formalParameterList);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.FORMAL_PARAMETER:
+ {
+ FormalParameter formalParameter = (FormalParameter)theEObject;
+ T result = caseFormalParameter(formalParameter);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.TYPE_PART:
+ {
+ TypePart typePart = (TypePart)theEObject;
+ T result = caseTypePart(typePart);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.MULTIPLICITY:
+ {
+ Multiplicity multiplicity = (Multiplicity)theEObject;
+ T result = caseMultiplicity(multiplicity);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.MULTIPLICITY_RANGE:
+ {
+ MultiplicityRange multiplicityRange = (MultiplicityRange)theEObject;
+ T result = caseMultiplicityRange(multiplicityRange);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX:
+ {
+ NUMBER_LITERAL_WITHOUT_SUFFIX numbeR_LITERAL_WITHOUT_SUFFIX = (NUMBER_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(numbeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX:
+ {
+ INTEGER_LITERAL_WITHOUT_SUFFIX integeR_LITERAL_WITHOUT_SUFFIX = (INTEGER_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseINTEGER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX:
+ {
+ UNLIMITED_LITERAL_WITHOUT_SUFFIX unlimiteD_LITERAL_WITHOUT_SUFFIX = (UNLIMITED_LITERAL_WITHOUT_SUFFIX)theEObject;
+ T result = caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.TYPE_NAME:
+ {
+ TypeName typeName = (TypeName)theEObject;
+ T result = caseTypeName(typeName);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case OperationPackage.REDEFINITION_CLAUSE:
+ {
+ RedefinitionClause redefinitionClause = (RedefinitionClause)theEObject;
+ T result = caseRedefinitionClause(redefinitionClause);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDefinitionOrStub(OperationDefinitionOrStub object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Definition Or Stub</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Declaration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDeclaration(OperationDeclaration object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Declaration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOperationDeclaration(OperationDeclaration object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameters(FormalParameters object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameters</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameters(FormalParameters object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameterList(FormalParameterList object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameter List</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameterList(FormalParameterList object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameter(FormalParameter object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Formal Parameter</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFormalParameter(FormalParameter object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type Part</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Type Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypePart(TypePart object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Type Part</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Type Part</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTypePart(TypePart object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicity(Multiplicity object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMultiplicity(Multiplicity object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicityRange(MultiplicityRange object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Multiplicity Range</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMultiplicityRange(MultiplicityRange object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type Name</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Type Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypeName(TypeName object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Type Name</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Type Name</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTypeName(TypeName object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRedefinitionClause(RedefinitionClause object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Redefinition Clause</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRedefinitionClause(RedefinitionClause object)
+ {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object)
+ {
+ return null;
+ }
} //OperationSwitch

Back to the top