Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-09-08 08:51:14 +0000
committerEd Willink2016-09-19 11:17:27 +0000
commitf52f5a3bf46bee8c4c85fade6d418c0907c8f769 (patch)
tree5bbd02368a0ebcdb74eb2e8ff73d4bb0347bc7fb
parentc5e7bdea593fb73117d035add3a3f8c66eb85231 (diff)
downloadorg.eclipse.qvtd-f52f5a3bf46bee8c4c85fade6d418c0907c8f769.tar.gz
org.eclipse.qvtd-f52f5a3bf46bee8c4c85fade6d418c0907c8f769.tar.xz
org.eclipse.qvtd-f52f5a3bf46bee8c4c85fade6d418c0907c8f769.zip
[500369] Regenerate CS
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java24
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingLoopCS.java25
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingStatementCS.java4
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java9
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java254
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/StatementCS.java30
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java71
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingLoopCSImpl.java78
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingStatementCSImpl.java3
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java76
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/StatementCSImpl.java52
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java10
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java10
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java12
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java36
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java57
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java2
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel5
23 files changed, 380 insertions, 438 deletions
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
index 097a5c295..b24ca8263 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
@@ -28,7 +28,7 @@ import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedDomains <em>Owned Domains</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedInPathName <em>Owned In Path Name</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedKeyExpression <em>Owned Key Expression</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}</li>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedStatements <em>Owned Statements</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMiddle <em>Owned Middle</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedUsesPathNames <em>Owned Uses Path Names</em>}</li>
* </ul>
@@ -134,30 +134,20 @@ public interface MappingCS extends NamedElementCS {
void setOwnedKeyExpression(ExpCS value);
/**
- * Returns the value of the '<em><b>Owned Mapping Sequence</b></em>' containment reference.
+ * Returns the value of the '<em><b>Owned Statements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Owned Mapping Sequence</em>' containment reference isn't clear,
+ * If the meaning of the '<em>Owned Statements</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Owned Mapping Sequence</em>' containment reference.
- * @see #setOwnedMappingSequence(MappingSequenceCS)
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS_OwnedMappingSequence()
+ * @return the value of the '<em>Owned Statements</em>' containment reference list.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS_OwnedStatements()
* @model containment="true"
* @generated
*/
- MappingSequenceCS getOwnedMappingSequence();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Owned Mapping Sequence</em>' containment reference.
- * @see #getOwnedMappingSequence()
- * @generated
- */
- void setOwnedMappingSequence(MappingSequenceCS value);
+ EList<StatementCS> getOwnedStatements();
/**
* Returns the value of the '<em><b>Owned Middle</b></em>' containment reference.
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingLoopCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingLoopCS.java
index 1941c55cd..fbbd4867f 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingLoopCS.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingLoopCS.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.qvtd.xtext.qvtimperativecs;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.ocl.xtext.essentialoclcs.VariableCS;
@@ -24,7 +25,7 @@ import org.eclipse.ocl.xtext.essentialoclcs.VariableCS;
* <ul>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedIterator <em>Owned Iterator</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedInExpression <em>Owned In Expression</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}</li>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingStatements <em>Owned Mapping Statements</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingLoopCS()
@@ -85,29 +86,19 @@ public interface MappingLoopCS extends MappingStatementCS {
void setOwnedInExpression(ExpCS value);
/**
- * Returns the value of the '<em><b>Owned Mapping Sequence</b></em>' containment reference.
+ * Returns the value of the '<em><b>Owned Mapping Statements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Owned Mapping Sequence</em>' containment reference isn't clear,
+ * If the meaning of the '<em>Owned Mapping Statements</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Owned Mapping Sequence</em>' containment reference.
- * @see #setOwnedMappingSequence(MappingSequenceCS)
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingLoopCS_OwnedMappingSequence()
+ * @return the value of the '<em>Owned Mapping Statements</em>' containment reference list.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingLoopCS_OwnedMappingStatements()
* @model containment="true" required="true"
* @generated
*/
- MappingSequenceCS getOwnedMappingSequence();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Owned Mapping Sequence</em>' containment reference.
- * @see #getOwnedMappingSequence()
- * @generated
- */
- void setOwnedMappingSequence(MappingSequenceCS value);
+ EList<MappingStatementCS> getOwnedMappingStatements();
} // MappingLoopCS
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingStatementCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingStatementCS.java
index b9b2db707..da1c4f51a 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingStatementCS.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingStatementCS.java
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.qvtd.xtext.qvtimperativecs;
-import org.eclipse.ocl.xtext.basecs.ModelElementCS;
-
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Mapping Statement CS</b></em>'.
@@ -22,5 +20,5 @@ import org.eclipse.ocl.xtext.basecs.ModelElementCS;
* @model abstract="true"
* @generated
*/
-public interface MappingStatementCS extends ModelElementCS {
+public interface MappingStatementCS extends StatementCS {
} // MappingStatementCS
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java
index 73412285c..4fc965419 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSFactory.java
@@ -112,15 +112,6 @@ public interface QVTimperativeCSFactory extends EFactory {
@NonNull MappingLoopCS createMappingLoopCS();
/**
- * Returns a new object of class '<em>Mapping Sequence CS</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Mapping Sequence CS</em>'.
- * @generated
- */
- @NonNull MappingSequenceCS createMappingSequenceCS();
-
- /**
* Returns a new object of class '<em>Param Declaration CS</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
index 9fc9fc648..8b5f7f2f5 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
@@ -173,7 +173,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getPatternCS()
* @generated
*/
- int PATTERN_CS = 13;
+ int PATTERN_CS = 12;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -330,6 +330,70 @@ public interface QVTimperativeCSPackage extends EPackage {
int BOTTOM_PATTERN_CS_FEATURE_COUNT = PATTERN_CS_FEATURE_COUNT + 2;
/**
+ * The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.StatementCSImpl <em>Statement CS</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.StatementCSImpl
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getStatementCS()
+ * @generated
+ */
+ int STATEMENT_CS = 18;
+
+ /**
+ * The feature id for the '<em><b>Csi</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS__CSI = BaseCSPackage.MODEL_ELEMENT_CS__CSI;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS__PARENT = BaseCSPackage.MODEL_ELEMENT_CS__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Pivot</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS__PIVOT = BaseCSPackage.MODEL_ELEMENT_CS__PIVOT;
+
+ /**
+ * The feature id for the '<em><b>Original Xmi Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS__ORIGINAL_XMI_ID = BaseCSPackage.MODEL_ELEMENT_CS__ORIGINAL_XMI_ID;
+
+ /**
+ * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS__OWNED_ANNOTATIONS = BaseCSPackage.MODEL_ELEMENT_CS__OWNED_ANNOTATIONS;
+
+ /**
+ * The number of structural features of the '<em>Statement CS</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int STATEMENT_CS_FEATURE_COUNT = BaseCSPackage.MODEL_ELEMENT_CS_FEATURE_COUNT + 0;
+
+ /**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl <em>Mapping CS</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -357,7 +421,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingStatementCS()
* @generated
*/
- int MAPPING_STATEMENT_CS = 11;
+ int MAPPING_STATEMENT_CS = 10;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCallCSImpl <em>Mapping Call CS</em>}' class.
@@ -370,16 +434,6 @@ public interface QVTimperativeCSPackage extends EPackage {
int MAPPING_CALL_CS = 8;
/**
- * The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingSequenceCSImpl <em>Mapping Sequence CS</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingSequenceCSImpl
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingSequenceCS()
- * @generated
- */
- int MAPPING_SEQUENCE_CS = 10;
-
- /**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl <em>Mapping Loop CS</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -406,7 +460,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS__CSI = BaseCSPackage.MODEL_ELEMENT_CS__CSI;
+ int MAPPING_STATEMENT_CS__CSI = STATEMENT_CS__CSI;
/**
* The feature id for the '<em><b>Parent</b></em>' reference.
@@ -415,7 +469,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS__PARENT = BaseCSPackage.MODEL_ELEMENT_CS__PARENT;
+ int MAPPING_STATEMENT_CS__PARENT = STATEMENT_CS__PARENT;
/**
* The feature id for the '<em><b>Pivot</b></em>' reference.
@@ -424,7 +478,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS__PIVOT = BaseCSPackage.MODEL_ELEMENT_CS__PIVOT;
+ int MAPPING_STATEMENT_CS__PIVOT = STATEMENT_CS__PIVOT;
/**
* The feature id for the '<em><b>Original Xmi Id</b></em>' attribute.
@@ -433,7 +487,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS__ORIGINAL_XMI_ID = BaseCSPackage.MODEL_ELEMENT_CS__ORIGINAL_XMI_ID;
+ int MAPPING_STATEMENT_CS__ORIGINAL_XMI_ID = STATEMENT_CS__ORIGINAL_XMI_ID;
/**
* The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
@@ -442,7 +496,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS__OWNED_ANNOTATIONS = BaseCSPackage.MODEL_ELEMENT_CS__OWNED_ANNOTATIONS;
+ int MAPPING_STATEMENT_CS__OWNED_ANNOTATIONS = STATEMENT_CS__OWNED_ANNOTATIONS;
/**
* The number of structural features of the '<em>Mapping Statement CS</em>' class.
@@ -451,7 +505,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_STATEMENT_CS_FEATURE_COUNT = BaseCSPackage.MODEL_ELEMENT_CS_FEATURE_COUNT + 0;
+ int MAPPING_STATEMENT_CS_FEATURE_COUNT = STATEMENT_CS_FEATURE_COUNT + 0;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ConnectionStatementCSImpl <em>Connection Statement CS</em>}' class.
@@ -852,7 +906,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getPredicateOrAssignmentCS()
* @generated
*/
- int PREDICATE_OR_ASSIGNMENT_CS = 15;
+ int PREDICATE_OR_ASSIGNMENT_CS = 14;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.RealizeableVariableCSImpl <em>Realizeable Variable CS</em>}' class.
@@ -862,7 +916,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getRealizeableVariableCS()
* @generated
*/
- int REALIZEABLE_VARIABLE_CS = 17;
+ int REALIZEABLE_VARIABLE_CS = 16;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.RealizedVariableCSImpl <em>Realized Variable CS</em>}' class.
@@ -872,7 +926,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getRealizedVariableCS()
* @generated
*/
- int REALIZED_VARIABLE_CS = 18;
+ int REALIZED_VARIABLE_CS = 17;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -965,13 +1019,13 @@ public interface QVTimperativeCSPackage extends EPackage {
int MAPPING_CS__OWNED_KEY_EXPRESSION = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Owned Mapping Sequence</b></em>' containment reference.
+ * The feature id for the '<em><b>Owned Statements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_CS__OWNED_MAPPING_SEQUENCE = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 4;
+ int MAPPING_CS__OWNED_STATEMENTS = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Owned Middle</b></em>' containment reference.
@@ -1307,13 +1361,13 @@ public interface QVTimperativeCSPackage extends EPackage {
int MAPPING_LOOP_CS__OWNED_IN_EXPRESSION = MAPPING_STATEMENT_CS_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Owned Mapping Sequence</b></em>' containment reference.
+ * The feature id for the '<em><b>Owned Mapping Statements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE = MAPPING_STATEMENT_CS_FEATURE_COUNT + 2;
+ int MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS = MAPPING_STATEMENT_CS_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Mapping Loop CS</em>' class.
@@ -1325,69 +1379,6 @@ public interface QVTimperativeCSPackage extends EPackage {
int MAPPING_LOOP_CS_FEATURE_COUNT = MAPPING_STATEMENT_CS_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Csi</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__CSI = MAPPING_STATEMENT_CS__CSI;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__PARENT = MAPPING_STATEMENT_CS__PARENT;
-
- /**
- * The feature id for the '<em><b>Pivot</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__PIVOT = MAPPING_STATEMENT_CS__PIVOT;
-
- /**
- * The feature id for the '<em><b>Original Xmi Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__ORIGINAL_XMI_ID = MAPPING_STATEMENT_CS__ORIGINAL_XMI_ID;
-
- /**
- * The feature id for the '<em><b>Owned Annotations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__OWNED_ANNOTATIONS = MAPPING_STATEMENT_CS__OWNED_ANNOTATIONS;
-
- /**
- * The feature id for the '<em><b>Owned Mapping Statements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS__OWNED_MAPPING_STATEMENTS = MAPPING_STATEMENT_CS_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Mapping Sequence CS</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_SEQUENCE_CS_FEATURE_COUNT = MAPPING_STATEMENT_CS_FEATURE_COUNT + 1;
-
- /**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ParamDeclarationCSImpl <em>Param Declaration CS</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1395,7 +1386,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getParamDeclarationCS()
* @generated
*/
- int PARAM_DECLARATION_CS = 12;
+ int PARAM_DECLARATION_CS = 11;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -1495,7 +1486,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getPredicateCS()
* @generated
*/
- int PREDICATE_CS = 14;
+ int PREDICATE_CS = 13;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -1784,7 +1775,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getQueryCS()
* @generated
*/
- int QUERY_CS = 16;
+ int QUERY_CS = 15;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -2723,15 +2714,15 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference getMappingCS_OwnedKeyExpression();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedStatements <em>Owned Statements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Owned Mapping Sequence</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMappingSequence()
+ * @return the meta object for the containment reference list '<em>Owned Statements</em>'.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedStatements()
* @see #getMappingCS()
* @generated
*/
- EReference getMappingCS_OwnedMappingSequence();
+ EReference getMappingCS_OwnedStatements();
/**
* Returns the meta object for the containment reference '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMiddle <em>Owned Middle</em>}'.
@@ -2896,36 +2887,15 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference getMappingLoopCS_OwnedInExpression();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Owned Mapping Sequence</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingSequence()
- * @see #getMappingLoopCS()
- * @generated
- */
- EReference getMappingLoopCS_OwnedMappingSequence();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS <em>Mapping Sequence CS</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Mapping Sequence CS</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS
- * @generated
- */
- EClass getMappingSequenceCS();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS#getOwnedMappingStatements <em>Owned Mapping Statements</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingStatements <em>Owned Mapping Statements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Owned Mapping Statements</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS#getOwnedMappingStatements()
- * @see #getMappingSequenceCS()
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS#getOwnedMappingStatements()
+ * @see #getMappingLoopCS()
* @generated
*/
- EReference getMappingSequenceCS_OwnedMappingStatements();
+ EReference getMappingLoopCS_OwnedMappingStatements();
/**
* Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS <em>Mapping Statement CS</em>}'.
@@ -3140,6 +3110,16 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference getRealizedVariableCS_OwnedInitExpression();
/**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS <em>Statement CS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Statement CS</em>'.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS
+ * @generated
+ */
+ EClass getStatementCS();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.TopLevelCS <em>Top Level CS</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3472,12 +3452,12 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference MAPPING_CS__OWNED_KEY_EXPRESSION = eINSTANCE.getMappingCS_OwnedKeyExpression();
/**
- * The meta object literal for the '<em><b>Owned Mapping Sequence</b></em>' containment reference feature.
+ * The meta object literal for the '<em><b>Owned Statements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference MAPPING_CS__OWNED_MAPPING_SEQUENCE = eINSTANCE.getMappingCS_OwnedMappingSequence();
+ EReference MAPPING_CS__OWNED_STATEMENTS = eINSTANCE.getMappingCS_OwnedStatements();
/**
* The meta object literal for the '<em><b>Owned Middle</b></em>' containment reference feature.
@@ -3606,30 +3586,12 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference MAPPING_LOOP_CS__OWNED_IN_EXPRESSION = eINSTANCE.getMappingLoopCS_OwnedInExpression();
/**
- * The meta object literal for the '<em><b>Owned Mapping Sequence</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE = eINSTANCE.getMappingLoopCS_OwnedMappingSequence();
-
- /**
- * The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingSequenceCSImpl <em>Mapping Sequence CS</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingSequenceCSImpl
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingSequenceCS()
- * @generated
- */
- EClass MAPPING_SEQUENCE_CS = eINSTANCE.getMappingSequenceCS();
-
- /**
* The meta object literal for the '<em><b>Owned Mapping Statements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference MAPPING_SEQUENCE_CS__OWNED_MAPPING_STATEMENTS = eINSTANCE.getMappingSequenceCS_OwnedMappingStatements();
+ EReference MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS = eINSTANCE.getMappingLoopCS_OwnedMappingStatements();
/**
* The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingStatementCSImpl <em>Mapping Statement CS</em>}' class.
@@ -3808,6 +3770,16 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION = eINSTANCE.getRealizedVariableCS_OwnedInitExpression();
/**
+ * The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.StatementCSImpl <em>Statement CS</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.StatementCSImpl
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getStatementCS()
+ * @generated
+ */
+ EClass STATEMENT_CS = eINSTANCE.getStatementCS();
+
+ /**
* The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.TopLevelCSImpl <em>Top Level CS</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/StatementCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/StatementCS.java
new file mode 100644
index 000000000..3ab993cdc
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/StatementCS.java
@@ -0,0 +1,30 @@
+/**
+ * <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.xtext.qvtimperativecs;
+
+import org.eclipse.ocl.xtext.basecs.ModelElementCS;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Statement CS</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getStatementCS()
+ * @model abstract="true"
+ * @generated
+ */
+public interface StatementCS extends ModelElementCS {
+} // StatementCS
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
index 1ec41176b..b9064d4bf 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
@@ -26,8 +26,8 @@ import org.eclipse.ocl.xtext.basecs.util.BaseCSVisitor;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.DomainCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS;
-import org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
+import org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
/**
@@ -42,7 +42,7 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedDomains <em>Owned Domains</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedInPathName <em>Owned In Path Name</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedKeyExpression <em>Owned Key Expression</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}</li>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedStatements <em>Owned Statements</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedMiddle <em>Owned Middle</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedUsesPathNames <em>Owned Uses Path Names</em>}</li>
* </ul>
@@ -96,14 +96,14 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
*/
protected ExpCS ownedKeyExpression;
/**
- * The cached value of the '{@link #getOwnedMappingSequence() <em>Owned Mapping Sequence</em>}' containment reference.
+ * The cached value of the '{@link #getOwnedStatements() <em>Owned Statements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getOwnedMappingSequence()
+ * @see #getOwnedStatements()
* @generated
* @ordered
*/
- protected MappingSequenceCS ownedMappingSequence;
+ protected EList<StatementCS> ownedStatements;
/**
* The cached value of the '{@link #getOwnedMiddle() <em>Owned Middle</em>}' containment reference.
* <!-- begin-user-doc -->
@@ -273,43 +273,11 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
* @generated
*/
@Override
- public MappingSequenceCS getOwnedMappingSequence() {
- return ownedMappingSequence;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOwnedMappingSequence(MappingSequenceCS newOwnedMappingSequence, NotificationChain msgs) {
- MappingSequenceCS oldOwnedMappingSequence = ownedMappingSequence;
- ownedMappingSequence = newOwnedMappingSequence;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE, oldOwnedMappingSequence, newOwnedMappingSequence);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setOwnedMappingSequence(MappingSequenceCS newOwnedMappingSequence) {
- if (newOwnedMappingSequence != ownedMappingSequence) {
- NotificationChain msgs = null;
- if (ownedMappingSequence != null)
- msgs = ((InternalEObject)ownedMappingSequence).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE, null, msgs);
- if (newOwnedMappingSequence != null)
- msgs = ((InternalEObject)newOwnedMappingSequence).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE, null, msgs);
- msgs = basicSetOwnedMappingSequence(newOwnedMappingSequence, msgs);
- if (msgs != null) msgs.dispatch();
+ public EList<StatementCS> getOwnedStatements() {
+ if (ownedStatements == null) {
+ ownedStatements = new EObjectContainmentEList<StatementCS>(StatementCS.class, this, QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS);
}
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE, newOwnedMappingSequence, newOwnedMappingSequence));
+ return ownedStatements;
}
/**
@@ -394,8 +362,8 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
return basicSetOwnedInPathName(null, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
return basicSetOwnedKeyExpression(null, msgs);
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE:
- return basicSetOwnedMappingSequence(null, msgs);
+ case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
+ return ((InternalEList<?>)getOwnedStatements()).basicRemove(otherEnd, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return basicSetOwnedMiddle(null, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
@@ -420,8 +388,8 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
return getOwnedInPathName();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
return getOwnedKeyExpression();
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE:
- return getOwnedMappingSequence();
+ case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
+ return getOwnedStatements();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return getOwnedMiddle();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
@@ -452,8 +420,9 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
setOwnedKeyExpression((ExpCS)newValue);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE:
- setOwnedMappingSequence((MappingSequenceCS)newValue);
+ case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
+ getOwnedStatements().clear();
+ getOwnedStatements().addAll((Collection<? extends StatementCS>)newValue);
return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
setOwnedMiddle((DomainCS)newValue);
@@ -486,8 +455,8 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
setOwnedKeyExpression((ExpCS)null);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE:
- setOwnedMappingSequence((MappingSequenceCS)null);
+ case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
+ getOwnedStatements().clear();
return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
setOwnedMiddle((DomainCS)null);
@@ -515,8 +484,8 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
return ownedInPathName != null;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
return ownedKeyExpression != null;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_MAPPING_SEQUENCE:
- return ownedMappingSequence != null;
+ case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
+ return ownedStatements != null && !ownedStatements.isEmpty();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return ownedMiddle != null;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingLoopCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingLoopCSImpl.java
index 493134a8e..ce0aa0fe3 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingLoopCSImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingLoopCSImpl.java
@@ -4,23 +4,27 @@
* 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
*******************************************************************************/
package org.eclipse.qvtd.xtext.qvtimperativecs.impl;
+import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.xtext.basecs.util.BaseCSVisitor;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.ocl.xtext.essentialoclcs.VariableCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS;
-import org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS;
+import org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
@@ -34,7 +38,7 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
* <ul>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl#getOwnedIterator <em>Owned Iterator</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl#getOwnedInExpression <em>Owned In Expression</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl#getOwnedMappingSequence <em>Owned Mapping Sequence</em>}</li>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl#getOwnedMappingStatements <em>Owned Mapping Statements</em>}</li>
* </ul>
*
* @generated
@@ -61,14 +65,14 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
protected ExpCS ownedInExpression;
/**
- * The cached value of the '{@link #getOwnedMappingSequence() <em>Owned Mapping Sequence</em>}' containment reference.
+ * The cached value of the '{@link #getOwnedMappingStatements() <em>Owned Mapping Statements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getOwnedMappingSequence()
+ * @see #getOwnedMappingStatements()
* @generated
* @ordered
*/
- protected MappingSequenceCS ownedMappingSequence;
+ protected EList<MappingStatementCS> ownedMappingStatements;
/**
* <!-- begin-user-doc -->
@@ -185,43 +189,11 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
* @generated
*/
@Override
- public MappingSequenceCS getOwnedMappingSequence() {
- return ownedMappingSequence;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOwnedMappingSequence(MappingSequenceCS newOwnedMappingSequence, NotificationChain msgs) {
- MappingSequenceCS oldOwnedMappingSequence = ownedMappingSequence;
- ownedMappingSequence = newOwnedMappingSequence;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE, oldOwnedMappingSequence, newOwnedMappingSequence);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setOwnedMappingSequence(MappingSequenceCS newOwnedMappingSequence) {
- if (newOwnedMappingSequence != ownedMappingSequence) {
- NotificationChain msgs = null;
- if (ownedMappingSequence != null)
- msgs = ((InternalEObject)ownedMappingSequence).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE, null, msgs);
- if (newOwnedMappingSequence != null)
- msgs = ((InternalEObject)newOwnedMappingSequence).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE, null, msgs);
- msgs = basicSetOwnedMappingSequence(newOwnedMappingSequence, msgs);
- if (msgs != null) msgs.dispatch();
+ public EList<MappingStatementCS> getOwnedMappingStatements() {
+ if (ownedMappingStatements == null) {
+ ownedMappingStatements = new EObjectContainmentEList<MappingStatementCS>(MappingStatementCS.class, this, QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS);
}
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE, newOwnedMappingSequence, newOwnedMappingSequence));
+ return ownedMappingStatements;
}
/**
@@ -236,8 +208,8 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
return basicSetOwnedIterator(null, msgs);
case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_IN_EXPRESSION:
return basicSetOwnedInExpression(null, msgs);
- case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE:
- return basicSetOwnedMappingSequence(null, msgs);
+ case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS:
+ return ((InternalEList<?>)getOwnedMappingStatements()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -254,8 +226,8 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
return getOwnedIterator();
case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_IN_EXPRESSION:
return getOwnedInExpression();
- case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE:
- return getOwnedMappingSequence();
+ case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS:
+ return getOwnedMappingStatements();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -265,6 +237,7 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
@@ -274,8 +247,9 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_IN_EXPRESSION:
setOwnedInExpression((ExpCS)newValue);
return;
- case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE:
- setOwnedMappingSequence((MappingSequenceCS)newValue);
+ case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS:
+ getOwnedMappingStatements().clear();
+ getOwnedMappingStatements().addAll((Collection<? extends MappingStatementCS>)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -295,8 +269,8 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_IN_EXPRESSION:
setOwnedInExpression((ExpCS)null);
return;
- case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE:
- setOwnedMappingSequence((MappingSequenceCS)null);
+ case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS:
+ getOwnedMappingStatements().clear();
return;
}
super.eUnset(featureID);
@@ -314,8 +288,8 @@ public class MappingLoopCSImpl extends MappingStatementCSImpl implements Mapping
return ownedIterator != null;
case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_IN_EXPRESSION:
return ownedInExpression != null;
- case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE:
- return ownedMappingSequence != null;
+ case QVTimperativeCSPackage.MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS:
+ return ownedMappingStatements != null && !ownedMappingStatements.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingStatementCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingStatementCSImpl.java
index a6f8f7252..d4dc9f9e3 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingStatementCSImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingStatementCSImpl.java
@@ -11,7 +11,6 @@
package org.eclipse.qvtd.xtext.qvtimperativecs.impl;
import org.eclipse.emf.ecore.EClass;
-import org.eclipse.ocl.xtext.basecs.impl.ModelElementCSImpl;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
@@ -22,7 +21,7 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
*
* @generated
*/
-public abstract class MappingStatementCSImpl extends ModelElementCSImpl implements MappingStatementCS {
+public abstract class MappingStatementCSImpl extends StatementCSImpl implements MappingStatementCS {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java
index 65091e6e6..38debe4c9 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java
@@ -71,7 +71,6 @@ public class QVTimperativeCSFactoryImpl extends EFactoryImpl implements QVTimper
case QVTimperativeCSPackage.MAPPING_CALL_BINDING_CS: return createMappingCallBindingCS();
case QVTimperativeCSPackage.MAPPING_CALL_CS: return createMappingCallCS();
case QVTimperativeCSPackage.MAPPING_LOOP_CS: return createMappingLoopCS();
- case QVTimperativeCSPackage.MAPPING_SEQUENCE_CS: return createMappingSequenceCS();
case QVTimperativeCSPackage.PARAM_DECLARATION_CS: return createParamDeclarationCS();
case QVTimperativeCSPackage.PREDICATE_CS: return createPredicateCS();
case QVTimperativeCSPackage.PREDICATE_OR_ASSIGNMENT_CS: return createPredicateOrAssignmentCS();
@@ -190,17 +189,6 @@ public class QVTimperativeCSFactoryImpl extends EFactoryImpl implements QVTimper
* @generated
*/
@Override
- public @NonNull MappingSequenceCS createMappingSequenceCS() {
- MappingSequenceCSImpl mappingSequenceCS = new MappingSequenceCSImpl();
- return mappingSequenceCS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public @NonNull ParamDeclarationCS createParamDeclarationCS() {
ParamDeclarationCSImpl paramDeclarationCS = new ParamDeclarationCSImpl();
return paramDeclarationCS;
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
index 70643dc9a..3b1ce7a27 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
@@ -31,7 +31,6 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCallBindingCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCallCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingLoopCS;
-import org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.ParamDeclarationCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.PatternCS;
@@ -42,6 +41,7 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
import org.eclipse.qvtd.xtext.qvtimperativecs.QueryCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.RealizeableVariableCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.RealizedVariableCS;
+import org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.TopLevelCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.TransformationCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.UnrealizedVariableCS;
@@ -128,13 +128,6 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* <!-- end-user-doc -->
* @generated
*/
- private EClass mappingSequenceCSEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
private EClass mappingStatementCSEClass = null;
/**
@@ -191,6 +184,13 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* <!-- end-user-doc -->
* @generated
*/
+ private EClass statementCSEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass topLevelCSEClass = null;
/**
@@ -235,7 +235,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
/**
* 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 QVTimperativeCSPackage#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 -->
@@ -268,7 +268,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
// Mark meta-data to indicate it can't be changed
theQVTimperativeCSPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(QVTimperativeCSPackage.eNS_URI, theQVTimperativeCSPackage);
return theQVTimperativeCSPackage;
@@ -530,7 +530,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* @generated
*/
@Override
- public EReference getMappingCS_OwnedMappingSequence() {
+ public EReference getMappingCS_OwnedStatements() {
return (EReference)mappingCSEClass.getEStructuralFeatures().get(4);
}
@@ -690,7 +690,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* @generated
*/
@Override
- public EReference getMappingLoopCS_OwnedMappingSequence() {
+ public EReference getMappingLoopCS_OwnedMappingStatements() {
return (EReference)mappingLoopCSEClass.getEStructuralFeatures().get(2);
}
@@ -700,26 +700,6 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* @generated
*/
@Override
- public EClass getMappingSequenceCS() {
- return mappingSequenceCSEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EReference getMappingSequenceCS_OwnedMappingStatements() {
- return (EReference)mappingSequenceCSEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EClass getMappingStatementCS() {
return mappingStatementCSEClass;
}
@@ -920,6 +900,16 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* @generated
*/
@Override
+ public EClass getStatementCS() {
+ return statementCSEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
public EClass getTopLevelCS() {
return topLevelCSEClass;
}
@@ -1064,7 +1054,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
createEReference(mappingCSEClass, MAPPING_CS__OWNED_DOMAINS);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_IN_PATH_NAME);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_KEY_EXPRESSION);
- createEReference(mappingCSEClass, MAPPING_CS__OWNED_MAPPING_SEQUENCE);
+ createEReference(mappingCSEClass, MAPPING_CS__OWNED_STATEMENTS);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_MIDDLE);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_USES_PATH_NAMES);
@@ -1083,10 +1073,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
mappingLoopCSEClass = createEClass(MAPPING_LOOP_CS);
createEReference(mappingLoopCSEClass, MAPPING_LOOP_CS__OWNED_ITERATOR);
createEReference(mappingLoopCSEClass, MAPPING_LOOP_CS__OWNED_IN_EXPRESSION);
- createEReference(mappingLoopCSEClass, MAPPING_LOOP_CS__OWNED_MAPPING_SEQUENCE);
-
- mappingSequenceCSEClass = createEClass(MAPPING_SEQUENCE_CS);
- createEReference(mappingSequenceCSEClass, MAPPING_SEQUENCE_CS__OWNED_MAPPING_STATEMENTS);
+ createEReference(mappingLoopCSEClass, MAPPING_LOOP_CS__OWNED_MAPPING_STATEMENTS);
mappingStatementCSEClass = createEClass(MAPPING_STATEMENT_CS);
@@ -1116,6 +1103,8 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
realizedVariableCSEClass = createEClass(REALIZED_VARIABLE_CS);
createEReference(realizedVariableCSEClass, REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION);
+ statementCSEClass = createEClass(STATEMENT_CS);
+
topLevelCSEClass = createEClass(TOP_LEVEL_CS);
createEReference(topLevelCSEClass, TOP_LEVEL_CS__OWNED_MAPPINGS);
createEReference(topLevelCSEClass, TOP_LEVEL_CS__OWNED_QUERIES);
@@ -1175,8 +1164,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
mappingCallBindingCSEClass.getESuperTypes().add(theEssentialOCLCSPackage.getExpCS());
mappingCallCSEClass.getESuperTypes().add(this.getMappingStatementCS());
mappingLoopCSEClass.getESuperTypes().add(this.getMappingStatementCS());
- mappingSequenceCSEClass.getESuperTypes().add(this.getMappingStatementCS());
- mappingStatementCSEClass.getESuperTypes().add(theBaseCSPackage.getModelElementCS());
+ mappingStatementCSEClass.getESuperTypes().add(this.getStatementCS());
paramDeclarationCSEClass.getESuperTypes().add(theBaseCSPackage.getTypedElementCS());
patternCSEClass.getESuperTypes().add(theBaseCSPackage.getModelElementCS());
predicateCSEClass.getESuperTypes().add(theEssentialOCLCSPackage.getExpCS());
@@ -1184,6 +1172,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
queryCSEClass.getESuperTypes().add(theBaseCSPackage.getTypedElementCS());
realizeableVariableCSEClass.getESuperTypes().add(theBaseCSPackage.getTypedElementCS());
realizedVariableCSEClass.getESuperTypes().add(this.getRealizeableVariableCS());
+ statementCSEClass.getESuperTypes().add(theBaseCSPackage.getModelElementCS());
topLevelCSEClass.getESuperTypes().add(theBaseCSPackage.getRootPackageCS());
transformationCSEClass.getESuperTypes().add(theQVTbaseCSPackage.getAbstractTransformationCS());
unrealizedVariableCSEClass.getESuperTypes().add(this.getRealizeableVariableCS());
@@ -1220,7 +1209,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
initEReference(getMappingCS_OwnedDomains(), this.getDomainCS(), null, "ownedDomains", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedInPathName(), theBaseCSPackage.getPathNameCS(), null, "ownedInPathName", null, 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedKeyExpression(), theEssentialOCLCSPackage.getExpCS(), null, "ownedKeyExpression", null, 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMappingCS_OwnedMappingSequence(), this.getMappingSequenceCS(), null, "ownedMappingSequence", null, 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMappingCS_OwnedStatements(), this.getStatementCS(), null, "ownedStatements", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedMiddle(), this.getDomainCS(), null, "ownedMiddle", null, 1, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedUsesPathNames(), theBaseCSPackage.getPathNameCS(), null, "ownedUsesPathNames", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1239,10 +1228,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
initEClass(mappingLoopCSEClass, MappingLoopCS.class, "MappingLoopCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getMappingLoopCS_OwnedIterator(), theEssentialOCLCSPackage.getVariableCS(), null, "ownedIterator", null, 1, 1, MappingLoopCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingLoopCS_OwnedInExpression(), theEssentialOCLCSPackage.getExpCS(), null, "ownedInExpression", null, 1, 1, MappingLoopCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMappingLoopCS_OwnedMappingSequence(), this.getMappingSequenceCS(), null, "ownedMappingSequence", null, 1, 1, MappingLoopCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(mappingSequenceCSEClass, MappingSequenceCS.class, "MappingSequenceCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMappingSequenceCS_OwnedMappingStatements(), this.getMappingStatementCS(), null, "ownedMappingStatements", null, 1, -1, MappingSequenceCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMappingLoopCS_OwnedMappingStatements(), this.getMappingStatementCS(), null, "ownedMappingStatements", null, 1, -1, MappingLoopCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingStatementCSEClass, MappingStatementCS.class, "MappingStatementCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1272,6 +1258,8 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
initEClass(realizedVariableCSEClass, RealizedVariableCS.class, "RealizedVariableCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getRealizedVariableCS_OwnedInitExpression(), theEssentialOCLCSPackage.getExpCS(), null, "ownedInitExpression", null, 0, 1, RealizedVariableCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(statementCSEClass, StatementCS.class, "StatementCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(topLevelCSEClass, TopLevelCS.class, "TopLevelCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getTopLevelCS_OwnedMappings(), this.getMappingCS(), null, "ownedMappings", null, 0, -1, TopLevelCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getTopLevelCS_OwnedQueries(), this.getQueryCS(), null, "ownedQueries", null, 0, -1, TopLevelCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/StatementCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/StatementCSImpl.java
new file mode 100644
index 000000000..7dad7824b
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/StatementCSImpl.java
@@ -0,0 +1,52 @@
+/**
+ * <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.xtext.qvtimperativecs.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.ocl.xtext.basecs.impl.ModelElementCSImpl;
+
+import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
+import org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Statement CS</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public abstract class StatementCSImpl extends ModelElementCSImpl implements StatementCS {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StatementCSImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTimperativeCSPackage.Literals.STATEMENT_CS;
+ }
+
+
+} //StatementCSImpl
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java
index 56a693037..9a0fe8582 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java
@@ -86,11 +86,6 @@ public abstract class AbstractDelegatingQVTimperativeCSVisitor<R, C, @NonNull D
}
@Override
- public R visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS object) {
- return delegate.visitMappingSequenceCS(object);
- }
-
- @Override
public R visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS object) {
return delegate.visitMappingStatementCS(object);
}
@@ -131,6 +126,11 @@ public abstract class AbstractDelegatingQVTimperativeCSVisitor<R, C, @NonNull D
}
@Override
+ public R visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS object) {
+ return delegate.visitStatementCS(object);
+ }
+
+ @Override
public R visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS object) {
return delegate.visitTopLevelCS(object);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java
index da8f001d2..27b705198 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java
@@ -90,13 +90,8 @@ public abstract class AbstractExtendingQVTimperativeCSVisitor<R, C>
}
@Override
- public R visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS object) {
- return visitMappingStatementCS(object);
- }
-
- @Override
public R visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS object) {
- return visitModelElementCS(object);
+ return visitStatementCS(object);
}
@Override
@@ -135,6 +130,11 @@ public abstract class AbstractExtendingQVTimperativeCSVisitor<R, C>
}
@Override
+ public R visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS object) {
+ return visitModelElementCS(object);
+ }
+
+ @Override
public R visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS object) {
return visitRootPackageCS(object);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java
index f6d6dd8dd..0029667b0 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java
@@ -90,11 +90,6 @@ public abstract class AbstractNullQVTimperativeCSVisitor<@Nullable R, C>
}
@Override
- public R visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS object) {
- return null;
- }
-
- @Override
public R visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS object) {
return null;
}
@@ -135,6 +130,11 @@ public abstract class AbstractNullQVTimperativeCSVisitor<@Nullable R, C>
}
@Override
+ public R visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS object) {
+ return null;
+ }
+
+ @Override
public R visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS object) {
return null;
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java
index 6b43cca9c..f152ee860 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java
@@ -94,13 +94,8 @@ public abstract class AbstractQVTimperativeCSContainmentVisitor
}
@Override
- public @Nullable Continuation<?> visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS csElement) {
- return visitMappingStatementCS(csElement);
- }
-
- @Override
public @Nullable Continuation<?> visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS csElement) {
- return visitModelElementCS(csElement);
+ return visitStatementCS(csElement);
}
@Override
@@ -139,6 +134,11 @@ public abstract class AbstractQVTimperativeCSContainmentVisitor
}
@Override
+ public @Nullable Continuation<?> visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS csElement) {
+ return visitModelElementCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS csElement) {
return visitRootPackageCS(csElement);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java
index efc561cfd..efe463999 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java
@@ -94,13 +94,8 @@ public abstract class AbstractQVTimperativeCSLeft2RightVisitor
}
@Override
- public @Nullable Element visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS csElement) {
- return visitMappingStatementCS(csElement);
- }
-
- @Override
public @Nullable Element visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS csElement) {
- return visitModelElementCS(csElement);
+ return visitStatementCS(csElement);
}
@Override
@@ -139,6 +134,11 @@ public abstract class AbstractQVTimperativeCSLeft2RightVisitor
}
@Override
+ public @Nullable Element visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS csElement) {
+ return visitModelElementCS(csElement);
+ }
+
+ @Override
public @Nullable Element visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS csElement) {
return visitRootPackageCS(csElement);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java
index b46f12987..9b6b023f1 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java
@@ -94,13 +94,8 @@ public abstract class AbstractQVTimperativeCSPostOrderVisitor
}
@Override
- public @Nullable Continuation<?> visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS csElement) {
- return visitMappingStatementCS(csElement);
- }
-
- @Override
public @Nullable Continuation<?> visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS csElement) {
- return visitModelElementCS(csElement);
+ return visitStatementCS(csElement);
}
@Override
@@ -139,6 +134,11 @@ public abstract class AbstractQVTimperativeCSPostOrderVisitor
}
@Override
+ public @Nullable Continuation<?> visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS csElement) {
+ return visitModelElementCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS csElement) {
return visitRootPackageCS(csElement);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java
index 8f5c6d859..8503053e5 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java
@@ -94,13 +94,8 @@ public abstract class AbstractQVTimperativeCSPreOrderVisitor
}
@Override
- public @Nullable Continuation<?> visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS csElement) {
- return visitMappingStatementCS(csElement);
- }
-
- @Override
public @Nullable Continuation<?> visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS csElement) {
- return visitModelElementCS(csElement);
+ return visitStatementCS(csElement);
}
@Override
@@ -139,6 +134,11 @@ public abstract class AbstractQVTimperativeCSPreOrderVisitor
}
@Override
+ public @Nullable Continuation<?> visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS csElement) {
+ return visitModelElementCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS csElement) {
return visitRootPackageCS(csElement);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java
index 3178dbe9b..bcc8de5a6 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java
@@ -130,10 +130,6 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
return createMappingLoopCSAdapter();
}
@Override
- public Adapter caseMappingSequenceCS(MappingSequenceCS object) {
- return createMappingSequenceCSAdapter();
- }
- @Override
public Adapter caseMappingStatementCS(MappingStatementCS object) {
return createMappingStatementCSAdapter();
}
@@ -166,6 +162,10 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
return createRealizedVariableCSAdapter();
}
@Override
+ public Adapter caseStatementCS(StatementCS object) {
+ return createStatementCSAdapter();
+ }
+ @Override
public Adapter caseTopLevelCS(TopLevelCS object) {
return createTopLevelCSAdapter();
}
@@ -346,20 +346,6 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingSequenceCS <em>Mapping Sequence CS</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.xtext.qvtimperativecs.MappingSequenceCS
- * @generated
- */
- public Adapter createMappingSequenceCSAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingStatementCS <em>Mapping Statement CS</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -640,6 +626,20 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS <em>Statement CS</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.xtext.qvtimperativecs.StatementCS
+ * @generated
+ */
+ public Adapter createStatementCSAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.ocl.xtext.basecs.PackageOwnerCS <em>Package Owner CS</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java
index 6937c67da..efa84c7ce 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java
@@ -118,6 +118,7 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
ConnectionStatementCS connectionStatementCS = (ConnectionStatementCS)theEObject;
T result = caseConnectionStatementCS(connectionStatementCS);
if (result == null) result = caseMappingStatementCS(connectionStatementCS);
+ if (result == null) result = caseStatementCS(connectionStatementCS);
if (result == null) result = caseModelElementCS(connectionStatementCS);
if (result == null) result = casePivotableElementCS(connectionStatementCS);
if (result == null) result = caseElementCS(connectionStatementCS);
@@ -194,6 +195,7 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
MappingCallCS mappingCallCS = (MappingCallCS)theEObject;
T result = caseMappingCallCS(mappingCallCS);
if (result == null) result = caseMappingStatementCS(mappingCallCS);
+ if (result == null) result = caseStatementCS(mappingCallCS);
if (result == null) result = caseModelElementCS(mappingCallCS);
if (result == null) result = casePivotableElementCS(mappingCallCS);
if (result == null) result = caseElementCS(mappingCallCS);
@@ -206,6 +208,7 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
MappingLoopCS mappingLoopCS = (MappingLoopCS)theEObject;
T result = caseMappingLoopCS(mappingLoopCS);
if (result == null) result = caseMappingStatementCS(mappingLoopCS);
+ if (result == null) result = caseStatementCS(mappingLoopCS);
if (result == null) result = caseModelElementCS(mappingLoopCS);
if (result == null) result = casePivotableElementCS(mappingLoopCS);
if (result == null) result = caseElementCS(mappingLoopCS);
@@ -214,21 +217,10 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case QVTimperativeCSPackage.MAPPING_SEQUENCE_CS: {
- MappingSequenceCS mappingSequenceCS = (MappingSequenceCS)theEObject;
- T result = caseMappingSequenceCS(mappingSequenceCS);
- if (result == null) result = caseMappingStatementCS(mappingSequenceCS);
- if (result == null) result = caseModelElementCS(mappingSequenceCS);
- if (result == null) result = casePivotableElementCS(mappingSequenceCS);
- if (result == null) result = caseElementCS(mappingSequenceCS);
- if (result == null) result = casePivotable(mappingSequenceCS);
- if (result == null) result = caseVisitableCS(mappingSequenceCS);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case QVTimperativeCSPackage.MAPPING_STATEMENT_CS: {
MappingStatementCS mappingStatementCS = (MappingStatementCS)theEObject;
T result = caseMappingStatementCS(mappingStatementCS);
+ if (result == null) result = caseStatementCS(mappingStatementCS);
if (result == null) result = caseModelElementCS(mappingStatementCS);
if (result == null) result = casePivotableElementCS(mappingStatementCS);
if (result == null) result = caseElementCS(mappingStatementCS);
@@ -329,6 +321,17 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case QVTimperativeCSPackage.STATEMENT_CS: {
+ StatementCS statementCS = (StatementCS)theEObject;
+ T result = caseStatementCS(statementCS);
+ if (result == null) result = caseModelElementCS(statementCS);
+ if (result == null) result = casePivotableElementCS(statementCS);
+ if (result == null) result = caseElementCS(statementCS);
+ if (result == null) result = casePivotable(statementCS);
+ if (result == null) result = caseVisitableCS(statementCS);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case QVTimperativeCSPackage.TOP_LEVEL_CS: {
TopLevelCS topLevelCS = (TopLevelCS)theEObject;
T result = caseTopLevelCS(topLevelCS);
@@ -530,21 +533,6 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Mapping Sequence CS</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>Mapping Sequence CS</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMappingSequenceCS(MappingSequenceCS object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Mapping Statement CS</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -665,6 +653,21 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Statement CS</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>Statement CS</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStatementCS(StatementCS object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Top Level CS</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java
index 1f704466b..b930d6520 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java
@@ -33,7 +33,6 @@ public interface QVTimperativeCSVisitor<R> extends org.eclipse.qvtd.xtext.qvtbas
R visitMappingCallBindingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCallBindingCS object);
R visitMappingCallCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCallCS object);
R visitMappingLoopCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingLoopCS object);
- R visitMappingSequenceCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingSequenceCS object);
R visitMappingStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingStatementCS object);
R visitParamDeclarationCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ParamDeclarationCS object);
R visitPatternCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull PatternCS object);
@@ -42,6 +41,7 @@ public interface QVTimperativeCSVisitor<R> extends org.eclipse.qvtd.xtext.qvtbas
R visitQueryCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull QueryCS object);
R visitRealizeableVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull RealizeableVariableCS object);
R visitRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull RealizedVariableCS object);
+ R visitStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull StatementCS object);
R visitTopLevelCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TopLevelCS object);
R visitTransformationCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull TransformationCS object);
R visitUnrealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull UnrealizedVariableCS object);
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel b/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
index b073a2625..52007fcc3 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
@@ -65,10 +65,7 @@
<genClasses ecoreClass="QVTimperativeCS.ecore#//MappingLoopCS">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingLoopCS/ownedIterator"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingLoopCS/ownedInExpression"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingLoopCS/ownedMappingSequence"/>
- </genClasses>
- <genClasses ecoreClass="QVTimperativeCS.ecore#//MappingSequenceCS">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingSequenceCS/ownedMappingStatements"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingLoopCS/ownedMappingStatements"/>
</genClasses>
<genClasses image="false" ecoreClass="QVTimperativeCS.ecore#//MappingStatementCS"/>
<genClasses ecoreClass="QVTimperativeCS.ecore#//ParamDeclarationCS"/>

Back to the top