Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-05-05 07:23:56 -0400
committerEd Willink2016-05-05 09:32:21 -0400
commit43ccebf6198e317a50c729532daa58a1a2e3f080 (patch)
tree25d2117a6265aa13f42efcfd3f6dfdb90cf44044
parentf374aac551582d229c71c2cde5ca49759a2f856f (diff)
downloadorg.eclipse.qvtd-43ccebf6198e317a50c729532daa58a1a2e3f080.tar.gz
org.eclipse.qvtd-43ccebf6198e317a50c729532daa58a1a2e3f080.tar.xz
org.eclipse.qvtd-43ccebf6198e317a50c729532daa58a1a2e3f080.zip
[486722] Regenerate with CGEcoreContainerAssignment
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcoreContainerAssignment.java62
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelFactory.java9
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelPackage.java202
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcoreContainerAssignmentImpl.java167
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelFactoryImpl.java12
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelPackageImpl.java35
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractExtendingQVTiCGModelVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNonNullExtendingQVTiCGModelVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNullQVTiCGModelVisitor.java5
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelAdapterFactory.java18
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelSwitch.java27
-rw-r--r--plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelVisitor.java1
-rw-r--r--plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel3
13 files changed, 533 insertions, 18 deletions
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcoreContainerAssignment.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcoreContainerAssignment.java
new file mode 100644
index 000000000..10f87250c
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcoreContainerAssignment.java
@@ -0,0 +1,62 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 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.codegen.qvticgmodel;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>CG Ecore Container Assignment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment#getEStructuralFeature <em>EStructural Feature</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGEcoreContainerAssignment()
+ * @model
+ * @generated
+ */
+public interface CGEcoreContainerAssignment extends CGPropertyAssignment {
+ /**
+ * Returns the value of the '<em><b>EStructural Feature</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>EStructural Feature</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>EStructural Feature</em>' reference.
+ * @see #setEStructuralFeature(EStructuralFeature)
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGEcoreContainerAssignment_EStructuralFeature()
+ * @model resolveProxies="false" required="true"
+ * @generated
+ */
+ EStructuralFeature getEStructuralFeature();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment#getEStructuralFeature <em>EStructural Feature</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>EStructural Feature</em>' reference.
+ * @see #getEStructuralFeature()
+ * @generated
+ */
+ void setEStructuralFeature(EStructuralFeature value);
+
+} // CGEcoreContainerAssignment
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelFactory.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelFactory.java
index e99adee58..57f711090 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelFactory.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelFactory.java
@@ -50,6 +50,15 @@ public interface QVTiCGModelFactory extends EFactory {
@NonNull CGConnectionVariable createCGConnectionVariable();
/**
+ * Returns a new object of class '<em>CG Ecore Container Assignment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>CG Ecore Container Assignment</em>'.
+ * @generated
+ */
+ @NonNull CGEcoreContainerAssignment createCGEcoreContainerAssignment();
+
+ /**
* Returns a new object of class '<em>CG Ecore Property Assignment</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelPackage.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelPackage.java
index 0ff4b3c16..63ea3c3a7 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelPackage.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/QVTiCGModelPackage.java
@@ -192,7 +192,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGPropertyAssignment()
* @generated
*/
- int CG_PROPERTY_ASSIGNMENT = 15;
+ int CG_PROPERTY_ASSIGNMENT = 16;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcorePropertyAssignmentImpl <em>CG Ecore Property Assignment</em>}' class.
@@ -202,7 +202,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcorePropertyAssignment()
* @generated
*/
- int CG_ECORE_PROPERTY_ASSIGNMENT = 2;
+ int CG_ECORE_PROPERTY_ASSIGNMENT = 3;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGMappingImpl <em>CG Mapping</em>}' class.
@@ -212,7 +212,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMapping()
* @generated
*/
- int CG_MAPPING = 8;
+ int CG_MAPPING = 9;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGTransformationImpl <em>CG Transformation</em>}' class.
@@ -222,7 +222,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGTransformation()
* @generated
*/
- int CG_TRANSFORMATION = 18;
+ int CG_TRANSFORMATION = 19;
/**
* Returns the meta object for class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment <em>CG Ecore Property Assignment</em>}'.
@@ -358,7 +358,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMappingCall()
* @generated
*/
- int CG_MAPPING_CALL = 9;
+ int CG_MAPPING_CALL = 10;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGMappingCallBindingImpl <em>CG Mapping Call Binding</em>}' class.
@@ -368,7 +368,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMappingCallBinding()
* @generated
*/
- int CG_MAPPING_CALL_BINDING = 10;
+ int CG_MAPPING_CALL_BINDING = 11;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGRealizedVariableImpl <em>CG Realized Variable</em>}' class.
@@ -378,7 +378,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGRealizedVariable()
* @generated
*/
- int CG_REALIZED_VARIABLE = 16;
+ int CG_REALIZED_VARIABLE = 17;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreRealizedVariableImpl <em>CG Ecore Realized Variable</em>}' class.
@@ -388,7 +388,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcoreRealizedVariable()
* @generated
*/
- int CG_ECORE_REALIZED_VARIABLE = 3;
+ int CG_ECORE_REALIZED_VARIABLE = 4;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGFunctionImpl <em>CG Function</em>}' class.
@@ -398,7 +398,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGFunction()
* @generated
*/
- int CG_FUNCTION = 4;
+ int CG_FUNCTION = 5;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGFunctionCallExpImpl <em>CG Function Call Exp</em>}' class.
@@ -408,7 +408,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGFunctionCallExp()
* @generated
*/
- int CG_FUNCTION_CALL_EXP = 5;
+ int CG_FUNCTION_CALL_EXP = 6;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGFunctionParameterImpl <em>CG Function Parameter</em>}' class.
@@ -418,7 +418,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGFunctionParameter()
* @generated
*/
- int CG_FUNCTION_PARAMETER = 6;
+ int CG_FUNCTION_PARAMETER = 7;
/**
* The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGGuardVariableImpl <em>CG Guard Variable</em>}' class.
@@ -428,7 +428,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGGuardVariable()
* @generated
*/
- int CG_GUARD_VARIABLE = 7;
+ int CG_GUARD_VARIABLE = 8;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -747,6 +747,133 @@ public interface QVTiCGModelPackage extends EPackage {
int CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT = CGModelPackage.CG_VALUED_ELEMENT_FEATURE_COUNT + 5;
/**
+ * The meta object id for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreContainerAssignmentImpl <em>CG Ecore Container Assignment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreContainerAssignmentImpl
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcoreContainerAssignment()
+ * @generated
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT = 2;
+
+ /**
+ * The feature id for the '<em><b>Ast</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__AST = CG_PROPERTY_ASSIGNMENT__AST;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__NAME = CG_PROPERTY_ASSIGNMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Type Id</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__TYPE_ID = CG_PROPERTY_ASSIGNMENT__TYPE_ID;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__REQUIRED = CG_PROPERTY_ASSIGNMENT__REQUIRED;
+
+ /**
+ * The feature id for the '<em><b>Depends On</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__DEPENDS_ON = CG_PROPERTY_ASSIGNMENT__DEPENDS_ON;
+
+ /**
+ * The feature id for the '<em><b>Owns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__OWNS = CG_PROPERTY_ASSIGNMENT__OWNS;
+
+ /**
+ * The feature id for the '<em><b>Mapping Exp</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__MAPPING_EXP = CG_PROPERTY_ASSIGNMENT__MAPPING_EXP;
+
+ /**
+ * The feature id for the '<em><b>Slot Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__SLOT_VALUE = CG_PROPERTY_ASSIGNMENT__SLOT_VALUE;
+
+ /**
+ * The feature id for the '<em><b>Referred Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__REFERRED_PROPERTY = CG_PROPERTY_ASSIGNMENT__REFERRED_PROPERTY;
+
+ /**
+ * The feature id for the '<em><b>Init Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__INIT_VALUE = CG_PROPERTY_ASSIGNMENT__INIT_VALUE;
+
+ /**
+ * The feature id for the '<em><b>Executor Property</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__EXECUTOR_PROPERTY = CG_PROPERTY_ASSIGNMENT__EXECUTOR_PROPERTY;
+
+ /**
+ * The feature id for the '<em><b>EStructural Feature</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE = CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>CG Ecore Container Assignment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CG_ECORE_CONTAINER_ASSIGNMENT_FEATURE_COUNT = CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT + 1;
+
+ /**
* The feature id for the '<em><b>Ast</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1573,7 +1700,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMappingExp()
* @generated
*/
- int CG_MAPPING_EXP = 11;
+ int CG_MAPPING_EXP = 12;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -1700,7 +1827,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMappingLoop()
* @generated
*/
- int CG_MAPPING_LOOP = 12;
+ int CG_MAPPING_LOOP = 13;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -1827,7 +1954,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMiddlePropertyAssignment()
* @generated
*/
- int CG_MIDDLE_PROPERTY_ASSIGNMENT = 13;
+ int CG_MIDDLE_PROPERTY_ASSIGNMENT = 14;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -1954,7 +2081,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGMiddlePropertyCallExp()
* @generated
*/
- int CG_MIDDLE_PROPERTY_CALL_EXP = 14;
+ int CG_MIDDLE_PROPERTY_CALL_EXP = 15;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -2063,7 +2190,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGSequence()
* @generated
*/
- int CG_SEQUENCE = 17;
+ int CG_SEQUENCE = 18;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -2253,7 +2380,7 @@ public interface QVTiCGModelPackage extends EPackage {
* @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGTypedModel()
* @generated
*/
- int CG_TYPED_MODEL = 19;
+ int CG_TYPED_MODEL = 20;
/**
* The feature id for the '<em><b>Ast</b></em>' attribute.
@@ -2354,6 +2481,27 @@ public interface QVTiCGModelPackage extends EPackage {
EClass getCGConnectionVariable();
/**
+ * Returns the meta object for class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment <em>CG Ecore Container Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>CG Ecore Container Assignment</em>'.
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment
+ * @generated
+ */
+ EClass getCGEcoreContainerAssignment();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment#getEStructuralFeature <em>EStructural Feature</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>EStructural Feature</em>'.
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment#getEStructuralFeature()
+ * @see #getCGEcoreContainerAssignment()
+ * @generated
+ */
+ EReference getCGEcoreContainerAssignment_EStructuralFeature();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment <em>CG Property Assignment</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2794,6 +2942,24 @@ public interface QVTiCGModelPackage extends EPackage {
EClass CG_CONNECTION_VARIABLE = eINSTANCE.getCGConnectionVariable();
/**
+ * The meta object literal for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreContainerAssignmentImpl <em>CG Ecore Container Assignment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreContainerAssignmentImpl
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcoreContainerAssignment()
+ * @generated
+ */
+ EClass CG_ECORE_CONTAINER_ASSIGNMENT = eINSTANCE.getCGEcoreContainerAssignment();
+
+ /**
+ * The meta object literal for the '<em><b>EStructural Feature</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE = eINSTANCE.getCGEcoreContainerAssignment_EStructuralFeature();
+
+ /**
* The meta object literal for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcorePropertyAssignmentImpl <em>CG Ecore Property Assignment</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcoreContainerAssignmentImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcoreContainerAssignmentImpl.java
new file mode 100644
index 000000000..f449d395c
--- /dev/null
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcoreContainerAssignmentImpl.java
@@ -0,0 +1,167 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 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.codegen.qvticgmodel.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jdt.annotation.NonNull;
+
+import org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelVisitor;
+
+import org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment;
+import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage;
+
+import org.eclipse.qvtd.codegen.qvticgmodel.util.QVTiCGModelVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>CG Ecore Container Assignment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcoreContainerAssignmentImpl#getEStructuralFeature <em>EStructural Feature</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class CGEcoreContainerAssignmentImpl extends CGPropertyAssignmentImpl implements CGEcoreContainerAssignment {
+ /**
+ * The cached value of the '{@link #getEStructuralFeature() <em>EStructural Feature</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEStructuralFeature()
+ * @generated
+ * @ordered
+ */
+ protected EStructuralFeature eStructuralFeature;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CGEcoreContainerAssignmentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return QVTiCGModelPackage.Literals.CG_ECORE_CONTAINER_ASSIGNMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EStructuralFeature getEStructuralFeature() {
+ return eStructuralFeature;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void setEStructuralFeature(EStructuralFeature newEStructuralFeature) {
+ EStructuralFeature oldEStructuralFeature = eStructuralFeature;
+ eStructuralFeature = newEStructuralFeature;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE, oldEStructuralFeature, eStructuralFeature));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE:
+ return getEStructuralFeature();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE:
+ setEStructuralFeature((EStructuralFeature)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE:
+ setEStructuralFeature((EStructuralFeature)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE:
+ return eStructuralFeature != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public <R> R accept(@NonNull CGModelVisitor<R> visitor) {
+ return (R) ((QVTiCGModelVisitor<?>)visitor).visitCGEcoreContainerAssignment(this);
+ }
+
+} //CGEcoreContainerAssignmentImpl
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelFactoryImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelFactoryImpl.java
index ada3b3881..e8a373d1e 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelFactoryImpl.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelFactoryImpl.java
@@ -82,6 +82,7 @@ public class QVTiCGModelFactoryImpl extends EFactoryImpl implements QVTiCGModelF
switch (eClass.getClassifierID()) {
case QVTiCGModelPackage.CG_CONNECTION_ASSIGNMENT: return createCGConnectionAssignment();
case QVTiCGModelPackage.CG_CONNECTION_VARIABLE: return createCGConnectionVariable();
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT: return createCGEcoreContainerAssignment();
case QVTiCGModelPackage.CG_ECORE_PROPERTY_ASSIGNMENT: return createCGEcorePropertyAssignment();
case QVTiCGModelPackage.CG_ECORE_REALIZED_VARIABLE: return createCGEcoreRealizedVariable();
case QVTiCGModelPackage.CG_FUNCTION: return createCGFunction();
@@ -133,6 +134,17 @@ public class QVTiCGModelFactoryImpl extends EFactoryImpl implements QVTiCGModelF
* @generated
*/
@Override
+ public @NonNull CGEcoreContainerAssignment createCGEcoreContainerAssignment() {
+ CGEcoreContainerAssignmentImpl cgEcoreContainerAssignment = new CGEcoreContainerAssignmentImpl();
+ return cgEcoreContainerAssignment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
public @NonNull CGEcorePropertyAssignment createCGEcorePropertyAssignment() {
CGEcorePropertyAssignmentImpl cgEcorePropertyAssignment = new CGEcorePropertyAssignmentImpl();
return cgEcorePropertyAssignment;
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelPackageImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelPackageImpl.java
index 7f0354240..8c26b18f1 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelPackageImpl.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/QVTiCGModelPackageImpl.java
@@ -18,6 +18,7 @@ import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage;
import org.eclipse.qvtd.codegen.qvticgmodel.CGConnectionAssignment;
import org.eclipse.qvtd.codegen.qvticgmodel.CGConnectionVariable;
+import org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment;
import org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment;
import org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreRealizedVariable;
import org.eclipse.qvtd.codegen.qvticgmodel.CGFunction;
@@ -65,6 +66,13 @@ public class QVTiCGModelPackageImpl extends EPackageImpl implements QVTiCGModelP
* <!-- end-user-doc -->
* @generated
*/
+ private EClass cgEcoreContainerAssignmentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass cgEcorePropertyAssignmentEClass = null;
/**
@@ -307,6 +315,26 @@ public class QVTiCGModelPackageImpl extends EPackageImpl implements QVTiCGModelP
* @generated
*/
@Override
+ public EClass getCGEcoreContainerAssignment() {
+ return cgEcoreContainerAssignmentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EReference getCGEcoreContainerAssignment_EStructuralFeature() {
+ return (EReference)cgEcoreContainerAssignmentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
public EClass getCGEcorePropertyAssignment() {
return cgEcorePropertyAssignmentEClass;
}
@@ -807,6 +835,9 @@ public class QVTiCGModelPackageImpl extends EPackageImpl implements QVTiCGModelP
cgConnectionVariableEClass = createEClass(CG_CONNECTION_VARIABLE);
+ cgEcoreContainerAssignmentEClass = createEClass(CG_ECORE_CONTAINER_ASSIGNMENT);
+ createEReference(cgEcoreContainerAssignmentEClass, CG_ECORE_CONTAINER_ASSIGNMENT__ESTRUCTURAL_FEATURE);
+
cgEcorePropertyAssignmentEClass = createEClass(CG_ECORE_PROPERTY_ASSIGNMENT);
createEReference(cgEcorePropertyAssignmentEClass, CG_ECORE_PROPERTY_ASSIGNMENT__ESTRUCTURAL_FEATURE);
@@ -906,6 +937,7 @@ public class QVTiCGModelPackageImpl extends EPackageImpl implements QVTiCGModelP
// Add supertypes to classes
cgConnectionAssignmentEClass.getESuperTypes().add(theCGModelPackage.getCGValuedElement());
cgConnectionVariableEClass.getESuperTypes().add(this.getCGGuardVariable());
+ cgEcoreContainerAssignmentEClass.getESuperTypes().add(this.getCGPropertyAssignment());
cgEcorePropertyAssignmentEClass.getESuperTypes().add(this.getCGPropertyAssignment());
cgEcoreRealizedVariableEClass.getESuperTypes().add(this.getCGRealizedVariable());
cgFunctionEClass.getESuperTypes().add(theCGModelPackage.getCGOperation());
@@ -933,6 +965,9 @@ public class QVTiCGModelPackageImpl extends EPackageImpl implements QVTiCGModelP
initEClass(cgConnectionVariableEClass, CGConnectionVariable.class, "CGConnectionVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(cgEcoreContainerAssignmentEClass, CGEcoreContainerAssignment.class, "CGEcoreContainerAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCGEcoreContainerAssignment_EStructuralFeature(), ecorePackage.getEStructuralFeature(), null, "eStructuralFeature", null, 1, 1, CGEcoreContainerAssignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(cgEcorePropertyAssignmentEClass, CGEcorePropertyAssignment.class, "CGEcorePropertyAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCGEcorePropertyAssignment_EStructuralFeature(), ecorePackage.getEStructuralFeature(), null, "eStructuralFeature", null, 1, 1, CGEcorePropertyAssignment.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.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractExtendingQVTiCGModelVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractExtendingQVTiCGModelVisitor.java
index cb434b5ab..cc9d0d93f 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractExtendingQVTiCGModelVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractExtendingQVTiCGModelVisitor.java
@@ -50,6 +50,11 @@ public abstract class AbstractExtendingQVTiCGModelVisitor<R, C>
}
@Override
+ public R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) {
+ return visitCGPropertyAssignment(object);
+ }
+
+ @Override
public R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) {
return visitCGPropertyAssignment(object);
}
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNonNullExtendingQVTiCGModelVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNonNullExtendingQVTiCGModelVisitor.java
index f67476904..0413398d5 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNonNullExtendingQVTiCGModelVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNonNullExtendingQVTiCGModelVisitor.java
@@ -54,6 +54,11 @@ public abstract class AbstractNonNullExtendingQVTiCGModelVisitor<R, C>
}
@Override
+ public @NonNull R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) {
+ return visitCGPropertyAssignment(object);
+ }
+
+ @Override
public @NonNull R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) {
return visitCGPropertyAssignment(object);
}
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNullQVTiCGModelVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNullQVTiCGModelVisitor.java
index cca83f6f9..09c009177 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNullQVTiCGModelVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractNullQVTiCGModelVisitor.java
@@ -50,6 +50,11 @@ public abstract class AbstractNullQVTiCGModelVisitor<@Nullable R, C>
}
@Override
+ public R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) {
+ return null;
+ }
+
+ @Override
public R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) {
return null;
}
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelAdapterFactory.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelAdapterFactory.java
index cf97218dc..97b8fecb9 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelAdapterFactory.java
@@ -97,6 +97,10 @@ public class QVTiCGModelAdapterFactory extends AdapterFactoryImpl {
return createCGConnectionVariableAdapter();
}
@Override
+ public Adapter caseCGEcoreContainerAssignment(CGEcoreContainerAssignment object) {
+ return createCGEcoreContainerAssignmentAdapter();
+ }
+ @Override
public Adapter caseCGEcorePropertyAssignment(CGEcorePropertyAssignment object) {
return createCGEcorePropertyAssignmentAdapter();
}
@@ -277,6 +281,20 @@ public class QVTiCGModelAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment <em>CG Ecore Container Assignment</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment
+ * @generated
+ */
+ public Adapter createCGEcoreContainerAssignmentAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment <em>CG Ecore Property Assignment</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelSwitch.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelSwitch.java
index 5b94de4ac..f2c3288ad 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelSwitch.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelSwitch.java
@@ -113,6 +113,18 @@ public class QVTiCGModelSwitch<@Nullable T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case QVTiCGModelPackage.CG_ECORE_CONTAINER_ASSIGNMENT: {
+ CGEcoreContainerAssignment cgEcoreContainerAssignment = (CGEcoreContainerAssignment)theEObject;
+ T result = caseCGEcoreContainerAssignment(cgEcoreContainerAssignment);
+ if (result == null) result = caseCGPropertyAssignment(cgEcoreContainerAssignment);
+ if (result == null) result = caseCGValuedElement(cgEcoreContainerAssignment);
+ if (result == null) result = caseCGTypedElement(cgEcoreContainerAssignment);
+ if (result == null) result = caseCGNamedElement(cgEcoreContainerAssignment);
+ if (result == null) result = caseCGElement(cgEcoreContainerAssignment);
+ if (result == null) result = caseNameable(cgEcoreContainerAssignment);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case QVTiCGModelPackage.CG_ECORE_PROPERTY_ASSIGNMENT: {
CGEcorePropertyAssignment cgEcorePropertyAssignment = (CGEcorePropertyAssignment)theEObject;
T result = caseCGEcorePropertyAssignment(cgEcorePropertyAssignment);
@@ -360,6 +372,21 @@ public class QVTiCGModelSwitch<@Nullable T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>CG Ecore Container Assignment</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>CG Ecore Container Assignment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCGEcoreContainerAssignment(CGEcoreContainerAssignment object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>CG Ecore Property Assignment</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelVisitor.java
index e3b1c4474..c244741ea 100644
--- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/QVTiCGModelVisitor.java
@@ -25,6 +25,7 @@ public interface QVTiCGModelVisitor<R> extends org.eclipse.ocl.examples.codegen.
{
R visitCGConnectionAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGConnectionAssignment object);
R visitCGConnectionVariable(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGConnectionVariable object);
+ R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object);
R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object);
R visitCGEcoreRealizedVariable(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreRealizedVariable object);
R visitCGFunction(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGFunction object);
diff --git a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
index 19a8ffdf0..39206f3da 100644
--- a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
+++ b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.genmodel
@@ -25,6 +25,9 @@
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGConnectionAssignment/connectionVariable"/>
</genClasses>
<genClasses ecoreClass="qvticgmodel.ecore#//CGConnectionVariable"/>
+ <genClasses ecoreClass="qvticgmodel.ecore#//CGEcoreContainerAssignment">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGEcoreContainerAssignment/eStructuralFeature"/>
+ </genClasses>
<genClasses ecoreClass="qvticgmodel.ecore#//CGEcorePropertyAssignment">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference qvticgmodel.ecore#//CGEcorePropertyAssignment/eStructuralFeature"/>
</genClasses>

Back to the top