Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java143
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionAssignment.java115
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionStatement.java90
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java21
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java662
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java (renamed from plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionStatementImpl.java)156
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionAssignmentImpl.java278
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java29
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java245
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java13
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java13
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java15
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java28
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java317
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java81
-rw-r--r--plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java3
23 files changed, 887 insertions, 1427 deletions
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java
new file mode 100644
index 000000000..7527e50bc
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/AddStatement.java
@@ -0,0 +1,143 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * E.D.Willink - Initial API and implementation
+ *
+ * </copyright>
+ */
+package org.eclipse.qvtd.pivot.qvtimperative;
+
+import org.eclipse.ocl.pivot.OCLExpression;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Add Statement</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * A ConnectionStatement assigns results to a ConnectionVariable.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement()
+ * @generated
+ */
+public interface AddStatement extends MappingStatement {
+ /**
+ * Returns the value of the '<em><b>Target Variable</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Variable</em>' reference.
+ * @see #setTargetVariable(ConnectionVariable)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement_TargetVariable()
+ * @generated
+ */
+ ConnectionVariable getTargetVariable();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Variable</em>' reference.
+ * @see #getTargetVariable()
+ * @generated
+ */
+ void setTargetVariable(ConnectionVariable value);
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</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>Value</em>' containment reference.
+ * @see #setValue(OCLExpression)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement_Value()
+ * @generated
+ */
+ OCLExpression getValue();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' containment reference.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(OCLExpression value);
+
+ /**
+ * Returns the value of the '<em><b>Is Enforcead Unique</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Enforcead 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>Is Enforcead Unique</em>' attribute.
+ * @see #isSetIsEnforceadUnique()
+ * @see #unsetIsEnforceadUnique()
+ * @see #setIsEnforceadUnique(boolean)
+ * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getAddStatement_IsEnforceadUnique()
+ * @generated
+ */
+ boolean isIsEnforceadUnique();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Enforcead Unique</em>' attribute.
+ * @see #isSetIsEnforceadUnique()
+ * @see #unsetIsEnforceadUnique()
+ * @see #isIsEnforceadUnique()
+ * @generated
+ */
+ void setIsEnforceadUnique(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetIsEnforceadUnique()
+ * @see #isIsEnforceadUnique()
+ * @see #setIsEnforceadUnique(boolean)
+ * @generated
+ */
+ void unsetIsEnforceadUnique();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Is Enforcead Unique</em>' attribute is set.
+ * @see #unsetIsEnforceadUnique()
+ * @see #isIsEnforceadUnique()
+ * @see #setIsEnforceadUnique(boolean)
+ * @generated
+ */
+ boolean isSetIsEnforceadUnique();
+
+} // AddStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionAssignment.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionAssignment.java
deleted file mode 100644
index c39516796..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionAssignment.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2016 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Connection Assignment</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * A ConnectionAssignment assigns initial values to a ConnectionVariable.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#getTargetVariable <em>Target Variable</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionAssignment()
- * @generated
- */
-public interface ConnectionAssignment extends Assignment {
- /**
- * Returns the value of the '<em><b>Target Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target Variable</em>' reference.
- * @see #setTargetVariable(ConnectionVariable)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionAssignment_TargetVariable()
- * @generated
- */
- ConnectionVariable getTargetVariable();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#getTargetVariable <em>Target Variable</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Variable</em>' reference.
- * @see #getTargetVariable()
- * @generated
- */
- void setTargetVariable(ConnectionVariable value);
-
- /**
- * Returns the value of the '<em><b>Is Enforcead Unqiue</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Enforcead Unqiue</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Enforcead Unqiue</em>' attribute.
- * @see #isSetIsEnforceadUnqiue()
- * @see #unsetIsEnforceadUnqiue()
- * @see #setIsEnforceadUnqiue(boolean)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionAssignment_IsEnforceadUnqiue()
- * @generated
- */
- boolean isIsEnforceadUnqiue();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Enforcead Unqiue</em>' attribute.
- * @see #isSetIsEnforceadUnqiue()
- * @see #unsetIsEnforceadUnqiue()
- * @see #isIsEnforceadUnqiue()
- * @generated
- */
- void setIsEnforceadUnqiue(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetIsEnforceadUnqiue()
- * @see #isIsEnforceadUnqiue()
- * @see #setIsEnforceadUnqiue(boolean)
- * @generated
- */
- void unsetIsEnforceadUnqiue();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Is Enforcead Unqiue</em>' attribute is set.
- * @see #unsetIsEnforceadUnqiue()
- * @see #isIsEnforceadUnqiue()
- * @see #setIsEnforceadUnqiue(boolean)
- * @generated
- */
- boolean isSetIsEnforceadUnqiue();
-
-} // ConnectionAssignment
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionStatement.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionStatement.java
deleted file mode 100644
index 05843ef68..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/ConnectionStatement.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2016 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative;
-
-import org.eclipse.ocl.pivot.OCLExpression;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Connection Statement</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * A ConnectionStatement assigns results to a ConnectionVariable.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getTargetVariable <em>Target Variable</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getValue <em>Value</em>}</li>
- * </ul>
- *
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionStatement()
- * @generated
- */
-public interface ConnectionStatement extends MappingStatement {
- /**
- * Returns the value of the '<em><b>Target Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target Variable</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target Variable</em>' reference.
- * @see #setTargetVariable(ConnectionVariable)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionStatement_TargetVariable()
- * @generated
- */
- ConnectionVariable getTargetVariable();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getTargetVariable <em>Target Variable</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Variable</em>' reference.
- * @see #getTargetVariable()
- * @generated
- */
- void setTargetVariable(ConnectionVariable value);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</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>Value</em>' containment reference.
- * @see #setValue(OCLExpression)
- * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getConnectionStatement_Value()
- * @generated
- */
- OCLExpression getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getValue <em>Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' containment reference.
- * @see #getValue()
- * @generated
- */
- void setValue(OCLExpression value);
-
-} // ConnectionStatement
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
index 95dc6af4b..d18a79452 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativeFactory.java
@@ -31,31 +31,22 @@ public interface QVTimperativeFactory extends EFactory {
QVTimperativeFactory eINSTANCE = org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativeFactoryImpl.init();
/**
- * Returns a new object of class '<em>Bottom Pattern</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bottom Pattern</em>'.
- * @generated
- */
- @NonNull BottomPattern createBottomPattern();
-
- /**
- * Returns a new object of class '<em>Connection Assignment</em>'.
+ * Returns a new object of class '<em>Add Statement</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Connection Assignment</em>'.
+ * @return a new object of class '<em>Add Statement</em>'.
* @generated
*/
- @NonNull ConnectionAssignment createConnectionAssignment();
+ @NonNull AddStatement createAddStatement();
/**
- * Returns a new object of class '<em>Connection Statement</em>'.
+ * Returns a new object of class '<em>Bottom Pattern</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Connection Statement</em>'.
+ * @return a new object of class '<em>Bottom Pattern</em>'.
* @generated
*/
- @NonNull ConnectionStatement createConnectionStatement();
+ @NonNull BottomPattern createBottomPattern();
/**
* Returns a new object of class '<em>Connection Variable</em>'.
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
index 2e867c3e5..3e65ad631 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/QVTimperativePackage.java
@@ -96,262 +96,275 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getArea()
* @generated
*/
- int AREA = 0;
+ int AREA = 1;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl <em>Assignment</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAssignment()
* @generated
- * @ordered
*/
- int AREA__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
+ int ASSIGNMENT = 2;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl <em>Imperative Pattern</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativePattern()
* @generated
- * @ordered
*/
- int AREA__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
+ int IMPERATIVE_PATTERN = 9;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl <em>Bottom Pattern</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomPattern()
* @generated
- * @ordered
*/
- int AREA__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
+ int BOTTOM_PATTERN = 3;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl <em>Imperative Model</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeModel()
* @generated
- * @ordered
*/
- int AREA__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
+ int IMPERATIVE_MODEL = 8;
/**
- * The feature id for the '<em><b>Guard Pattern</b></em>' containment reference.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl <em>Mapping</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMapping()
* @generated
- * @ordered
*/
- int AREA__GUARD_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
+ int MAPPING = 10;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' containment reference.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingStatementImpl <em>Mapping Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingStatement()
* @generated
- * @ordered
*/
- int AREA__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
+ int MAPPING_STATEMENT = 14;
/**
- * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionVariable()
* @generated
- * @ordered
*/
- int AREA__CHECKED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
+ int CONNECTION_VARIABLE = 5;
/**
- * The feature id for the '<em><b>Enforced Properties</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl <em>Guard Pattern</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardPattern()
* @generated
- * @ordered
*/
- int AREA__ENFORCED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
+ int GUARD_PATTERN = 6;
/**
- * The number of structural features of the '<em>Area</em>' class.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl <em>Imperative Domain</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeDomain()
* @generated
- * @ordered
*/
- int AREA_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 4;
+ int IMPERATIVE_DOMAIN = 7;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl <em>Assignment</em>}' class.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl <em>Mapping Call</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAssignment()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCall()
* @generated
*/
- int ASSIGNMENT = 1;
+ int MAPPING_CALL = 11;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallBindingImpl <em>Mapping Call Binding</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallBindingImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCallBinding()
* @generated
- * @ordered
*/
- int ASSIGNMENT__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
+ int MAPPING_CALL_BINDING = 12;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingLoopImpl <em>Mapping Loop</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingLoopImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingLoop()
* @generated
- * @ordered
*/
- int ASSIGNMENT__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
+ int MAPPING_LOOP = 13;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.RealizedVariableImpl <em>Realized Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.RealizedVariableImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getRealizedVariable()
* @generated
- * @ordered
*/
- int ASSIGNMENT__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
+ int REALIZED_VARIABLE = 15;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl <em>Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getStatement()
* @generated
- * @ordered
*/
- int ASSIGNMENT__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
+ int STATEMENT = 17;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' container reference.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
+ int STATEMENT__ANNOTATING_COMMENTS = PivotPackage.NAMED_ELEMENT__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT__VALUE = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
+ int STATEMENT__OWNED_ANNOTATIONS = PivotPackage.NAMED_ELEMENT__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Is Default</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT__IS_DEFAULT = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
+ int STATEMENT__OWNED_COMMENTS = PivotPackage.NAMED_ELEMENT__OWNED_COMMENTS;
/**
- * The number of structural features of the '<em>Assignment</em>' class.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ASSIGNMENT_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
+ int STATEMENT__OWNED_EXTENSIONS = PivotPackage.NAMED_ELEMENT__OWNED_EXTENSIONS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl <em>Imperative Pattern</em>}' class.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativePatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativePattern()
* @generated
+ * @ordered
*/
- int IMPERATIVE_PATTERN = 10;
+ int STATEMENT__NAME = PivotPackage.NAMED_ELEMENT__NAME;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The number of structural features of the '<em>Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__ANNOTATING_COMMENTS = QVTbasePackage.PATTERN__ANNOTATING_COMMENTS;
+ int STATEMENT_FEATURE_COUNT = PivotPackage.NAMED_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl <em>Bottom Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomStatement()
* @generated
- * @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_ANNOTATIONS = QVTbasePackage.PATTERN__OWNED_ANNOTATIONS;
+ int BOTTOM_STATEMENT = 4;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_COMMENTS = QVTbasePackage.PATTERN__OWNED_COMMENTS;
+ int MAPPING_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__OWNED_EXTENSIONS = QVTbasePackage.PATTERN__OWNED_EXTENSIONS;
+ int MAPPING_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__PREDICATE = QVTbasePackage.PATTERN__PREDICATE;
+ int MAPPING_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Binds To</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__BINDS_TO = QVTbasePackage.PATTERN__BINDS_TO;
+ int MAPPING_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN__VARIABLE = QVTbasePackage.PATTERN_FEATURE_COUNT + 0;
+ int MAPPING_STATEMENT__NAME = STATEMENT__NAME;
/**
- * The number of structural features of the '<em>Imperative Pattern</em>' class.
+ * The number of structural features of the '<em>Mapping Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int IMPERATIVE_PATTERN_FEATURE_COUNT = QVTbasePackage.PATTERN_FEATURE_COUNT + 1;
+ int MAPPING_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl <em>Bottom Pattern</em>}' class.
+ * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl <em>Add Statement</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomPattern()
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAddStatement()
* @generated
*/
- int BOTTOM_PATTERN = 2;
+ int ADD_STATEMENT = 0;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -360,7 +373,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__ANNOTATING_COMMENTS = IMPERATIVE_PATTERN__ANNOTATING_COMMENTS;
+ int ADD_STATEMENT__ANNOTATING_COMMENTS = MAPPING_STATEMENT__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -369,7 +382,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_ANNOTATIONS = IMPERATIVE_PATTERN__OWNED_ANNOTATIONS;
+ int ADD_STATEMENT__OWNED_ANNOTATIONS = MAPPING_STATEMENT__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -378,7 +391,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_COMMENTS = IMPERATIVE_PATTERN__OWNED_COMMENTS;
+ int ADD_STATEMENT__OWNED_COMMENTS = MAPPING_STATEMENT__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -387,200 +400,133 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__OWNED_EXTENSIONS = IMPERATIVE_PATTERN__OWNED_EXTENSIONS;
+ int ADD_STATEMENT__OWNED_EXTENSIONS = MAPPING_STATEMENT__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__PREDICATE = IMPERATIVE_PATTERN__PREDICATE;
+ int ADD_STATEMENT__NAME = MAPPING_STATEMENT__NAME;
/**
- * The feature id for the '<em><b>Binds To</b></em>' reference list.
+ * The feature id for the '<em><b>Target Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__BINDS_TO = IMPERATIVE_PATTERN__BINDS_TO;
+ int ADD_STATEMENT__TARGET_VARIABLE = MAPPING_STATEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__VARIABLE = IMPERATIVE_PATTERN__VARIABLE;
+ int ADD_STATEMENT__VALUE = MAPPING_STATEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Area</b></em>' container reference.
+ * The feature id for the '<em><b>Is Enforcead Unique</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__AREA = IMPERATIVE_PATTERN_FEATURE_COUNT + 0;
+ int ADD_STATEMENT__IS_ENFORCEAD_UNIQUE = MAPPING_STATEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
+ * The number of structural features of the '<em>Add Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__ASSIGNMENT = IMPERATIVE_PATTERN_FEATURE_COUNT + 1;
+ int ADD_STATEMENT_FEATURE_COUNT = MAPPING_STATEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Realized Variable</b></em>' containment reference list.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN__REALIZED_VARIABLE = IMPERATIVE_PATTERN_FEATURE_COUNT + 2;
+ int AREA__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
/**
- * The number of structural features of the '<em>Bottom Pattern</em>' class.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_PATTERN_FEATURE_COUNT = IMPERATIVE_PATTERN_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl <em>Connection Assignment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionAssignment()
- * @generated
- */
- int CONNECTION_ASSIGNMENT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl <em>Imperative Model</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeModelImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeModel()
- * @generated
- */
- int IMPERATIVE_MODEL = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl <em>Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMapping()
- * @generated
- */
- int MAPPING = 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingStatementImpl <em>Mapping Statement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingStatement()
- * @generated
- */
- int MAPPING_STATEMENT = 15;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl <em>Connection Statement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionStatement()
- * @generated
- */
- int CONNECTION_STATEMENT = 5;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionVariable()
- * @generated
- */
- int CONNECTION_VARIABLE = 6;
+ int AREA__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl <em>Guard Pattern</em>}' class.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.GuardPatternImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getGuardPattern()
* @generated
+ * @ordered
*/
- int GUARD_PATTERN = 7;
+ int AREA__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl <em>Imperative Domain</em>}' class.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ImperativeDomainImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getImperativeDomain()
* @generated
+ * @ordered
*/
- int IMPERATIVE_DOMAIN = 8;
+ int AREA__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl <em>Mapping Call</em>}' class.
+ * The feature id for the '<em><b>Guard Pattern</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCall()
* @generated
+ * @ordered
*/
- int MAPPING_CALL = 12;
+ int AREA__GUARD_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallBindingImpl <em>Mapping Call Binding</em>}' class.
+ * The feature id for the '<em><b>Bottom Pattern</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingCallBindingImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingCallBinding()
* @generated
+ * @ordered
*/
- int MAPPING_CALL_BINDING = 13;
+ int AREA__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.MappingLoopImpl <em>Mapping Loop</em>}' class.
+ * The feature id for the '<em><b>Checked Properties</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.MappingLoopImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getMappingLoop()
* @generated
+ * @ordered
*/
- int MAPPING_LOOP = 14;
+ int AREA__CHECKED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.RealizedVariableImpl <em>Realized Variable</em>}' class.
+ * The feature id for the '<em><b>Enforced Properties</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.RealizedVariableImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getRealizedVariable()
* @generated
+ * @ordered
*/
- int REALIZED_VARIABLE = 16;
+ int AREA__ENFORCED_PROPERTIES = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl <em>Statement</em>}' class.
+ * The number of structural features of the '<em>Area</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.StatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getStatement()
* @generated
+ * @ordered
*/
- int STATEMENT = 18;
+ int AREA_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -589,7 +535,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int STATEMENT__ANNOTATING_COMMENTS = PivotPackage.NAMED_ELEMENT__ANNOTATING_COMMENTS;
+ int ASSIGNMENT__ANNOTATING_COMMENTS = PivotPackage.ELEMENT__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -598,7 +544,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int STATEMENT__OWNED_ANNOTATIONS = PivotPackage.NAMED_ELEMENT__OWNED_ANNOTATIONS;
+ int ASSIGNMENT__OWNED_ANNOTATIONS = PivotPackage.ELEMENT__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -607,7 +553,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int STATEMENT__OWNED_COMMENTS = PivotPackage.NAMED_ELEMENT__OWNED_COMMENTS;
+ int ASSIGNMENT__OWNED_COMMENTS = PivotPackage.ELEMENT__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -616,233 +562,214 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int STATEMENT__OWNED_EXTENSIONS = PivotPackage.NAMED_ELEMENT__OWNED_EXTENSIONS;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STATEMENT__NAME = PivotPackage.NAMED_ELEMENT__NAME;
+ int ASSIGNMENT__OWNED_EXTENSIONS = PivotPackage.ELEMENT__OWNED_EXTENSIONS;
/**
- * The number of structural features of the '<em>Statement</em>' class.
+ * The feature id for the '<em><b>Bottom Pattern</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int STATEMENT_FEATURE_COUNT = PivotPackage.NAMED_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl <em>Bottom Statement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.BottomStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getBottomStatement()
- * @generated
- */
- int BOTTOM_STATEMENT = 3;
+ int ASSIGNMENT__BOTTOM_PATTERN = PivotPackage.ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
+ int ASSIGNMENT__VALUE = PivotPackage.ELEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Is Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
+ int ASSIGNMENT__IS_DEFAULT = PivotPackage.ELEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The number of structural features of the '<em>Assignment</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
+ int ASSIGNMENT_FEATURE_COUNT = PivotPackage.ELEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
+ int IMPERATIVE_PATTERN__ANNOTATING_COMMENTS = QVTbasePackage.PATTERN__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT__NAME = STATEMENT__NAME;
+ int IMPERATIVE_PATTERN__OWNED_ANNOTATIONS = QVTbasePackage.PATTERN__OWNED_ANNOTATIONS;
/**
- * The number of structural features of the '<em>Bottom Statement</em>' class.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int BOTTOM_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
+ int IMPERATIVE_PATTERN__OWNED_COMMENTS = QVTbasePackage.PATTERN__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__ANNOTATING_COMMENTS = ASSIGNMENT__ANNOTATING_COMMENTS;
+ int IMPERATIVE_PATTERN__OWNED_EXTENSIONS = QVTbasePackage.PATTERN__OWNED_EXTENSIONS;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__OWNED_ANNOTATIONS = ASSIGNMENT__OWNED_ANNOTATIONS;
+ int IMPERATIVE_PATTERN__PREDICATE = QVTbasePackage.PATTERN__PREDICATE;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Binds To</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__OWNED_COMMENTS = ASSIGNMENT__OWNED_COMMENTS;
+ int IMPERATIVE_PATTERN__BINDS_TO = QVTbasePackage.PATTERN__BINDS_TO;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Variable</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__OWNED_EXTENSIONS = ASSIGNMENT__OWNED_EXTENSIONS;
+ int IMPERATIVE_PATTERN__VARIABLE = QVTbasePackage.PATTERN_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Bottom Pattern</b></em>' container reference.
+ * The number of structural features of the '<em>Imperative Pattern</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__BOTTOM_PATTERN = ASSIGNMENT__BOTTOM_PATTERN;
+ int IMPERATIVE_PATTERN_FEATURE_COUNT = QVTbasePackage.PATTERN_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__VALUE = ASSIGNMENT__VALUE;
+ int BOTTOM_PATTERN__ANNOTATING_COMMENTS = IMPERATIVE_PATTERN__ANNOTATING_COMMENTS;
/**
- * The feature id for the '<em><b>Is Default</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__IS_DEFAULT = ASSIGNMENT__IS_DEFAULT;
+ int BOTTOM_PATTERN__OWNED_ANNOTATIONS = IMPERATIVE_PATTERN__OWNED_ANNOTATIONS;
/**
- * The feature id for the '<em><b>Target Variable</b></em>' reference.
+ * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__TARGET_VARIABLE = ASSIGNMENT_FEATURE_COUNT + 0;
+ int BOTTOM_PATTERN__OWNED_COMMENTS = IMPERATIVE_PATTERN__OWNED_COMMENTS;
/**
- * The feature id for the '<em><b>Is Enforcead Unqiue</b></em>' attribute.
+ * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE = ASSIGNMENT_FEATURE_COUNT + 1;
+ int BOTTOM_PATTERN__OWNED_EXTENSIONS = IMPERATIVE_PATTERN__OWNED_EXTENSIONS;
/**
- * The number of structural features of the '<em>Connection Assignment</em>' class.
+ * The feature id for the '<em><b>Predicate</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_ASSIGNMENT_FEATURE_COUNT = ASSIGNMENT_FEATURE_COUNT + 2;
+ int BOTTOM_PATTERN__PREDICATE = IMPERATIVE_PATTERN__PREDICATE;
/**
- * The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
+ * The feature id for the '<em><b>Binds To</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
+ int BOTTOM_PATTERN__BINDS_TO = IMPERATIVE_PATTERN__BINDS_TO;
/**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Variable</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
+ int BOTTOM_PATTERN__VARIABLE = IMPERATIVE_PATTERN__VARIABLE;
/**
- * The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
+ * The feature id for the '<em><b>Area</b></em>' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
+ int BOTTOM_PATTERN__AREA = IMPERATIVE_PATTERN_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
+ * The feature id for the '<em><b>Assignment</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
+ int BOTTOM_PATTERN__ASSIGNMENT = IMPERATIVE_PATTERN_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Realized Variable</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT__NAME = STATEMENT__NAME;
+ int BOTTOM_PATTERN__REALIZED_VARIABLE = IMPERATIVE_PATTERN_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Mapping Statement</em>' class.
+ * The number of structural features of the '<em>Bottom Pattern</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
+ int BOTTOM_PATTERN_FEATURE_COUNT = IMPERATIVE_PATTERN_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -851,7 +778,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT__ANNOTATING_COMMENTS = MAPPING_STATEMENT__ANNOTATING_COMMENTS;
+ int BOTTOM_STATEMENT__ANNOTATING_COMMENTS = STATEMENT__ANNOTATING_COMMENTS;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -860,7 +787,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT__OWNED_ANNOTATIONS = MAPPING_STATEMENT__OWNED_ANNOTATIONS;
+ int BOTTOM_STATEMENT__OWNED_ANNOTATIONS = STATEMENT__OWNED_ANNOTATIONS;
/**
* The feature id for the '<em><b>Owned Comments</b></em>' containment reference list.
@@ -869,7 +796,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT__OWNED_COMMENTS = MAPPING_STATEMENT__OWNED_COMMENTS;
+ int BOTTOM_STATEMENT__OWNED_COMMENTS = STATEMENT__OWNED_COMMENTS;
/**
* The feature id for the '<em><b>Owned Extensions</b></em>' containment reference list.
@@ -878,7 +805,7 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT__OWNED_EXTENSIONS = MAPPING_STATEMENT__OWNED_EXTENSIONS;
+ int BOTTOM_STATEMENT__OWNED_EXTENSIONS = STATEMENT__OWNED_EXTENSIONS;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -887,34 +814,16 @@ public interface QVTimperativePackage extends EPackage {
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT__NAME = MAPPING_STATEMENT__NAME;
-
- /**
- * The feature id for the '<em><b>Target Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONNECTION_STATEMENT__TARGET_VARIABLE = MAPPING_STATEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONNECTION_STATEMENT__VALUE = MAPPING_STATEMENT_FEATURE_COUNT + 1;
+ int BOTTOM_STATEMENT__NAME = STATEMENT__NAME;
/**
- * The number of structural features of the '<em>Connection Statement</em>' class.
+ * The number of structural features of the '<em>Bottom Statement</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CONNECTION_STATEMENT_FEATURE_COUNT = MAPPING_STATEMENT_FEATURE_COUNT + 2;
+ int BOTTOM_STATEMENT_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1860,7 +1769,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getSetStatement()
* @generated
*/
- int SET_STATEMENT = 17;
+ int SET_STATEMENT = 16;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -1960,7 +1869,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariableAssignment()
* @generated
*/
- int VARIABLE_ASSIGNMENT = 19;
+ int VARIABLE_ASSIGNMENT = 18;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -2051,7 +1960,7 @@ public interface QVTimperativePackage extends EPackage {
* @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getVariablePredicate()
* @generated
*/
- int VARIABLE_PREDICATE = 20;
+ int VARIABLE_PREDICATE = 19;
/**
* The feature id for the '<em><b>Annotating Comments</b></em>' reference list.
@@ -2126,6 +2035,49 @@ public interface QVTimperativePackage extends EPackage {
int VARIABLE_PREDICATE_FEATURE_COUNT = QVTbasePackage.PREDICATE_FEATURE_COUNT + 1;
/**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement <em>Add Statement</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Add Statement</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement
+ * @generated
+ */
+ EClass getAddStatement();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable <em>Target Variable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Variable</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getTargetVariable()
+ * @see #getAddStatement()
+ * @generated
+ */
+ EReference getAddStatement_TargetVariable();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#getValue()
+ * @see #getAddStatement()
+ * @generated
+ */
+ EReference getAddStatement_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique <em>Is Enforcead Unique</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Enforcead Unique</em>'.
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement#isIsEnforceadUnique()
+ * @see #getAddStatement()
+ * @generated
+ */
+ EAttribute getAddStatement_IsEnforceadUnique();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2276,70 +2228,6 @@ public interface QVTimperativePackage extends EPackage {
EClass getBottomStatement();
/**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment <em>Connection Assignment</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Connection Assignment</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment
- * @generated
- */
- EClass getConnectionAssignment();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#getTargetVariable <em>Target Variable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#getTargetVariable()
- * @see #getConnectionAssignment()
- * @generated
- */
- EReference getConnectionAssignment_TargetVariable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Enforcead Unqiue</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment#isIsEnforceadUnqiue()
- * @see #getConnectionAssignment()
- * @generated
- */
- EAttribute getConnectionAssignment_IsEnforceadUnqiue();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement <em>Connection Statement</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Connection Statement</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement
- * @generated
- */
- EClass getConnectionStatement();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getTargetVariable <em>Target Variable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target Variable</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getTargetVariable()
- * @see #getConnectionStatement()
- * @generated
- */
- EReference getConnectionStatement_TargetVariable();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement#getValue()
- * @see #getConnectionStatement()
- * @generated
- */
- EReference getConnectionStatement_Value();
-
- /**
* Returns the meta object for class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable <em>Connection Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2743,6 +2631,40 @@ public interface QVTimperativePackage extends EPackage {
*/
interface Literals {
/**
+ * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl <em>Add Statement</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl
+ * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getAddStatement()
+ * @generated
+ */
+ EClass ADD_STATEMENT = eINSTANCE.getAddStatement();
+
+ /**
+ * The meta object literal for the '<em><b>Target Variable</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ADD_STATEMENT__TARGET_VARIABLE = eINSTANCE.getAddStatement_TargetVariable();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ADD_STATEMENT__VALUE = eINSTANCE.getAddStatement_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Is Enforcead Unique</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ADD_STATEMENT__IS_ENFORCEAD_UNIQUE = eINSTANCE.getAddStatement_IsEnforceadUnique();
+
+ /**
* The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.Area <em>Area</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2863,58 +2785,6 @@ public interface QVTimperativePackage extends EPackage {
EClass BOTTOM_STATEMENT = eINSTANCE.getBottomStatement();
/**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl <em>Connection Assignment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionAssignment()
- * @generated
- */
- EClass CONNECTION_ASSIGNMENT = eINSTANCE.getConnectionAssignment();
-
- /**
- * The meta object literal for the '<em><b>Target Variable</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONNECTION_ASSIGNMENT__TARGET_VARIABLE = eINSTANCE.getConnectionAssignment_TargetVariable();
-
- /**
- * The meta object literal for the '<em><b>Is Enforcead Unqiue</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE = eINSTANCE.getConnectionAssignment_IsEnforceadUnqiue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl <em>Connection Statement</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl
- * @see org.eclipse.qvtd.pivot.qvtimperative.impl.QVTimperativePackageImpl#getConnectionStatement()
- * @generated
- */
- EClass CONNECTION_STATEMENT = eINSTANCE.getConnectionStatement();
-
- /**
- * The meta object literal for the '<em><b>Target Variable</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONNECTION_STATEMENT__TARGET_VARIABLE = eINSTANCE.getConnectionStatement_TargetVariable();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONNECTION_STATEMENT__VALUE = eINSTANCE.getConnectionStatement_Value();
-
- /**
* The meta object literal for the '{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionVariableImpl <em>Connection Variable</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionStatementImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java
index ce2c1ed4a..1f0b167f2 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionStatementImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/AddStatementImpl.java
@@ -1,15 +1,15 @@
/**
* <copyright>
- *
- * Copyright (c) 2013, 2016 Willink Transformations and others.
+ *
+ * Copyright (c) 2013, 2017 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* E.D.Willink - Initial API and implementation
- *
+ *
* </copyright>
*/
package org.eclipse.qvtd.pivot.qvtimperative.impl;
@@ -28,7 +28,7 @@ import org.eclipse.ocl.pivot.OCLExpression;
import org.eclipse.ocl.pivot.util.Visitor;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement;
+import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
@@ -36,19 +36,20 @@ import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
/**
* <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Connection Statement</b></em>'.
+ * An implementation of the model object '<em><b>Add Statement</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl#getTargetVariable <em>Target Variable</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionStatementImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#getTargetVariable <em>Target Variable</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.AddStatementImpl#isIsEnforceadUnique <em>Is Enforcead Unique</em>}</li>
* </ul>
*
* @generated
*/
-public class ConnectionStatementImpl extends MappingStatementImpl implements ConnectionStatement {
+public class AddStatementImpl extends MappingStatementImpl implements AddStatement {
/**
* The cached value of the '{@link #getTargetVariable() <em>Target Variable</em>}' reference.
* <!-- begin-user-doc -->
@@ -70,11 +71,40 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
protected OCLExpression value;
/**
+ * The default value of the '{@link #isIsEnforceadUnique() <em>Is Enforcead Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsEnforceadUnique()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_ENFORCEAD_UNIQUE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsEnforceadUnique() <em>Is Enforcead Unique</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsEnforceadUnique()
+ * @generated
+ * @ordered
+ */
+ protected boolean isEnforceadUnique = IS_ENFORCEAD_UNIQUE_EDEFAULT;
+
+ /**
+ * This is true if the Is Enforcead Unique attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
+ * @ordered
*/
- protected ConnectionStatementImpl() {
+ protected boolean isEnforceadUniqueESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AddStatementImpl() {
super();
}
@@ -85,7 +115,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
*/
@Override
protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.CONNECTION_STATEMENT;
+ return QVTimperativePackage.Literals.ADD_STATEMENT;
}
/**
@@ -100,7 +130,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
targetVariable = (ConnectionVariable)eResolveProxy(oldTargetVariable);
if (targetVariable != oldTargetVariable) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
}
}
return targetVariable;
@@ -125,7 +155,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
ConnectionVariable oldTargetVariable = targetVariable;
targetVariable = newTargetVariable;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
}
/**
@@ -147,7 +177,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
OCLExpression oldValue = value;
value = newValue;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CONNECTION_STATEMENT__VALUE, oldValue, newValue);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__VALUE, oldValue, newValue);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
@@ -163,14 +193,74 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
if (newValue != value) {
NotificationChain msgs = null;
if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.CONNECTION_STATEMENT__VALUE, null, msgs);
+ msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.ADD_STATEMENT__VALUE, null, msgs);
if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.CONNECTION_STATEMENT__VALUE, null, msgs);
+ msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativePackage.ADD_STATEMENT__VALUE, null, msgs);
msgs = basicSetValue(newValue, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CONNECTION_STATEMENT__VALUE, newValue, newValue));
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__VALUE, newValue, newValue));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isIsEnforceadUnique() {
+ return isEnforceadUnique;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setIsEnforceadUnique(boolean newIsEnforceadUnique) {
+ boolean oldIsEnforceadUnique = isEnforceadUnique;
+ isEnforceadUnique = newIsEnforceadUnique;
+ boolean oldIsEnforceadUniqueESet = isEnforceadUniqueESet;
+ isEnforceadUniqueESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE, oldIsEnforceadUnique, isEnforceadUnique, !oldIsEnforceadUniqueESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void unsetIsEnforceadUnique() {
+ boolean oldIsEnforceadUnique = isEnforceadUnique;
+ boolean oldIsEnforceadUniqueESet = isEnforceadUniqueESet;
+ isEnforceadUnique = IS_ENFORCEAD_UNIQUE_EDEFAULT;
+ isEnforceadUniqueESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE, oldIsEnforceadUnique, IS_ENFORCEAD_UNIQUE_EDEFAULT, oldIsEnforceadUniqueESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isSetIsEnforceadUnique() {
+ return isEnforceadUniqueESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return super.toString();
}
/**
@@ -181,7 +271,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case QVTimperativePackage.CONNECTION_STATEMENT__VALUE:
+ case QVTimperativePackage.ADD_STATEMENT__VALUE:
return basicSetValue(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -195,11 +285,13 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE:
+ case QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE:
if (resolve) return getTargetVariable();
return basicGetTargetVariable();
- case QVTimperativePackage.CONNECTION_STATEMENT__VALUE:
+ case QVTimperativePackage.ADD_STATEMENT__VALUE:
return getValue();
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
+ return isIsEnforceadUnique();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -212,12 +304,15 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE:
+ case QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE:
setTargetVariable((ConnectionVariable)newValue);
return;
- case QVTimperativePackage.CONNECTION_STATEMENT__VALUE:
+ case QVTimperativePackage.ADD_STATEMENT__VALUE:
setValue((OCLExpression)newValue);
return;
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
+ setIsEnforceadUnique((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -230,12 +325,15 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE:
+ case QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE:
setTargetVariable((ConnectionVariable)null);
return;
- case QVTimperativePackage.CONNECTION_STATEMENT__VALUE:
+ case QVTimperativePackage.ADD_STATEMENT__VALUE:
setValue((OCLExpression)null);
return;
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
+ unsetIsEnforceadUnique();
+ return;
}
super.eUnset(featureID);
}
@@ -248,10 +346,12 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativePackage.CONNECTION_STATEMENT__TARGET_VARIABLE:
+ case QVTimperativePackage.ADD_STATEMENT__TARGET_VARIABLE:
return targetVariable != null;
- case QVTimperativePackage.CONNECTION_STATEMENT__VALUE:
+ case QVTimperativePackage.ADD_STATEMENT__VALUE:
return value != null;
+ case QVTimperativePackage.ADD_STATEMENT__IS_ENFORCEAD_UNIQUE:
+ return isSetIsEnforceadUnique();
}
return super.eIsSet(featureID);
}
@@ -263,7 +363,7 @@ public class ConnectionStatementImpl extends MappingStatementImpl implements Con
@SuppressWarnings("unchecked")
@Override
public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitConnectionStatement(this);
+ return (R) ((QVTimperativeVisitor<?>)visitor).visitAddStatement(this);
}
-} //ConnectionStatementImpl
+} //AddStatementImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionAssignmentImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionAssignmentImpl.java
deleted file mode 100644
index 77e465b10..000000000
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/ConnectionAssignmentImpl.java
+++ /dev/null
@@ -1,278 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2013, 2016 Willink Transformations and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * E.D.Willink - Initial API and implementation
- *
- * </copyright>
- */
-package org.eclipse.qvtd.pivot.qvtimperative.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.ocl.pivot.util.Visitor;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
-import org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage;
-import org.eclipse.qvtd.pivot.qvtimperative.util.QVTimperativeVisitor;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Connection Assignment</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl#getTargetVariable <em>Target Variable</em>}</li>
- * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.impl.ConnectionAssignmentImpl#isIsEnforceadUnqiue <em>Is Enforcead Unqiue</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ConnectionAssignmentImpl extends AssignmentImpl implements ConnectionAssignment {
- /**
- * The cached value of the '{@link #getTargetVariable() <em>Target Variable</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetVariable()
- * @generated
- * @ordered
- */
- protected ConnectionVariable targetVariable;
-
- /**
- * The default value of the '{@link #isIsEnforceadUnqiue() <em>Is Enforcead Unqiue</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsEnforceadUnqiue()
- * @generated
- * @ordered
- */
- protected static final boolean IS_ENFORCEAD_UNQIUE_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isIsEnforceadUnqiue() <em>Is Enforcead Unqiue</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsEnforceadUnqiue()
- * @generated
- * @ordered
- */
- protected boolean isEnforceadUnqiue = IS_ENFORCEAD_UNQIUE_EDEFAULT;
- /**
- * This is true if the Is Enforcead Unqiue attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean isEnforceadUnqiueESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConnectionAssignmentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return QVTimperativePackage.Literals.CONNECTION_ASSIGNMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ConnectionVariable getTargetVariable() {
- if (targetVariable != null && targetVariable.eIsProxy()) {
- InternalEObject oldTargetVariable = (InternalEObject)targetVariable;
- targetVariable = (ConnectionVariable)eResolveProxy(oldTargetVariable);
- if (targetVariable != oldTargetVariable) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
- }
- }
- return targetVariable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConnectionVariable basicGetTargetVariable() {
- return targetVariable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setTargetVariable(ConnectionVariable newTargetVariable) {
- ConnectionVariable oldTargetVariable = targetVariable;
- targetVariable = newTargetVariable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE, oldTargetVariable, targetVariable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isIsEnforceadUnqiue() {
- return isEnforceadUnqiue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setIsEnforceadUnqiue(boolean newIsEnforceadUnqiue) {
- boolean oldIsEnforceadUnqiue = isEnforceadUnqiue;
- isEnforceadUnqiue = newIsEnforceadUnqiue;
- boolean oldIsEnforceadUnqiueESet = isEnforceadUnqiueESet;
- isEnforceadUnqiueESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE, oldIsEnforceadUnqiue, isEnforceadUnqiue, !oldIsEnforceadUnqiueESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void unsetIsEnforceadUnqiue() {
- boolean oldIsEnforceadUnqiue = isEnforceadUnqiue;
- boolean oldIsEnforceadUnqiueESet = isEnforceadUnqiueESet;
- isEnforceadUnqiue = IS_ENFORCEAD_UNQIUE_EDEFAULT;
- isEnforceadUnqiueESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE, oldIsEnforceadUnqiue, IS_ENFORCEAD_UNQIUE_EDEFAULT, oldIsEnforceadUnqiueESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean isSetIsEnforceadUnqiue() {
- return isEnforceadUnqiueESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return super.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE:
- if (resolve) return getTargetVariable();
- return basicGetTargetVariable();
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE:
- return isIsEnforceadUnqiue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE:
- setTargetVariable((ConnectionVariable)newValue);
- return;
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE:
- setIsEnforceadUnqiue((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE:
- setTargetVariable((ConnectionVariable)null);
- return;
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE:
- unsetIsEnforceadUnqiue();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__TARGET_VARIABLE:
- return targetVariable != null;
- case QVTimperativePackage.CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE:
- return isSetIsEnforceadUnqiue();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * {@inheritDoc}
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public <R> R accept(@NonNull Visitor<R> visitor) {
- return (R) ((QVTimperativeVisitor<?>)visitor).visitConnectionAssignment(this);
- }
-
-} //ConnectionAssignmentImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
index 4f4b38a38..1ff6819e3 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativeFactoryImpl.java
@@ -16,9 +16,8 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
@@ -79,9 +78,8 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
+ case QVTimperativePackage.ADD_STATEMENT: return createAddStatement();
case QVTimperativePackage.BOTTOM_PATTERN: return createBottomPattern();
- case QVTimperativePackage.CONNECTION_ASSIGNMENT: return createConnectionAssignment();
- case QVTimperativePackage.CONNECTION_STATEMENT: return createConnectionStatement();
case QVTimperativePackage.CONNECTION_VARIABLE: return createConnectionVariable();
case QVTimperativePackage.GUARD_PATTERN: return createGuardPattern();
case QVTimperativePackage.IMPERATIVE_DOMAIN: return createImperativeDomain();
@@ -106,20 +104,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull BottomPattern createBottomPattern() {
- BottomPatternImpl bottomPattern = new BottomPatternImpl();
- return bottomPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public @NonNull ConnectionAssignment createConnectionAssignment() {
- ConnectionAssignmentImpl connectionAssignment = new ConnectionAssignmentImpl();
- return connectionAssignment;
+ public @NonNull AddStatement createAddStatement() {
+ AddStatementImpl addStatement = new AddStatementImpl();
+ return addStatement;
}
/**
@@ -128,9 +115,9 @@ public class QVTimperativeFactoryImpl extends EFactoryImpl implements QVTimperat
* @generated
*/
@Override
- public @NonNull ConnectionStatement createConnectionStatement() {
- ConnectionStatementImpl connectionStatement = new ConnectionStatementImpl();
- return connectionStatement;
+ public @NonNull BottomPattern createBottomPattern() {
+ BottomPatternImpl bottomPattern = new BottomPatternImpl();
+ return bottomPattern;
}
/**
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
index 437ffb977..4db78869d 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/impl/QVTimperativePackageImpl.java
@@ -17,12 +17,11 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.ocl.pivot.PivotPackage;
import org.eclipse.qvtd.pivot.qvtbase.QVTbasePackage;
+import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Area;
import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
@@ -53,42 +52,35 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* <!-- end-user-doc -->
* @generated
*/
- private EClass areaEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass assignmentEClass = null;
+ private EClass addStatementEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass bottomPatternEClass = null;
+ private EClass areaEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass bottomStatementEClass = null;
+ private EClass assignmentEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass connectionAssignmentEClass = null;
+ private EClass bottomPatternEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass connectionStatementEClass = null;
+ private EClass bottomStatementEClass = null;
/**
* <!-- begin-user-doc -->
@@ -223,7 +215,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
/**
* 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 QVTimperativePackage#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 -->
@@ -254,7 +246,7 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
// Mark meta-data to indicate it can't be changed
theQVTimperativePackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(QVTimperativePackage.eNS_URI, theQVTimperativePackage);
return theQVTimperativePackage;
@@ -266,8 +258,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getArea() {
- return areaEClass;
+ public EClass getAddStatement() {
+ return addStatementEClass;
}
/**
@@ -276,8 +268,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_GuardPattern() {
- return (EReference)areaEClass.getEStructuralFeatures().get(0);
+ public EReference getAddStatement_TargetVariable() {
+ return (EReference)addStatementEClass.getEStructuralFeatures().get(0);
}
/**
@@ -286,8 +278,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_BottomPattern() {
- return (EReference)areaEClass.getEStructuralFeatures().get(1);
+ public EReference getAddStatement_Value() {
+ return (EReference)addStatementEClass.getEStructuralFeatures().get(1);
}
/**
@@ -296,8 +288,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_CheckedProperties() {
- return (EReference)areaEClass.getEStructuralFeatures().get(2);
+ public EAttribute getAddStatement_IsEnforceadUnique() {
+ return (EAttribute)addStatementEClass.getEStructuralFeatures().get(2);
}
/**
@@ -306,28 +298,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getArea_EnforcedProperties() {
- return (EReference)areaEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EClass getAssignment() {
- return assignmentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EReference getAssignment_BottomPattern() {
- return (EReference)assignmentEClass.getEStructuralFeatures().get(0);
+ public EClass getArea() {
+ return areaEClass;
}
/**
@@ -336,8 +308,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getAssignment_Value() {
- return (EReference)assignmentEClass.getEStructuralFeatures().get(1);
+ public EReference getArea_GuardPattern() {
+ return (EReference)areaEClass.getEStructuralFeatures().get(0);
}
/**
@@ -346,8 +318,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getAssignment_IsDefault() {
- return (EAttribute)assignmentEClass.getEStructuralFeatures().get(2);
+ public EReference getArea_BottomPattern() {
+ return (EReference)areaEClass.getEStructuralFeatures().get(1);
}
/**
@@ -356,8 +328,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getBottomPattern() {
- return bottomPatternEClass;
+ public EReference getArea_CheckedProperties() {
+ return (EReference)areaEClass.getEStructuralFeatures().get(2);
}
/**
@@ -366,8 +338,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getBottomPattern_Area() {
- return (EReference)bottomPatternEClass.getEStructuralFeatures().get(0);
+ public EReference getArea_EnforcedProperties() {
+ return (EReference)areaEClass.getEStructuralFeatures().get(3);
}
/**
@@ -376,8 +348,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getBottomPattern_Assignment() {
- return (EReference)bottomPatternEClass.getEStructuralFeatures().get(1);
+ public EClass getAssignment() {
+ return assignmentEClass;
}
/**
@@ -386,8 +358,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getBottomPattern_RealizedVariable() {
- return (EReference)bottomPatternEClass.getEStructuralFeatures().get(2);
+ public EReference getAssignment_BottomPattern() {
+ return (EReference)assignmentEClass.getEStructuralFeatures().get(0);
}
/**
@@ -396,8 +368,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getBottomStatement() {
- return bottomStatementEClass;
+ public EReference getAssignment_Value() {
+ return (EReference)assignmentEClass.getEStructuralFeatures().get(1);
}
/**
@@ -406,8 +378,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getConnectionAssignment() {
- return connectionAssignmentEClass;
+ public EAttribute getAssignment_IsDefault() {
+ return (EAttribute)assignmentEClass.getEStructuralFeatures().get(2);
}
/**
@@ -416,8 +388,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getConnectionAssignment_TargetVariable() {
- return (EReference)connectionAssignmentEClass.getEStructuralFeatures().get(0);
+ public EClass getBottomPattern() {
+ return bottomPatternEClass;
}
/**
@@ -426,8 +398,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EAttribute getConnectionAssignment_IsEnforceadUnqiue() {
- return (EAttribute)connectionAssignmentEClass.getEStructuralFeatures().get(1);
+ public EReference getBottomPattern_Area() {
+ return (EReference)bottomPatternEClass.getEStructuralFeatures().get(0);
}
/**
@@ -436,8 +408,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EClass getConnectionStatement() {
- return connectionStatementEClass;
+ public EReference getBottomPattern_Assignment() {
+ return (EReference)bottomPatternEClass.getEStructuralFeatures().get(1);
}
/**
@@ -446,8 +418,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getConnectionStatement_TargetVariable() {
- return (EReference)connectionStatementEClass.getEStructuralFeatures().get(0);
+ public EReference getBottomPattern_RealizedVariable() {
+ return (EReference)bottomPatternEClass.getEStructuralFeatures().get(2);
}
/**
@@ -456,8 +428,8 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
@Override
- public EReference getConnectionStatement_Value() {
- return (EReference)connectionStatementEClass.getEStructuralFeatures().get(1);
+ public EClass getBottomStatement() {
+ return bottomStatementEClass;
}
/**
@@ -849,6 +821,11 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
isCreated = true;
// Create classes and their features
+ addStatementEClass = createEClass(ADD_STATEMENT);
+ createEReference(addStatementEClass, ADD_STATEMENT__TARGET_VARIABLE);
+ createEReference(addStatementEClass, ADD_STATEMENT__VALUE);
+ createEAttribute(addStatementEClass, ADD_STATEMENT__IS_ENFORCEAD_UNIQUE);
+
areaEClass = createEClass(AREA);
createEReference(areaEClass, AREA__GUARD_PATTERN);
createEReference(areaEClass, AREA__BOTTOM_PATTERN);
@@ -867,14 +844,6 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
bottomStatementEClass = createEClass(BOTTOM_STATEMENT);
- connectionAssignmentEClass = createEClass(CONNECTION_ASSIGNMENT);
- createEReference(connectionAssignmentEClass, CONNECTION_ASSIGNMENT__TARGET_VARIABLE);
- createEAttribute(connectionAssignmentEClass, CONNECTION_ASSIGNMENT__IS_ENFORCEAD_UNQIUE);
-
- connectionStatementEClass = createEClass(CONNECTION_STATEMENT);
- createEReference(connectionStatementEClass, CONNECTION_STATEMENT__TARGET_VARIABLE);
- createEReference(connectionStatementEClass, CONNECTION_STATEMENT__VALUE);
-
connectionVariableEClass = createEClass(CONNECTION_VARIABLE);
guardPatternEClass = createEClass(GUARD_PATTERN);
@@ -959,12 +928,11 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
// Set bounds for type parameters
// Add supertypes to classes
+ addStatementEClass.getESuperTypes().add(this.getMappingStatement());
areaEClass.getESuperTypes().add(thePivotPackage.getElement());
assignmentEClass.getESuperTypes().add(thePivotPackage.getElement());
bottomPatternEClass.getESuperTypes().add(this.getImperativePattern());
bottomStatementEClass.getESuperTypes().add(this.getStatement());
- connectionAssignmentEClass.getESuperTypes().add(this.getAssignment());
- connectionStatementEClass.getESuperTypes().add(this.getMappingStatement());
connectionVariableEClass.getESuperTypes().add(thePivotPackage.getVariable());
guardPatternEClass.getESuperTypes().add(this.getImperativePattern());
imperativeDomainEClass.getESuperTypes().add(theQVTbasePackage.getDomain());
@@ -985,6 +953,11 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
variablePredicateEClass.getESuperTypes().add(theQVTbasePackage.getPredicate());
// Initialize classes and features; add operations and parameters
+ initEClass(addStatementEClass, AddStatement.class, "AddStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getAddStatement_TargetVariable(), this.getConnectionVariable(), null, "targetVariable", null, 1, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAddStatement_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAddStatement_IsEnforceadUnique(), ecorePackage.getEBoolean(), "isEnforceadUnique", null, 0, 1, AddStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(areaEClass, Area.class, "Area", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getArea_GuardPattern(), this.getGuardPattern(), this.getGuardPattern_Area(), "guardPattern", null, 1, 1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getArea_BottomPattern(), this.getBottomPattern(), this.getBottomPattern_Area(), "bottomPattern", null, 1, 1, Area.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1003,14 +976,6 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
initEClass(bottomStatementEClass, BottomStatement.class, "BottomStatement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(connectionAssignmentEClass, ConnectionAssignment.class, "ConnectionAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConnectionAssignment_TargetVariable(), this.getConnectionVariable(), null, "targetVariable", null, 1, 1, ConnectionAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConnectionAssignment_IsEnforceadUnqiue(), ecorePackage.getEBoolean(), "isEnforceadUnqiue", null, 0, 1, ConnectionAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(connectionStatementEClass, ConnectionStatement.class, "ConnectionStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConnectionStatement_TargetVariable(), this.getConnectionVariable(), null, "targetVariable", null, 1, 1, ConnectionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConnectionStatement_Value(), thePivotPackage.getOCLExpression(), null, "value", null, 1, 1, ConnectionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
initEClass(connectionVariableEClass, ConnectionVariable.class, "ConnectionVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(guardPatternEClass, GuardPattern.class, "GuardPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1081,13 +1046,13 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
protected void createImportAnnotations() {
- String source = "http://www.eclipse.org/OCL/Import";
+ String source = "http://www.eclipse.org/OCL/Import";
addAnnotation
- (this,
- source,
- new String[] {
- "qvtb", "../../org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore#/"
- });
+ (this,
+ source,
+ new String[] {
+ "qvtb", "../../org.eclipse.qvtd.pivot.qvtbase/model/QVTbase.ecore#/"
+ });
}
/**
@@ -1097,61 +1062,55 @@ public class QVTimperativePackageImpl extends EPackageImpl implements QVTimperat
* @generated
*/
protected void createEmofAnnotations() {
- String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName";
- addAnnotation
- (getAssignment_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName";
addAnnotation
- (getConnectionAssignment_TargetVariable(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getAddStatement_TargetVariable(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getConnectionStatement_TargetVariable(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getAddStatement_Value(),
+ source,
+ new String[] {
+ "body", "valueAssignment"
+ });
addAnnotation
- (getConnectionStatement_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ (getAssignment_Value(),
+ source,
+ new String[] {
+ "body", "valueAssignment"
+ });
addAnnotation
- (getSetStatement_SlotExpression(),
- source,
- new String[] {
- "body", "slotAssignment"
- });
+ (getSetStatement_SlotExpression(),
+ source,
+ new String[] {
+ "body", "slotAssignment"
+ });
addAnnotation
- (getSetStatement_TargetProperty(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getSetStatement_TargetProperty(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getSetStatement_Value(),
- source,
- new String[] {
- "body", "valueAssignment"
- });
+ (getSetStatement_Value(),
+ source,
+ new String[] {
+ "body", "valueAssignment"
+ });
addAnnotation
- (getVariableAssignment_TargetVariable(),
- source,
- new String[] {
- "body", "assignment"
- });
+ (getVariableAssignment_TargetVariable(),
+ source,
+ new String[] {
+ "body", "assignment"
+ });
addAnnotation
- (getVariablePredicate_TargetVariable(),
- source,
- new String[] {
- "body", "predicate"
- });
+ (getVariablePredicate_TargetVariable(),
+ source,
+ new String[] {
+ "body", "predicate"
+ });
}
} //QVTimperativePackageImpl
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
index 7e1a19784..82ff824a9 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractDelegatingQVTimperativeVisitor.java
@@ -36,6 +36,11 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
+ public R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return delegate.visitAddStatement(object);
+ }
+
+ @Override
public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return delegate.visitAssignment(object);
}
@@ -51,16 +56,6 @@ public abstract class AbstractDelegatingQVTimperativeVisitor<R, C, @NonNull D ex
}
@Override
- public R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return delegate.visitConnectionAssignment(object);
- }
-
- @Override
- public R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return delegate.visitConnectionStatement(object);
- }
-
- @Override
public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return delegate.visitConnectionVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
index 97665d16c..de45ee4e6 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractExtendingQVTimperativeVisitor.java
@@ -40,6 +40,11 @@ public abstract class AbstractExtendingQVTimperativeVisitor<R, C>
}
@Override
+ public R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -55,16 +60,6 @@ public abstract class AbstractExtendingQVTimperativeVisitor<R, C>
}
@Override
- public R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
index 03a0df5d9..0fc2276ec 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractMergedQVTimperativeVisitor.java
@@ -34,27 +34,22 @@ public abstract class AbstractMergedQVTimperativeVisitor<R, C>
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return visiting(object);
- }
-
- @Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
+ public R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
return visiting(object);
}
@Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visiting(object);
}
@Override
- public R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
+ public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
return visiting(object);
}
@Override
- public R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
+ public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
return visiting(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
index 2870c568c..e8a3e2fa1 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractNullQVTimperativeVisitor.java
@@ -40,27 +40,22 @@ public abstract class AbstractNullQVTimperativeVisitor<@Nullable R, C>
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- return null;
- }
-
- @Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
+ public R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
return null;
}
@Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return null;
}
@Override
- public R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
+ public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
return null;
}
@Override
- public R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
+ public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
return null;
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
index 577850e69..37091363a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2MonikerVisitor.java
@@ -44,6 +44,11 @@ public abstract class AbstractQVTimperativeAS2MonikerVisitor
}
@Override
+ public @Nullable Object visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -59,16 +64,6 @@ public abstract class AbstractQVTimperativeAS2MonikerVisitor
}
@Override
- public @Nullable Object visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Object visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
index d2e0cc665..597f56994 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeAS2XMIidVisitor.java
@@ -44,6 +44,11 @@ public abstract class AbstractQVTimperativeAS2XMIidVisitor
}
@Override
+ public @Nullable Boolean visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Boolean visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -59,16 +64,6 @@ public abstract class AbstractQVTimperativeAS2XMIidVisitor
}
@Override
- public @Nullable Boolean visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Boolean visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Boolean visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
index b7b349cbb..b2431bea3 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverLocateVisitor.java
@@ -44,6 +44,11 @@ public abstract class AbstractQVTimperativeASSaverLocateVisitor
}
@Override
+ public @Nullable Object visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -59,16 +64,6 @@ public abstract class AbstractQVTimperativeASSaverLocateVisitor
}
@Override
- public @Nullable Object visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Object visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
index 34004a7fe..505f58489 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverNormalizeVisitor.java
@@ -46,6 +46,11 @@ public abstract class AbstractQVTimperativeASSaverNormalizeVisitor
}
@Override
+ public @Nullable Object visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -61,16 +66,6 @@ public abstract class AbstractQVTimperativeASSaverNormalizeVisitor
}
@Override
- public @Nullable Object visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Object visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
index 36d8e75dd..fff79ba08 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeASSaverResolveVisitor.java
@@ -44,6 +44,11 @@ public abstract class AbstractQVTimperativeASSaverResolveVisitor
}
@Override
+ public @Nullable Object visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -59,16 +64,6 @@ public abstract class AbstractQVTimperativeASSaverResolveVisitor
}
@Override
- public @Nullable Object visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Object visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
index eb0d79cda..4eba23f65 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractQVTimperativeTemplateParameterSubstitutionVisitor.java
@@ -47,6 +47,11 @@ public abstract class AbstractQVTimperativeTemplateParameterSubstitutionVisitor
}
@Override
+ public @Nullable Object visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
+ return visitMappingStatement(object);
+ }
+
+ @Override
public @Nullable Object visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
return visitElement(object);
}
@@ -62,16 +67,6 @@ public abstract class AbstractQVTimperativeTemplateParameterSubstitutionVisitor
}
@Override
- public @Nullable Object visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
- return visitAssignment(object);
- }
-
- @Override
- public @Nullable Object visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
- return visitMappingStatement(object);
- }
-
- @Override
public @Nullable Object visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object) {
return visitVariable(object);
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
index 4bf987843..164053d22 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/AbstractWrappingQVTimperativeVisitor.java
@@ -32,22 +32,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
- @Nullable P prologue = preVisit(object);
- try {
- R result = delegate.visitAssignment(object);
- return postVisit(object, prologue, result);
- }
- catch (Throwable e) {
- return badVisit(object, prologue, e);
- }
- }
-
- @Override
- public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
+ public R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitBottomPattern(object);
+ R result = delegate.visitAddStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -56,10 +44,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
+ public R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitBottomStatement(object);
+ R result = delegate.visitAssignment(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -68,10 +56,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object) {
+ public R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitConnectionAssignment(object);
+ R result = delegate.visitBottomPattern(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
@@ -80,10 +68,10 @@ public abstract class AbstractWrappingQVTimperativeVisitor<R, C, @NonNull D exte
}
@Override
- public R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object) {
+ public R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object) {
@Nullable P prologue = preVisit(object);
try {
- R result = delegate.visitConnectionStatement(object);
+ R result = delegate.visitBottomStatement(object);
return postVisit(object, prologue, result);
}
catch (Throwable e) {
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
index 4b37699d1..3cb4d7273 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeAdapterFactory.java
@@ -30,12 +30,11 @@ import org.eclipse.qvtd.pivot.qvtbase.Domain;
import org.eclipse.qvtd.pivot.qvtbase.Pattern;
import org.eclipse.qvtd.pivot.qvtbase.Predicate;
import org.eclipse.qvtd.pivot.qvtbase.Rule;
+import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Area;
import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
@@ -109,155 +108,151 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
*/
protected QVTimperativeSwitch<@Nullable Adapter> modelSwitch =
new QVTimperativeSwitch<@Nullable Adapter>() {
- @Override
- public Adapter caseArea(Area object) {
- return createAreaAdapter();
- }
- @Override
- public Adapter caseAssignment(Assignment object) {
- return createAssignmentAdapter();
- }
- @Override
- public Adapter caseBottomPattern(BottomPattern object) {
- return createBottomPatternAdapter();
- }
- @Override
- public Adapter caseBottomStatement(BottomStatement object) {
- return createBottomStatementAdapter();
- }
- @Override
- public Adapter caseConnectionAssignment(ConnectionAssignment object) {
- return createConnectionAssignmentAdapter();
- }
- @Override
- public Adapter caseConnectionStatement(ConnectionStatement object) {
- return createConnectionStatementAdapter();
- }
- @Override
- public Adapter caseConnectionVariable(ConnectionVariable object) {
- return createConnectionVariableAdapter();
- }
- @Override
- public Adapter caseGuardPattern(GuardPattern object) {
- return createGuardPatternAdapter();
- }
- @Override
- public Adapter caseImperativeDomain(ImperativeDomain object) {
- return createImperativeDomainAdapter();
- }
- @Override
- public Adapter caseImperativeModel(ImperativeModel object) {
- return createImperativeModelAdapter();
- }
- @Override
- public Adapter caseImperativePattern(ImperativePattern object) {
- return createImperativePatternAdapter();
- }
- @Override
- public Adapter caseMapping(Mapping object) {
- return createMappingAdapter();
- }
- @Override
- public Adapter caseMappingCall(MappingCall object) {
- return createMappingCallAdapter();
- }
- @Override
- public Adapter caseMappingCallBinding(MappingCallBinding object) {
- return createMappingCallBindingAdapter();
- }
- @Override
- public Adapter caseMappingLoop(MappingLoop object) {
- return createMappingLoopAdapter();
- }
- @Override
- public Adapter caseMappingStatement(MappingStatement object) {
- return createMappingStatementAdapter();
- }
- @Override
- public Adapter caseRealizedVariable(RealizedVariable object) {
- return createRealizedVariableAdapter();
- }
- @Override
- public Adapter caseSetStatement(SetStatement object) {
- return createSetStatementAdapter();
- }
- @Override
- public Adapter caseStatement(Statement object) {
- return createStatementAdapter();
- }
- @Override
- public Adapter caseVariableAssignment(VariableAssignment object) {
- return createVariableAssignmentAdapter();
- }
- @Override
- public Adapter caseVariablePredicate(VariablePredicate object) {
- return createVariablePredicateAdapter();
- }
- @Override
- public Adapter caseVisitable(Visitable object) {
- return createVisitableAdapter();
- }
- @Override
- public Adapter caseElement(Element object) {
- return createElementAdapter();
- }
- @Override
- public Adapter casePattern(Pattern object) {
- return createPatternAdapter();
- }
- @Override
- public Adapter caseNameable(Nameable object) {
- return createNameableAdapter();
- }
- @Override
- public Adapter caseNamedElement(NamedElement object) {
- return createNamedElementAdapter();
- }
- @Override
- public Adapter caseTypedElement(TypedElement object) {
- return createTypedElementAdapter();
- }
- @Override
- public Adapter caseVariableDeclaration(VariableDeclaration object) {
- return createVariableDeclarationAdapter();
- }
- @Override
- public Adapter caseVariable(Variable object) {
- return createVariableAdapter();
- }
- @Override
- public Adapter caseReferringElement(ReferringElement object) {
- return createReferringElementAdapter();
- }
- @Override
- public Adapter caseDomain(Domain object) {
- return createDomainAdapter();
- }
- @Override
- public Adapter caseNamespace(Namespace object) {
- return createNamespaceAdapter();
- }
- @Override
- public Adapter caseModel(Model object) {
- return createModelAdapter();
- }
- @Override
- public Adapter caseBaseModel(BaseModel object) {
- return createBaseModelAdapter();
- }
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
- @Override
- public Adapter casePredicate(Predicate object) {
- return createPredicateAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseAddStatement(AddStatement object) {
+ return createAddStatementAdapter();
+ }
+ @Override
+ public Adapter caseArea(Area object) {
+ return createAreaAdapter();
+ }
+ @Override
+ public Adapter caseAssignment(Assignment object) {
+ return createAssignmentAdapter();
+ }
+ @Override
+ public Adapter caseBottomPattern(BottomPattern object) {
+ return createBottomPatternAdapter();
+ }
+ @Override
+ public Adapter caseBottomStatement(BottomStatement object) {
+ return createBottomStatementAdapter();
+ }
+ @Override
+ public Adapter caseConnectionVariable(ConnectionVariable object) {
+ return createConnectionVariableAdapter();
+ }
+ @Override
+ public Adapter caseGuardPattern(GuardPattern object) {
+ return createGuardPatternAdapter();
+ }
+ @Override
+ public Adapter caseImperativeDomain(ImperativeDomain object) {
+ return createImperativeDomainAdapter();
+ }
+ @Override
+ public Adapter caseImperativeModel(ImperativeModel object) {
+ return createImperativeModelAdapter();
+ }
+ @Override
+ public Adapter caseImperativePattern(ImperativePattern object) {
+ return createImperativePatternAdapter();
+ }
+ @Override
+ public Adapter caseMapping(Mapping object) {
+ return createMappingAdapter();
+ }
+ @Override
+ public Adapter caseMappingCall(MappingCall object) {
+ return createMappingCallAdapter();
+ }
+ @Override
+ public Adapter caseMappingCallBinding(MappingCallBinding object) {
+ return createMappingCallBindingAdapter();
+ }
+ @Override
+ public Adapter caseMappingLoop(MappingLoop object) {
+ return createMappingLoopAdapter();
+ }
+ @Override
+ public Adapter caseMappingStatement(MappingStatement object) {
+ return createMappingStatementAdapter();
+ }
+ @Override
+ public Adapter caseRealizedVariable(RealizedVariable object) {
+ return createRealizedVariableAdapter();
+ }
+ @Override
+ public Adapter caseSetStatement(SetStatement object) {
+ return createSetStatementAdapter();
+ }
+ @Override
+ public Adapter caseStatement(Statement object) {
+ return createStatementAdapter();
+ }
+ @Override
+ public Adapter caseVariableAssignment(VariableAssignment object) {
+ return createVariableAssignmentAdapter();
+ }
+ @Override
+ public Adapter caseVariablePredicate(VariablePredicate object) {
+ return createVariablePredicateAdapter();
+ }
+ @Override
+ public Adapter caseVisitable(Visitable object) {
+ return createVisitableAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter caseNameable(Nameable object) {
+ return createNameableAdapter();
+ }
+ @Override
+ public Adapter caseNamedElement(NamedElement object) {
+ return createNamedElementAdapter();
+ }
+ @Override
+ public Adapter casePattern(Pattern object) {
+ return createPatternAdapter();
+ }
+ @Override
+ public Adapter caseTypedElement(TypedElement object) {
+ return createTypedElementAdapter();
+ }
+ @Override
+ public Adapter caseVariableDeclaration(VariableDeclaration object) {
+ return createVariableDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseVariable(Variable object) {
+ return createVariableAdapter();
+ }
+ @Override
+ public Adapter caseReferringElement(ReferringElement object) {
+ return createReferringElementAdapter();
+ }
+ @Override
+ public Adapter caseDomain(Domain object) {
+ return createDomainAdapter();
+ }
+ @Override
+ public Adapter caseNamespace(Namespace object) {
+ return createNamespaceAdapter();
+ }
+ @Override
+ public Adapter caseModel(Model object) {
+ return createModelAdapter();
+ }
+ @Override
+ public Adapter caseBaseModel(BaseModel object) {
+ return createBaseModelAdapter();
+ }
+ @Override
+ public Adapter caseRule(Rule object) {
+ return createRuleAdapter();
+ }
+ @Override
+ public Adapter casePredicate(Predicate object) {
+ return createPredicateAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
@@ -274,30 +269,16 @@ public class QVTimperativeAdapterFactory extends AdapterFactoryImpl {
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment <em>Connection Assignment</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.qvtd.pivot.qvtimperative.ConnectionAssignment
- * @generated
- */
- public Adapter createConnectionAssignmentAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement <em>Connection Statement</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.pivot.qvtimperative.AddStatement <em>Add Statement</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.qvtd.pivot.qvtimperative.ConnectionStatement
+ * @see org.eclipse.qvtd.pivot.qvtimperative.AddStatement
* @generated
*/
- public Adapter createConnectionStatementAdapter() {
+ public Adapter createAddStatementAdapter() {
return null;
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
index 29aa29d0c..6f1259f2a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeSwitch.java
@@ -29,12 +29,11 @@ import org.eclipse.qvtd.pivot.qvtbase.Domain;
import org.eclipse.qvtd.pivot.qvtbase.Pattern;
import org.eclipse.qvtd.pivot.qvtbase.Predicate;
import org.eclipse.qvtd.pivot.qvtbase.Rule;
+import org.eclipse.qvtd.pivot.qvtimperative.AddStatement;
import org.eclipse.qvtd.pivot.qvtimperative.Area;
import org.eclipse.qvtd.pivot.qvtimperative.Assignment;
import org.eclipse.qvtd.pivot.qvtimperative.BottomPattern;
import org.eclipse.qvtd.pivot.qvtimperative.BottomStatement;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionAssignment;
-import org.eclipse.qvtd.pivot.qvtimperative.ConnectionStatement;
import org.eclipse.qvtd.pivot.qvtimperative.ConnectionVariable;
import org.eclipse.qvtd.pivot.qvtimperative.GuardPattern;
import org.eclipse.qvtd.pivot.qvtimperative.ImperativeDomain;
@@ -109,6 +108,18 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
+ case QVTimperativePackage.ADD_STATEMENT: {
+ AddStatement addStatement = (AddStatement)theEObject;
+ T result = caseAddStatement(addStatement);
+ if (result == null) result = caseMappingStatement(addStatement);
+ if (result == null) result = caseStatement(addStatement);
+ if (result == null) result = caseNamedElement(addStatement);
+ if (result == null) result = caseElement(addStatement);
+ if (result == null) result = caseNameable(addStatement);
+ if (result == null) result = caseVisitable(addStatement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case QVTimperativePackage.AREA: {
Area area = (Area)theEObject;
T result = caseArea(area);
@@ -146,27 +157,6 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativePackage.CONNECTION_ASSIGNMENT: {
- ConnectionAssignment connectionAssignment = (ConnectionAssignment)theEObject;
- T result = caseConnectionAssignment(connectionAssignment);
- if (result == null) result = caseAssignment(connectionAssignment);
- if (result == null) result = caseElement(connectionAssignment);
- if (result == null) result = caseVisitable(connectionAssignment);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case QVTimperativePackage.CONNECTION_STATEMENT: {
- ConnectionStatement connectionStatement = (ConnectionStatement)theEObject;
- T result = caseConnectionStatement(connectionStatement);
- if (result == null) result = caseMappingStatement(connectionStatement);
- if (result == null) result = caseStatement(connectionStatement);
- if (result == null) result = caseNamedElement(connectionStatement);
- if (result == null) result = caseElement(connectionStatement);
- if (result == null) result = caseNameable(connectionStatement);
- if (result == null) result = caseVisitable(connectionStatement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case QVTimperativePackage.CONNECTION_VARIABLE: {
ConnectionVariable connectionVariable = (ConnectionVariable)theEObject;
T result = caseConnectionVariable(connectionVariable);
@@ -339,92 +329,77 @@ public class QVTimperativeSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Area</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Add Statement</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>Area</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Add Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseArea(Area object) {
+ public T caseAddStatement(AddStatement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Assignment</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>Assignment</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAssignment(Assignment object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bottom Pattern</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Area</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>Bottom Pattern</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Area</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseBottomPattern(BottomPattern object) {
+ public T caseArea(Area object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Bottom Statement</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Assignment</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>Bottom Statement</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Assignment</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseBottomStatement(BottomStatement object) {
+ public T caseAssignment(Assignment object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Connection Assignment</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Bottom Pattern</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>Connection Assignment</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Bottom Pattern</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseConnectionAssignment(ConnectionAssignment object) {
+ public T caseBottomPattern(BottomPattern object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Connection Statement</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Bottom Statement</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>Connection Statement</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Bottom Statement</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseConnectionStatement(ConnectionStatement object) {
+ public T caseBottomStatement(BottomStatement object) {
return null;
}
diff --git a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
index 0a08615e0..4a762f95a 100644
--- a/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
+++ b/plugins/org.eclipse.qvtd.pivot.qvtimperative/emf-gen/org/eclipse/qvtd/pivot/qvtimperative/util/QVTimperativeVisitor.java
@@ -23,11 +23,10 @@ import org.eclipse.jdt.annotation.NonNull;
*/
public interface QVTimperativeVisitor<R> extends org.eclipse.qvtd.pivot.qvtbase.util.QVTbaseVisitor<R>
{
+ R visitAddStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull AddStatement object);
R visitAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull Assignment object);
R visitBottomPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomPattern object);
R visitBottomStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull BottomStatement object);
- R visitConnectionAssignment(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionAssignment object);
- R visitConnectionStatement(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionStatement object);
R visitConnectionVariable(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ConnectionVariable object);
R visitGuardPattern(org.eclipse.qvtd.pivot.qvtimperative.@NonNull GuardPattern object);
R visitImperativeDomain(org.eclipse.qvtd.pivot.qvtimperative.@NonNull ImperativeDomain object);

Back to the top