Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-05-11 11:45:14 -0400
committerEd Willink2016-05-11 12:19:54 -0400
commit0b3fe6e94833d0a84f64f0bf7392828721f709e5 (patch)
tree121fdeb3dfbdbf94e72cfd654a42fb8d3f51e999
parent9da5d5457f88b6dd0f392d37f2af5c11f315f0b2 (diff)
downloadorg.eclipse.qvtd-0b3fe6e94833d0a84f64f0bf7392828721f709e5.tar.gz
org.eclipse.qvtd-0b3fe6e94833d0a84f64f0bf7392828721f709e5.tar.xz
org.eclipse.qvtd-0b3fe6e94833d0a84f64f0bf7392828721f709e5.zip
[486722] Regenerate for ImperativeRealizedVariableCS
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/ImperativeRealizedVariableCS.java64
-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.java162
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/ImperativeRealizedVariableCSImpl.java206
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSFactoryImpl.java11
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java33
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractDelegatingQVTimperativeCSVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractExtendingQVTimperativeCSVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractNullQVTimperativeCSVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSContainmentVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSLeft2RightVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPostOrderVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/AbstractQVTimperativeCSPreOrderVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSAdapterFactory.java75
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSSwitch.java79
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/util/QVTimperativeCSVisitor.java1
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel3
17 files changed, 671 insertions, 7 deletions
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/ImperativeRealizedVariableCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/ImperativeRealizedVariableCS.java
new file mode 100644
index 000000000..934fe2d6d
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/ImperativeRealizedVariableCS.java
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2015 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.essentialoclcs.ExpCS;
+
+import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizedVariableCS;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Imperative Realized Variable CS</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS#getOwnedInitExpression <em>Owned Init Expression</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getImperativeRealizedVariableCS()
+ * @model
+ * @generated
+ */
+public interface ImperativeRealizedVariableCS extends RealizedVariableCS {
+ /**
+ * Returns the value of the '<em><b>Owned Init Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Init Expression</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>Owned Init Expression</em>' containment reference.
+ * @see #setOwnedInitExpression(ExpCS)
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getImperativeRealizedVariableCS_OwnedInitExpression()
+ * @model containment="true"
+ * @generated
+ */
+ ExpCS getOwnedInitExpression();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS#getOwnedInitExpression <em>Owned Init Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Owned Init Expression</em>' containment reference.
+ * @see #getOwnedInitExpression()
+ * @generated
+ */
+ void setOwnedInitExpression(ExpCS value);
+
+} // ImperativeRealizedVariableCS
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 d8c1906aa..76b61d70d 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,6 +112,15 @@ public interface QVTimperativeCSFactory extends EFactory {
@NonNull ImperativePredicateOrAssignmentCS createImperativePredicateOrAssignmentCS();
/**
+ * Returns a new object of class '<em>Imperative Realized Variable CS</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Imperative Realized Variable CS</em>'.
+ * @generated
+ */
+ ImperativeRealizedVariableCS createImperativeRealizedVariableCS();
+
+ /**
* Returns the package supported by this factory.
* <!-- 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 680eebf59..6b4bed918 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
@@ -82,7 +82,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingCS()
* @generated
*/
- int MAPPING_CS = 3;
+ int MAPPING_CS = 4;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCallBindingCSImpl <em>Mapping Call Binding CS</em>}' class.
@@ -92,7 +92,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingCallBindingCS()
* @generated
*/
- int MAPPING_CALL_BINDING_CS = 4;
+ int MAPPING_CALL_BINDING_CS = 5;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingStatementCSImpl <em>Mapping Statement CS</em>}' class.
@@ -102,7 +102,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingStatementCS()
* @generated
*/
- int MAPPING_STATEMENT_CS = 8;
+ int MAPPING_STATEMENT_CS = 9;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCallCSImpl <em>Mapping Call CS</em>}' class.
@@ -112,7 +112,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingCallCS()
* @generated
*/
- int MAPPING_CALL_CS = 5;
+ int MAPPING_CALL_CS = 6;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingSequenceCSImpl <em>Mapping Sequence CS</em>}' class.
@@ -122,7 +122,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingSequenceCS()
* @generated
*/
- int MAPPING_SEQUENCE_CS = 7;
+ int MAPPING_SEQUENCE_CS = 8;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingLoopCSImpl <em>Mapping Loop CS</em>}' class.
@@ -132,7 +132,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getMappingLoopCS()
* @generated
*/
- int MAPPING_LOOP_CS = 6;
+ int MAPPING_LOOP_CS = 7;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.TopLevelCSImpl <em>Top Level CS</em>}' class.
@@ -142,7 +142,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getTopLevelCS()
* @generated
*/
- int TOP_LEVEL_CS = 9;
+ int TOP_LEVEL_CS = 10;
/**
* The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeDomainCSImpl <em>Imperative Domain CS</em>}' class.
@@ -580,6 +580,115 @@ public interface QVTimperativeCSPackage extends EPackage {
int IMPERATIVE_PREDICATE_OR_ASSIGNMENT_CS_FEATURE_COUNT = QVTcoreBaseCSPackage.PREDICATE_OR_ASSIGNMENT_CS_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeRealizedVariableCSImpl <em>Imperative Realized Variable CS</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeRealizedVariableCSImpl
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getImperativeRealizedVariableCS()
+ * @generated
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS = 3;
+
+ /**
+ * The feature id for the '<em><b>Csi</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__CSI = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__CSI;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__PARENT = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Pivot</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__PIVOT = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__PIVOT;
+
+ /**
+ * The feature id for the '<em><b>Original Xmi Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__ORIGINAL_XMI_ID = QVTcoreBaseCSPackage.REALIZED_VARIABLE_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 IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_ANNOTATIONS = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__OWNED_ANNOTATIONS;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__NAME = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__NAME;
+
+ /**
+ * The feature id for the '<em><b>Is Optional</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__IS_OPTIONAL = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__IS_OPTIONAL;
+
+ /**
+ * The feature id for the '<em><b>Owned Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_TYPE = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__OWNED_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Qualifiers</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__QUALIFIERS = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS__QUALIFIERS;
+
+ /**
+ * The feature id for the '<em><b>Owned Init Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Imperative Realized Variable CS</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPERATIVE_REALIZED_VARIABLE_CS_FEATURE_COUNT = QVTcoreBaseCSPackage.REALIZED_VARIABLE_CS_FEATURE_COUNT + 1;
+
+ /**
* The feature id for the '<em><b>Csi</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1545,6 +1654,27 @@ public interface QVTimperativeCSPackage extends EPackage {
EAttribute getImperativePredicateOrAssignmentCS_IsAccumulate();
/**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS <em>Imperative Realized Variable CS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Imperative Realized Variable CS</em>'.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS
+ * @generated
+ */
+ EClass getImperativeRealizedVariableCS();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS#getOwnedInitExpression <em>Owned Init Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Owned Init Expression</em>'.
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS#getOwnedInitExpression()
+ * @see #getImperativeRealizedVariableCS()
+ * @generated
+ */
+ EReference getImperativeRealizedVariableCS_OwnedInitExpression();
+
+ /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1850,6 +1980,24 @@ public interface QVTimperativeCSPackage extends EPackage {
*/
EAttribute IMPERATIVE_PREDICATE_OR_ASSIGNMENT_CS__IS_ACCUMULATE = eINSTANCE.getImperativePredicateOrAssignmentCS_IsAccumulate();
+ /**
+ * The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeRealizedVariableCSImpl <em>Imperative Realized Variable CS</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeRealizedVariableCSImpl
+ * @see org.eclipse.qvtd.xtext.qvtimperativecs.impl.QVTimperativeCSPackageImpl#getImperativeRealizedVariableCS()
+ * @generated
+ */
+ EClass IMPERATIVE_REALIZED_VARIABLE_CS = eINSTANCE.getImperativeRealizedVariableCS();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Init Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION = eINSTANCE.getImperativeRealizedVariableCS_OwnedInitExpression();
+
}
} //QVTimperativeCSTPackage
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/ImperativeRealizedVariableCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/ImperativeRealizedVariableCSImpl.java
new file mode 100644
index 000000000..22a6115a7
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/ImperativeRealizedVariableCSImpl.java
@@ -0,0 +1,206 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2013, 2015 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.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+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.xtext.basecs.util.BaseCSVisitor;
+
+import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
+
+import org.eclipse.qvtd.xtext.qvtcorebasecs.impl.RealizedVariableCSImpl;
+
+import org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS;
+import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
+
+import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Imperative Realized Variable CS</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.ImperativeRealizedVariableCSImpl#getOwnedInitExpression <em>Owned Init Expression</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class ImperativeRealizedVariableCSImpl extends RealizedVariableCSImpl implements ImperativeRealizedVariableCS {
+ /**
+ * The cached value of the '{@link #getOwnedInitExpression() <em>Owned Init Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedInitExpression()
+ * @generated
+ * @ordered
+ */
+ protected ExpCS ownedInitExpression;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImperativeRealizedVariableCSImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTimperativeCSPackage.Literals.IMPERATIVE_REALIZED_VARIABLE_CS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpCS getOwnedInitExpression() {
+ return ownedInitExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOwnedInitExpression(ExpCS newOwnedInitExpression, NotificationChain msgs) {
+ ExpCS oldOwnedInitExpression = ownedInitExpression;
+ ownedInitExpression = newOwnedInitExpression;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION, oldOwnedInitExpression, newOwnedInitExpression);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOwnedInitExpression(ExpCS newOwnedInitExpression) {
+ if (newOwnedInitExpression != ownedInitExpression) {
+ NotificationChain msgs = null;
+ if (ownedInitExpression != null)
+ msgs = ((InternalEObject)ownedInitExpression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION, null, msgs);
+ if (newOwnedInitExpression != null)
+ msgs = ((InternalEObject)newOwnedInitExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION, null, msgs);
+ msgs = basicSetOwnedInitExpression(newOwnedInitExpression, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION, newOwnedInitExpression, newOwnedInitExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION:
+ return basicSetOwnedInitExpression(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION:
+ return getOwnedInitExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION:
+ setOwnedInitExpression((ExpCS)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION:
+ setOwnedInitExpression((ExpCS)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION:
+ return ownedInitExpression != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public <R> R accept(@NonNull BaseCSVisitor<R> visitor) {
+ return (R) ((QVTimperativeCSVisitor<?>)visitor).visitImperativeRealizedVariableCS(this);
+ }
+
+} //ImperativeRealizedVariableCSImpl
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 56e79f7a4..26fc4c97a 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
@@ -65,6 +65,7 @@ public class QVTimperativeCSFactoryImpl extends EFactoryImpl implements QVTimper
case QVTimperativeCSPackage.CONNECTION_STATEMENT_CS: return createConnectionStatementCS();
case QVTimperativeCSPackage.IMPERATIVE_DOMAIN_CS: return createImperativeDomainCS();
case QVTimperativeCSPackage.IMPERATIVE_PREDICATE_OR_ASSIGNMENT_CS: return createImperativePredicateOrAssignmentCS();
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS: return createImperativeRealizedVariableCS();
case QVTimperativeCSPackage.MAPPING_CS: return createMappingCS();
case QVTimperativeCSPackage.MAPPING_CALL_BINDING_CS: return createMappingCallBindingCS();
case QVTimperativeCSPackage.MAPPING_CALL_CS: return createMappingCallCS();
@@ -180,6 +181,16 @@ public class QVTimperativeCSFactoryImpl extends EFactoryImpl implements QVTimper
* <!-- end-user-doc -->
* @generated
*/
+ public ImperativeRealizedVariableCS createImperativeRealizedVariableCS() {
+ ImperativeRealizedVariableCSImpl imperativeRealizedVariableCS = new ImperativeRealizedVariableCSImpl();
+ return imperativeRealizedVariableCS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public QVTimperativeCSPackage getQVTimperativeCSPackage() {
return (QVTimperativeCSPackage)getEPackage();
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 c542bfb4b..fed66ca35 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
@@ -23,6 +23,7 @@ import org.eclipse.qvtd.xtext.qvtcorebasecs.QVTcoreBaseCSPackage;
import org.eclipse.qvtd.xtext.qvtimperativecs.ConnectionStatementCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeDomainCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.ImperativePredicateOrAssignmentCS;
+import org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCallBindingCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCallCS;
@@ -111,6 +112,13 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
private EClass imperativePredicateOrAssignmentCSEClass = null;
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass imperativeRealizedVariableCSEClass = null;
+
+ /**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
@@ -511,6 +519,24 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getImperativeRealizedVariableCS() {
+ return imperativeRealizedVariableCSEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getImperativeRealizedVariableCS_OwnedInitExpression() {
+ return (EReference)imperativeRealizedVariableCSEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public QVTimperativeCSFactory getQVTimperativeCSFactory() {
return (QVTimperativeCSFactory)getEFactoryInstance();
@@ -546,6 +572,9 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
imperativePredicateOrAssignmentCSEClass = createEClass(IMPERATIVE_PREDICATE_OR_ASSIGNMENT_CS);
createEAttribute(imperativePredicateOrAssignmentCSEClass, IMPERATIVE_PREDICATE_OR_ASSIGNMENT_CS__IS_ACCUMULATE);
+ imperativeRealizedVariableCSEClass = createEClass(IMPERATIVE_REALIZED_VARIABLE_CS);
+ createEReference(imperativeRealizedVariableCSEClass, IMPERATIVE_REALIZED_VARIABLE_CS__OWNED_INIT_EXPRESSION);
+
mappingCSEClass = createEClass(MAPPING_CS);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_KEY_EXPRESSION);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_MAPPING_SEQUENCE);
@@ -617,6 +646,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
connectionStatementCSEClass.getESuperTypes().add(this.getMappingStatementCS());
imperativeDomainCSEClass.getESuperTypes().add(theQVTcoreBaseCSPackage.getDomainCS());
imperativePredicateOrAssignmentCSEClass.getESuperTypes().add(theQVTcoreBaseCSPackage.getPredicateOrAssignmentCS());
+ imperativeRealizedVariableCSEClass.getESuperTypes().add(theQVTcoreBaseCSPackage.getRealizedVariableCS());
mappingCSEClass.getESuperTypes().add(theQVTcoreBaseCSPackage.getAbstractMappingCS());
mappingCallBindingCSEClass.getESuperTypes().add(theEssentialOCLCSPackage.getExpCS());
mappingCallCSEClass.getESuperTypes().add(this.getMappingStatementCS());
@@ -637,6 +667,9 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
initEClass(imperativePredicateOrAssignmentCSEClass, ImperativePredicateOrAssignmentCS.class, "ImperativePredicateOrAssignmentCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getImperativePredicateOrAssignmentCS_IsAccumulate(), ecorePackage.getEBoolean(), "isAccumulate", "false", 0, 1, ImperativePredicateOrAssignmentCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(imperativeRealizedVariableCSEClass, ImperativeRealizedVariableCS.class, "ImperativeRealizedVariableCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getImperativeRealizedVariableCS_OwnedInitExpression(), theEssentialOCLCSPackage.getExpCS(), null, "ownedInitExpression", null, 0, 1, ImperativeRealizedVariableCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(mappingCSEClass, MappingCS.class, "MappingCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
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);
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 86bed527d..6807ad044 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
@@ -51,6 +51,11 @@ public abstract class AbstractDelegatingQVTimperativeCSVisitor<R, C, @NonNull D
}
@Override
+ public R visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS object) {
+ return delegate.visitImperativeRealizedVariableCS(object);
+ }
+
+ @Override
public R visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS object) {
return delegate.visitMappingCS(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 6aee27679..3625e35e7 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
@@ -55,6 +55,11 @@ public abstract class AbstractExtendingQVTimperativeCSVisitor<R, C>
}
@Override
+ public R visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS object) {
+ return visitRealizedVariableCS(object);
+ }
+
+ @Override
public R visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS object) {
return visitAbstractMappingCS(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 7ffbfa2ff..fff7f60c4 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
@@ -55,6 +55,11 @@ public abstract class AbstractNullQVTimperativeCSVisitor<@Nullable R, C>
}
@Override
+ public R visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS object) {
+ return null;
+ }
+
+ @Override
public R visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS 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 8a66ae911..c4dff4f19 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
@@ -59,6 +59,11 @@ public abstract class AbstractQVTimperativeCSContainmentVisitor
}
@Override
+ public @Nullable Continuation<?> visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS csElement) {
+ return visitRealizedVariableCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS csElement) {
return visitAbstractMappingCS(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 bf94e23d6..0f7610931 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
@@ -59,6 +59,11 @@ public abstract class AbstractQVTimperativeCSLeft2RightVisitor
}
@Override
+ public @Nullable Element visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS csElement) {
+ return visitRealizedVariableCS(csElement);
+ }
+
+ @Override
public @Nullable Element visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS csElement) {
return visitAbstractMappingCS(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 0de6e11a5..7fae6eee9 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
@@ -59,6 +59,11 @@ public abstract class AbstractQVTimperativeCSPostOrderVisitor
}
@Override
+ public @Nullable Continuation<?> visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS csElement) {
+ return visitRealizedVariableCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS csElement) {
return visitAbstractMappingCS(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 2cde06e6d..1df5c3086 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
@@ -59,6 +59,11 @@ public abstract class AbstractQVTimperativeCSPreOrderVisitor
}
@Override
+ public @Nullable Continuation<?> visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS csElement) {
+ return visitRealizedVariableCS(csElement);
+ }
+
+ @Override
public @Nullable Continuation<?> visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS csElement) {
return visitAbstractMappingCS(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 85d0f7941..dd0c9788f 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
@@ -24,12 +24,15 @@ import org.eclipse.ocl.xtext.basecs.PackageOwnerCS;
import org.eclipse.ocl.xtext.basecs.PivotableElementCS;
import org.eclipse.ocl.xtext.basecs.RootCS;
import org.eclipse.ocl.xtext.basecs.RootPackageCS;
+import org.eclipse.ocl.xtext.basecs.TypedElementCS;
import org.eclipse.ocl.xtext.basecs.util.VisitableCS;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AbstractMappingCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AreaCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.DomainCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.PredicateOrAssignmentCS;
+import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizeableVariableCS;
+import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizedVariableCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.*;
/**
@@ -101,6 +104,10 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
return createImperativePredicateOrAssignmentCSAdapter();
}
@Override
+ public Adapter caseImperativeRealizedVariableCS(ImperativeRealizedVariableCS object) {
+ return createImperativeRealizedVariableCSAdapter();
+ }
+ @Override
public Adapter caseMappingCS(MappingCS object) {
return createMappingCSAdapter();
}
@@ -173,6 +180,18 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
return createPredicateOrAssignmentCSAdapter();
}
@Override
+ public Adapter caseTypedElementCS(TypedElementCS object) {
+ return createTypedElementCSAdapter();
+ }
+ @Override
+ public Adapter caseRealizeableVariableCS(RealizeableVariableCS object) {
+ return createRealizeableVariableCSAdapter();
+ }
+ @Override
+ public Adapter caseRealizedVariableCS(RealizedVariableCS object) {
+ return createRealizedVariableCSAdapter();
+ }
+ @Override
public Adapter caseAbstractMappingCS(AbstractMappingCS object) {
return createAbstractMappingCSAdapter();
}
@@ -349,6 +368,20 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.ImperativeRealizedVariableCS <em>Imperative Realized Variable 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.ImperativeRealizedVariableCS
+ * @generated
+ */
+ public Adapter createImperativeRealizedVariableCSAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.ocl.xtext.basecs.util.VisitableCS <em>Visitable CS</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -489,6 +522,48 @@ public class QVTimperativeCSAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.ocl.xtext.basecs.TypedElementCS <em>Typed Element 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.ocl.xtext.basecs.TypedElementCS
+ * @generated
+ */
+ public Adapter createTypedElementCSAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtcorebasecs.RealizeableVariableCS <em>Realizeable Variable 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.qvtcorebasecs.RealizeableVariableCS
+ * @generated
+ */
+ public Adapter createRealizeableVariableCSAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.xtext.qvtcorebasecs.RealizedVariableCS <em>Realized Variable 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.qvtcorebasecs.RealizedVariableCS
+ * @generated
+ */
+ public Adapter createRealizedVariableCSAdapter() {
+ 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 9764cb022..a7905cb76 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
@@ -23,12 +23,15 @@ import org.eclipse.ocl.xtext.basecs.PackageOwnerCS;
import org.eclipse.ocl.xtext.basecs.PivotableElementCS;
import org.eclipse.ocl.xtext.basecs.RootCS;
import org.eclipse.ocl.xtext.basecs.RootPackageCS;
+import org.eclipse.ocl.xtext.basecs.TypedElementCS;
import org.eclipse.ocl.xtext.basecs.util.VisitableCS;
import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AbstractMappingCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.AreaCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.DomainCS;
import org.eclipse.qvtd.xtext.qvtcorebasecs.PredicateOrAssignmentCS;
+import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizeableVariableCS;
+import org.eclipse.qvtd.xtext.qvtcorebasecs.RealizedVariableCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.*;
/**
@@ -128,6 +131,22 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case QVTimperativeCSPackage.IMPERATIVE_REALIZED_VARIABLE_CS: {
+ ImperativeRealizedVariableCS imperativeRealizedVariableCS = (ImperativeRealizedVariableCS)theEObject;
+ T result = caseImperativeRealizedVariableCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseRealizedVariableCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseRealizeableVariableCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseTypedElementCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseNamedElementCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseModelElementCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseNameable(imperativeRealizedVariableCS);
+ if (result == null) result = casePivotableElementCS(imperativeRealizedVariableCS);
+ if (result == null) result = caseElementCS(imperativeRealizedVariableCS);
+ if (result == null) result = casePivotable(imperativeRealizedVariableCS);
+ if (result == null) result = caseVisitableCS(imperativeRealizedVariableCS);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case QVTimperativeCSPackage.MAPPING_CS: {
MappingCS mappingCS = (MappingCS)theEObject;
T result = caseMappingCS(mappingCS);
@@ -370,6 +389,21 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Imperative Realized Variable 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>Imperative Realized Variable CS</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseImperativeRealizedVariableCS(ImperativeRealizedVariableCS object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Visitable CS</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -520,6 +554,51 @@ public class QVTimperativeCSSwitch<@Nullable T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Typed Element 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>Typed Element CS</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTypedElementCS(TypedElementCS object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Realizeable Variable 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>Realizeable Variable CS</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRealizeableVariableCS(RealizeableVariableCS object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Realized Variable 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>Realized Variable CS</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRealizedVariableCS(RealizedVariableCS object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Package Owner 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 9070a44f2..a8bf9d6a4 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
@@ -26,6 +26,7 @@ public interface QVTimperativeCSVisitor<R> extends org.eclipse.qvtd.xtext.qvtcor
R visitConnectionStatementCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ConnectionStatementCS object);
R visitImperativeDomainCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeDomainCS object);
R visitImperativePredicateOrAssignmentCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativePredicateOrAssignmentCS object);
+ R visitImperativeRealizedVariableCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull ImperativeRealizedVariableCS object);
R visitMappingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCS object);
R visitMappingCallBindingCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCallBindingCS object);
R visitMappingCallCS(org.eclipse.qvtd.xtext.qvtimperativecs.@NonNull MappingCallCS object);
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel b/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
index f6e3fad14..8e7b69312 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/model/QVTimperativeCS.genmodel
@@ -26,6 +26,9 @@
<genClasses ecoreClass="QVTimperativeCS.ecore#//ImperativePredicateOrAssignmentCS">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute QVTimperativeCS.ecore#//ImperativePredicateOrAssignmentCS/isAccumulate"/>
</genClasses>
+ <genClasses ecoreClass="QVTimperativeCS.ecore#//ImperativeRealizedVariableCS">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//ImperativeRealizedVariableCS/ownedInitExpression"/>
+ </genClasses>
<genClasses ecoreClass="QVTimperativeCS.ecore#//MappingCS">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingCS/ownedKeyExpression"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference QVTimperativeCS.ecore#//MappingCS/ownedMappingSequence"/>

Back to the top