diff options
author | Ed Willink | 2022-12-08 15:06:42 +0000 |
---|---|---|
committer | Ed Willink | 2023-02-19 09:54:44 +0000 |
commit | f60f26625e37e695016035355fa66f76bd42f7c8 (patch) | |
tree | d04041f613daec413602ba915ae61c0077fa2fa9 | |
parent | a0f214c39c55ea0a8a1d3db943ea5b120707dc88 (diff) | |
download | org.eclipse.qvtd-f60f26625e37e695016035355fa66f76bd42f7c8.tar.gz org.eclipse.qvtd-f60f26625e37e695016035355fa66f76bd42f7c8.tar.xz org.eclipse.qvtd-f60f26625e37e695016035355fa66f76bd42f7c8.zip |
[580264] Promote CGSequence/CGPropertyAssignment
44 files changed, 148 insertions, 1497 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 deleted file mode 100644 index c8b6c35d4..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcoreContainerAssignment.java +++ /dev/null @@ -1,62 +0,0 @@ -/** - * <copyright> - * - * Copyright (c) 2015, 2018 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.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/CGEcorePropertyAssignment.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcorePropertyAssignment.java deleted file mode 100644 index 9c00b4c8f..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGEcorePropertyAssignment.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013, 2018 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -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 Property Assignment</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment#getEStructuralFeature <em>EStructural Feature</em>}</li> - * </ul> - * - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGEcorePropertyAssignment() - * @model - * @generated - */ -public interface CGEcorePropertyAssignment 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#getCGEcorePropertyAssignment_EStructuralFeature() - * @model resolveProxies="false" required="true" - * @generated - */ - EStructuralFeature getEStructuralFeature(); - - /** - * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment#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); - -} // CGEcorePropertyAssignment diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGMiddlePropertyAssignment.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGMiddlePropertyAssignment.java index 3b7829f07..863ab00cd 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGMiddlePropertyAssignment.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGMiddlePropertyAssignment.java @@ -10,6 +10,7 @@ *******************************************************************************/ package org.eclipse.qvtd.codegen.qvticgmodel; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; /** * <!-- begin-user-doc --> diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGPropertyAssignment.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGPropertyAssignment.java deleted file mode 100644 index 94cebfaae..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGPropertyAssignment.java +++ /dev/null @@ -1,137 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013, 2018 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -package org.eclipse.qvtd.codegen.qvticgmodel; - -import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; -import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; -import org.eclipse.ocl.pivot.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>CG Assignment</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getReferredProperty <em>Referred Property</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedInitValue <em>Owned Init Value</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedSlotValue <em>Owned Slot Value</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getAsProperty <em>As Property</em>}</li> - * </ul> - * - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPropertyAssignment() - * @model - * @generated - */ -public interface CGPropertyAssignment extends CGValuedElement { - /** - * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getReferredProperty <em>Referred Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Referred Property</em>' reference. - * @see #getReferredProperty() - * @generated - */ - void setReferredProperty(CGProperty value); - - /** - * Returns the value of the '<em><b>As Property</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the value of the '<em>As Property</em>' attribute. - * @see #setAsProperty(Property) - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPropertyAssignment_AsProperty() - * @model dataType="org.eclipse.ocl.examples.codegen.cgmodel.Property" required="true" - * @generated - */ - Property getAsProperty(); - - /** - * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getAsProperty <em>As Property</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>As Property</em>' attribute. - * @see #getAsProperty() - * @generated - */ - void setAsProperty(Property value); - - /** - * Returns the value of the '<em><b>Referred Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Referred Property</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Referred Property</em>' reference. - * @see #setReferredProperty(CGProperty) - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPropertyAssignment_ReferredProperty() - * @model resolveProxies="false" required="true" - * @generated - */ - CGProperty getReferredProperty(); - - /** - * Returns the value of the '<em><b>Owned Init Value</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Owned Init Value</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Owned Init Value</em>' containment reference. - * @see #setOwnedInitValue(CGValuedElement) - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPropertyAssignment_OwnedInitValue() - * @model containment="true" required="true" - * @generated - */ - CGValuedElement getOwnedInitValue(); - - /** - * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedInitValue <em>Owned Init Value</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Owned Init Value</em>' containment reference. - * @see #getOwnedInitValue() - * @generated - */ - void setOwnedInitValue(CGValuedElement value); - - /** - * Returns the value of the '<em><b>Owned Slot Value</b></em>' containment reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Owned Slot Value</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Owned Slot Value</em>' containment reference. - * @see #setOwnedSlotValue(CGValuedElement) - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPropertyAssignment_OwnedSlotValue() - * @model containment="true" required="true" - * @generated - */ - CGValuedElement getOwnedSlotValue(); - - /** - * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedSlotValue <em>Owned Slot Value</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Owned Slot Value</em>' containment reference. - * @see #getOwnedSlotValue() - * @generated - */ - void setOwnedSlotValue(CGValuedElement value); - -} // CGAssignment diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGSequence.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGSequence.java deleted file mode 100644 index 1102e725e..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/CGSequence.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2014, 2018 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -package org.eclipse.qvtd.codegen.qvticgmodel; - -import java.util.List; - -import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>CG Sequence</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGSequence#getOwnedStatements <em>Owned Statements</em>}</li> - * </ul> - * - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGSequence() - * @model - * @generated - */ -public interface CGSequence extends CGValuedElement { - /** - * Returns the value of the '<em><b>Owned Statements</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement}. - * <!-- begin-user-doc --> - * <p> - * 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 Statements</em>' containment reference list. - * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGSequence_OwnedStatements() - * @model containment="true" - * @generated - */ - List<CGValuedElement> getOwnedStatements(); - -} // CGSequence 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 c143cc3b7..19c01bc02 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 @@ -12,6 +12,10 @@ package org.eclipse.qvtd.codegen.qvticgmodel; import org.eclipse.emf.ecore.EFactory; import org.eclipse.jdt.annotation.NonNull; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; /** * <!-- begin-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 16d70f4ef..a7ab7e31b 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 @@ -79,21 +79,21 @@ public interface QVTiCGModelPackage extends EPackage { @NonNull QVTiCGModelPackage eINSTANCE = org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl.init(); /** - * Returns the meta object for class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment <em>CG Ecore Property Assignment</em>}'. + * Returns the meta object for class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment <em>CG Ecore Property Assignment</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>CG Ecore Property Assignment</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment * @generated */ EClass getCGEcorePropertyAssignment(); /** - * Returns the meta object for the reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment#getEStructuralFeature <em>EStructural Feature</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment#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.CGEcorePropertyAssignment#getEStructuralFeature() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment#getEStructuralFeature() * @see #getCGEcorePropertyAssignment() * @generated */ @@ -258,75 +258,75 @@ 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>}'. + * Returns the meta object for class '{@link org.eclipse.ocl.examples.codegen.cgmodel.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 + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment * @generated */ EClass getCGEcoreContainerAssignment(); /** - * Returns the meta object for the reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment#getEStructuralFeature <em>EStructural Feature</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.ocl.examples.codegen.cgmodel.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 org.eclipse.ocl.examples.codegen.cgmodel.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>}'. + * Returns the meta object for class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment <em>CG Property Assignment</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>CG Property Assignment</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment * @generated */ EClass getCGPropertyAssignment(); /** - * Returns the meta object for the attribute '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getAsProperty <em>As Property</em>}'. + * Returns the meta object for the attribute '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getAsProperty <em>As Property</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>As Property</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getAsProperty() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getAsProperty() * @see #getCGPropertyAssignment() * @generated */ EAttribute getCGPropertyAssignment_AsProperty(); /** - * Returns the meta object for the reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getReferredProperty <em>Referred Property</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getReferredProperty <em>Referred Property</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Referred Property</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getReferredProperty() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getReferredProperty() * @see #getCGPropertyAssignment() * @generated */ EReference getCGPropertyAssignment_ReferredProperty(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedInitValue <em>Owned Init Value</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getOwnedInitValue <em>Owned Init Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Owned Init Value</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedInitValue() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getOwnedInitValue() * @see #getCGPropertyAssignment() * @generated */ EReference getCGPropertyAssignment_OwnedInitValue(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedSlotValue <em>Owned Slot Value</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getOwnedSlotValue <em>Owned Slot Value</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference '<em>Owned Slot Value</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment#getOwnedSlotValue() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment#getOwnedSlotValue() * @see #getCGPropertyAssignment() * @generated */ @@ -674,21 +674,21 @@ public interface QVTiCGModelPackage extends EPackage { EReference getCGRealizedVariablePart_ReferredProperty(); /** - * Returns the meta object for class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGSequence <em>CG Sequence</em>}'. + * Returns the meta object for class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGSequence <em>CG Sequence</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>CG Sequence</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGSequence + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGSequence * @generated */ EClass getCGSequence(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGSequence#getOwnedStatements <em>Owned Statements</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGSequence#getOwnedStatements <em>Owned Statements</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the containment reference list '<em>Owned Statements</em>'. - * @see org.eclipse.qvtd.codegen.qvticgmodel.CGSequence#getOwnedStatements() + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGSequence#getOwnedStatements() * @see #getCGSequence() * @generated */ @@ -848,10 +848,10 @@ 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. + * The meta object literal for the '{@link org.eclipse.ocl.examples.codegen.cgmodel.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.ocl.examples.codegen.cgmodel.impl.CGEcoreContainerAssignmentImpl * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcoreContainerAssignment() * @generated */ @@ -866,10 +866,10 @@ public interface QVTiCGModelPackage extends EPackage { 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. + * The meta object literal for the '{@link org.eclipse.ocl.examples.codegen.cgmodel.impl.CGEcorePropertyAssignmentImpl <em>CG Ecore Property Assignment</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcorePropertyAssignmentImpl + * @see org.eclipse.ocl.examples.codegen.cgmodel.impl.CGEcorePropertyAssignmentImpl * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGEcorePropertyAssignment() * @generated */ @@ -974,10 +974,10 @@ public interface QVTiCGModelPackage extends EPackage { EReference CG_GUARD_VARIABLE__TYPED_MODEL = eINSTANCE.getCGGuardVariable_TypedModel(); /** - * The meta object literal for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl <em>CG Property Assignment</em>}' class. + * The meta object literal for the '{@link org.eclipse.ocl.examples.codegen.cgmodel.impl.CGPropertyAssignmentImpl <em>CG Property Assignment</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl + * @see org.eclipse.ocl.examples.codegen.cgmodel.impl.CGPropertyAssignmentImpl * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGPropertyAssignment() * @generated */ @@ -1294,10 +1294,10 @@ public interface QVTiCGModelPackage extends EPackage { EReference CG_REALIZED_VARIABLE_PART__REFERRED_PROPERTY = eINSTANCE.getCGRealizedVariablePart_ReferredProperty(); /** - * The meta object literal for the '{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGSequenceImpl <em>CG Sequence</em>}' class. + * The meta object literal for the '{@link org.eclipse.ocl.examples.codegen.cgmodel.impl.CGSequenceImpl <em>CG Sequence</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.CGSequenceImpl + * @see org.eclipse.ocl.examples.codegen.cgmodel.impl.CGSequenceImpl * @see org.eclipse.qvtd.codegen.qvticgmodel.impl.QVTiCGModelPackageImpl#getCGSequence() * @generated */ 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 deleted file mode 100644 index 8f22fe285..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcoreContainerAssignmentImpl.java +++ /dev/null @@ -1,181 +0,0 @@ -/** - * <copyright> - * - * Copyright (c) 2015, 2019 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.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.impl.CGValuedElementImpl; -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 number of structural features of the '<em>CG Ecore Container Assignment</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - public static final int CG_ECORE_CONTAINER_ASSIGNMENT_FEATURE_COUNT = CGPropertyAssignmentImpl.CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT + 1; - /** - * 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, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4, oldEStructuralFeature, eStructuralFeature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - 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 CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - setEStructuralFeature((EStructuralFeature)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - setEStructuralFeature((EStructuralFeature)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - return eStructuralFeature != null; - } - return super.eIsSet(featureID); - } - - /** - * {@inheritDoc} - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public <R> R accept(@NonNull CGModelVisitor<R> visitor) { - if (visitor instanceof QVTiCGModelVisitor) { - return (R) ((QVTiCGModelVisitor<?>)visitor).visitCGEcoreContainerAssignment(this); - } - else { - return super.accept(visitor); - } - } - -} //CGEcoreContainerAssignmentImpl diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcorePropertyAssignmentImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcorePropertyAssignmentImpl.java deleted file mode 100644 index 61a3d5bc4..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGEcorePropertyAssignmentImpl.java +++ /dev/null @@ -1,171 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013, 2019 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -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.impl.CGValuedElementImpl; -import org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelVisitor; -import org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment; -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 Property Assignment</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGEcorePropertyAssignmentImpl#getEStructuralFeature <em>EStructural Feature</em>}</li> - * </ul> - * - * @generated - */ -public class CGEcorePropertyAssignmentImpl extends CGPropertyAssignmentImpl implements CGEcorePropertyAssignment { - /** - * The number of structural features of the '<em>CG Ecore Property Assignment</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - public static final int CG_ECORE_PROPERTY_ASSIGNMENT_FEATURE_COUNT = CGPropertyAssignmentImpl.CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT + 1; - /** - * 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 CGEcorePropertyAssignmentImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return QVTiCGModelPackage.Literals.CG_ECORE_PROPERTY_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, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4, oldEStructuralFeature, eStructuralFeature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - 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 CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - setEStructuralFeature((EStructuralFeature)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - setEStructuralFeature((EStructuralFeature)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4: - return eStructuralFeature != null; - } - return super.eIsSet(featureID); - } - - /** - * {@inheritDoc} - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public <R> R accept(@NonNull CGModelVisitor<R> visitor) { - if (visitor instanceof QVTiCGModelVisitor) { - return (R) ((QVTiCGModelVisitor<?>)visitor).visitCGEcorePropertyAssignment(this); - } - else { - return super.accept(visitor); - } - } - -} //CGEcorePropertyAssignmentImpl diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMappingImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMappingImpl.java index 8765347c5..54a10ce99 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMappingImpl.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMappingImpl.java @@ -28,6 +28,7 @@ import org.eclipse.emf.ecore.util.InternalEList; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGClassImpl; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGParameterImpl; @@ -40,7 +41,6 @@ import org.eclipse.ocl.pivot.ids.TypeId; import org.eclipse.qvtd.codegen.qvticgmodel.CGConnectionAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGGuardVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMiddlePropertyAssignmentImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMiddlePropertyAssignmentImpl.java index 57b71d35f..e42a91f41 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMiddlePropertyAssignmentImpl.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGMiddlePropertyAssignmentImpl.java @@ -12,6 +12,7 @@ package org.eclipse.qvtd.codegen.qvticgmodel.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.jdt.annotation.NonNull; +import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGEcorePropertyAssignmentImpl; import org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelVisitor; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGPropertyAssignmentImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGPropertyAssignmentImpl.java deleted file mode 100644 index 1d4c9e527..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGPropertyAssignmentImpl.java +++ /dev/null @@ -1,446 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013, 2019 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -package org.eclipse.qvtd.codegen.qvticgmodel.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.EClassifier; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.jdt.annotation.NonNull; -import org.eclipse.jdt.annotation.Nullable; -import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; -import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; -import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGValuedElementImpl; -import org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelVisitor; -import org.eclipse.ocl.pivot.Property; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; -import org.eclipse.qvtd.codegen.qvticgmodel.util.QVTiCGModelVisitor; -import org.eclipse.qvtd.codegen.utilities.QVTiEquivalenceUtil; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>CG Property Assignment</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl#getReferredProperty <em>Referred Property</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl#getOwnedInitValue <em>Owned Init Value</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl#getOwnedSlotValue <em>Owned Slot Value</em>}</li> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGPropertyAssignmentImpl#getAsProperty <em>As Property</em>}</li> - * </ul> - * - * @generated - */ -public class CGPropertyAssignmentImpl extends CGValuedElementImpl implements CGPropertyAssignment { - /** - * The number of structural features of the '<em>CG Property Assignment</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - public static final int CG_PROPERTY_ASSIGNMENT_FEATURE_COUNT = CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 4; - - /** - * The cached value of the '{@link #getReferredProperty() <em>Referred Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReferredProperty() - * @generated - * @ordered - */ - protected CGProperty referredProperty; - - /** - * The cached value of the '{@link #getOwnedInitValue() <em>Owned Init Value</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOwnedInitValue() - * @generated - * @ordered - */ - protected CGValuedElement ownedInitValue; - - /** - * The cached value of the '{@link #getOwnedSlotValue() <em>Owned Slot Value</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOwnedSlotValue() - * @generated - * @ordered - */ - protected CGValuedElement ownedSlotValue; - - /** - * The default value of the '{@link #getAsProperty() <em>As Property</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAsProperty() - * @generated - * @ordered - */ - protected static final Property AS_PROPERTY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAsProperty() <em>As Property</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAsProperty() - * @generated - * @ordered - */ - protected Property asProperty = AS_PROPERTY_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CGPropertyAssignmentImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return QVTiCGModelPackage.Literals.CG_PROPERTY_ASSIGNMENT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public CGProperty getReferredProperty() { - return referredProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void setReferredProperty(CGProperty newReferredProperty) { - CGProperty oldReferredProperty = referredProperty; - referredProperty = newReferredProperty; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0, oldReferredProperty, referredProperty)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Property getAsProperty() { - return asProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void setAsProperty(Property newAsProperty) { - Property oldAsProperty = asProperty; - asProperty = newAsProperty; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 3, oldAsProperty, asProperty)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public CGValuedElement getOwnedInitValue() { - return ownedInitValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOwnedInitValue(CGValuedElement newOwnedInitValue, NotificationChain msgs) { - CGValuedElement oldOwnedInitValue = ownedInitValue; - ownedInitValue = newOwnedInitValue; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1, oldOwnedInitValue, newOwnedInitValue); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void setOwnedInitValue(CGValuedElement newOwnedInitValue) { - if (newOwnedInitValue != ownedInitValue) { - NotificationChain msgs = null; - if (ownedInitValue != null) - msgs = ((InternalEObject)ownedInitValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - (CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1), null, msgs); - if (newOwnedInitValue != null) - msgs = ((InternalEObject)newOwnedInitValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - (CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1), null, msgs); - msgs = basicSetOwnedInitValue(newOwnedInitValue, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1, newOwnedInitValue, newOwnedInitValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public CGValuedElement getOwnedSlotValue() { - return ownedSlotValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOwnedSlotValue(CGValuedElement newOwnedSlotValue, NotificationChain msgs) { - CGValuedElement oldOwnedSlotValue = ownedSlotValue; - ownedSlotValue = newOwnedSlotValue; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2, oldOwnedSlotValue, newOwnedSlotValue); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void setOwnedSlotValue(CGValuedElement newOwnedSlotValue) { - if (newOwnedSlotValue != ownedSlotValue) { - NotificationChain msgs = null; - if (ownedSlotValue != null) - msgs = ((InternalEObject)ownedSlotValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - (CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2), null, msgs); - if (newOwnedSlotValue != null) - msgs = ((InternalEObject)newOwnedSlotValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - (CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2), null, msgs); - msgs = basicSetOwnedSlotValue(newOwnedSlotValue, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2, newOwnedSlotValue, newOwnedSlotValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1: - return basicSetOwnedInitValue(null, msgs); - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2: - return basicSetOwnedSlotValue(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 CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - return getReferredProperty(); - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1: - return getOwnedInitValue(); - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2: - return getOwnedSlotValue(); - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 3: - return getAsProperty(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - setReferredProperty((CGProperty)newValue); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1: - setOwnedInitValue((CGValuedElement)newValue); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2: - setOwnedSlotValue((CGValuedElement)newValue); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 3: - setAsProperty((Property)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - setReferredProperty((CGProperty)null); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1: - setOwnedInitValue((CGValuedElement)null); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2: - setOwnedSlotValue((CGValuedElement)null); - return; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 3: - setAsProperty(AS_PROPERTY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - return referredProperty != null; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1: - return ownedInitValue != null; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 2: - return ownedSlotValue != null; - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 3: - return AS_PROPERTY_EDEFAULT == null ? asProperty != null : !AS_PROPERTY_EDEFAULT.equals(asProperty); - } - return super.eIsSet(featureID); - } - - /** - * {@inheritDoc} - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public <R> R accept(@NonNull CGModelVisitor<R> visitor) { - if (visitor instanceof QVTiCGModelVisitor) { - return (R) ((QVTiCGModelVisitor<?>)visitor).visitCGPropertyAssignment(this); - } - else { - return super.accept(visitor); - } - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public @Nullable EClassifier getEcoreClassifier() { - return ownedInitValue != null ? ownedInitValue.getEcoreClassifier() : null; - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public boolean isBoxed() { - return (ownedInitValue != null) && ownedInitValue.isBoxed(); - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public boolean isEcore() { - return (ownedInitValue != null) && ownedInitValue.isEcore(); - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public @Nullable Boolean isEquivalentToInternal(@NonNull CGValuedElement thatValue) { - return (getClass() == thatValue.getClass()) ? QVTiEquivalenceUtil.isEquivalent(this, (CGPropertyAssignment)thatValue) : null; - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public boolean isGlobal() { - return false; - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public boolean isUnboxed() { - return (ownedInitValue != null) && ownedInitValue.isUnboxed(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - @Override - public String toString() { - return super.toString(); - } -} //CGPropertyAssignmentImpl diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGSequenceImpl.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGSequenceImpl.java deleted file mode 100644 index ebde747dc..000000000 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/impl/CGSequenceImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2014, 2019 Willink Transformations and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v20.html - * - * Contributors: - * E.D.Willink - Initial API and implementation - *******************************************************************************/ -package org.eclipse.qvtd.codegen.qvticgmodel.impl; - -import java.util.Collection; -import java.util.List; - -import java.util.Map; -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.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jdt.annotation.NonNull; -import org.eclipse.jdt.annotation.Nullable; - -import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; -import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; - -import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGValuedElementImpl; - -import org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelVisitor; - -import org.eclipse.ocl.examples.codegen.cse.AbstractPlace; -import org.eclipse.ocl.examples.codegen.cse.ControlPlace; -import org.eclipse.qvtd.codegen.qvti.cse.SequencePlaces; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; -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 Sequence</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.impl.CGSequenceImpl#getOwnedStatements <em>Owned Statements</em>}</li> - * </ul> - * - * @generated - */ -public class CGSequenceImpl extends CGValuedElementImpl implements CGSequence { - /** - * The number of structural features of the '<em>CG Sequence</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - public static final int CG_SEQUENCE_FEATURE_COUNT = CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 1; - /** - * The cached value of the '{@link #getOwnedStatements() <em>Owned Statements</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOwnedStatements() - * @generated - * @ordered - */ - protected EList<CGValuedElement> ownedStatements; - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CGSequenceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return QVTiCGModelPackage.Literals.CG_SEQUENCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<CGValuedElement> getOwnedStatements() { - if (ownedStatements == null) { - ownedStatements = new EObjectContainmentEList<CGValuedElement>(CGValuedElement.class, this, CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0); - } - return ownedStatements; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - return ((InternalEList<?>)getOwnedStatements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - return getOwnedStatements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - getOwnedStatements().clear(); - getOwnedStatements().addAll((Collection<? extends CGValuedElement>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - getOwnedStatements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CGValuedElementImpl.CG_VALUED_ELEMENT_FEATURE_COUNT + 0: - return ownedStatements != null && !ownedStatements.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * {@inheritDoc} - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public <R> R accept(@NonNull CGModelVisitor<R> visitor) { - if (visitor instanceof QVTiCGModelVisitor) { - return (R) ((QVTiCGModelVisitor<?>)visitor).visitCGSequence(this); - } - else { - return super.accept(visitor); - } - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public @Nullable AbstractPlace getPlace(@NonNull Map<@Nullable CGElement, @NonNull AbstractPlace> element2place) { - return SequencePlaces.createSequencePlaces(element2place, this); - } - - /** - * {@inheritDoc} - * @generated - */ - @Override - public @Nullable Boolean isEquivalentToInternal(@NonNull CGValuedElement thatValue) { - if (this == thatValue) { - return Boolean.TRUE; - } - else { - return Boolean.FALSE; - } - } - -} //CGSequenceImpl 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 49674f830..a48252814 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 @@ -16,25 +16,15 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; import org.eclipse.jdt.annotation.NonNull; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; +import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGEcoreContainerAssignmentImpl; +import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGEcorePropertyAssignmentImpl; +import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGPropertyAssignmentImpl; +import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGSequenceImpl; import org.eclipse.qvtd.codegen.qvticgmodel.*; -import org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreRealizedVariable; -import org.eclipse.qvtd.codegen.qvticgmodel.CGFunction; -import org.eclipse.qvtd.codegen.qvticgmodel.CGFunctionCallExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGFunctionParameter; -import org.eclipse.qvtd.codegen.qvticgmodel.CGGuardVariable; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCall; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCallBinding; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyCallExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; -import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; -import org.eclipse.qvtd.codegen.qvticgmodel.CGTypedModel; -import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelFactory; -import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; /** * <!-- begin-user-doc --> 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 0503d306f..f9b00814b 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 @@ -15,7 +15,11 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGClassImpl; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGOperationCallExpImpl; @@ -24,8 +28,6 @@ import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGValuedElementImpl; import org.eclipse.ocl.examples.codegen.cgmodel.impl.CGVariableImpl; 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; import org.eclipse.qvtd.codegen.qvticgmodel.CGFunctionCallExp; @@ -38,10 +40,8 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyCallExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculateExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculatePart; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; 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 43f47a4a1..a716d8c90 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,12 +50,12 @@ public abstract class AbstractExtendingQVTiCGModelVisitor<R, C> } @Override - public R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public R visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public R visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -120,7 +120,7 @@ public abstract class AbstractExtendingQVTiCGModelVisitor<R, C> } @Override - public R visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public R visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -135,7 +135,7 @@ public abstract class AbstractExtendingQVTiCGModelVisitor<R, C> } @Override - public R visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public R visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(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 90ab38102..5559e143f 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,12 +54,12 @@ public abstract class AbstractNonNullExtendingQVTiCGModelVisitor<R, C> } @Override - public @NonNull R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull R visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @NonNull R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull R visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -124,7 +124,7 @@ public abstract class AbstractNonNullExtendingQVTiCGModelVisitor<R, C> } @Override - public @NonNull R visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @NonNull R visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -139,7 +139,7 @@ public abstract class AbstractNonNullExtendingQVTiCGModelVisitor<R, C> } @Override - public @NonNull R visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull R visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(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 ffc1fe13c..28d4918f7 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,12 +50,12 @@ public abstract class AbstractNullQVTiCGModelVisitor<@Nullable R, C> } @Override - public R visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public R visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return null; } @Override - public R visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public R visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return null; } @@ -120,7 +120,7 @@ public abstract class AbstractNullQVTiCGModelVisitor<@Nullable R, C> } @Override - public R visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public R visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return null; } @@ -135,7 +135,7 @@ public abstract class AbstractNullQVTiCGModelVisitor<@Nullable R, C> } @Override - public R visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public R visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return null; } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiAnalysisVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiAnalysisVisitor.java index f22d6dcea..cc9a059f8 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiAnalysisVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiAnalysisVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiAnalysisVisitor } @Override - public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiAnalysisVisitor } @Override - public @Nullable Object visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @Nullable Object visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiAnalysisVisitor } @Override - public @Nullable Object visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @Nullable Object visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiBoxingAnalysisVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiBoxingAnalysisVisitor.java index 4aa80f5ce..17ab27471 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiBoxingAnalysisVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiBoxingAnalysisVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiBoxingAnalysisVisitor } @Override - public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiBoxingAnalysisVisitor } @Override - public @Nullable Object visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @Nullable Object visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiBoxingAnalysisVisitor } @Override - public @Nullable Object visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @Nullable Object visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaNameVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaNameVisitor.java index 4f2b3d200..e12284b1b 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaNameVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaNameVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiCG2JavaNameVisitor } @Override - public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiCG2JavaNameVisitor } @Override - public @Nullable Object visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @Nullable Object visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiCG2JavaNameVisitor } @Override - public @Nullable Object visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @Nullable Object visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaPreVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaPreVisitor.java index 5720f00ac..062dbb7d8 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaPreVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaPreVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiCG2JavaPreVisitor } @Override - public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @Nullable Object visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @Nullable Object visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiCG2JavaPreVisitor } @Override - public @Nullable Object visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @Nullable Object visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiCG2JavaPreVisitor } @Override - public @Nullable Object visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @Nullable Object visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaVisitor.java index 8b71ab0c0..7bbdd52ba 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2JavaVisitor.java @@ -52,12 +52,12 @@ public abstract class AbstractQVTiCG2JavaVisitor } @Override - public @NonNull Boolean visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull Boolean visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @NonNull Boolean visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull Boolean visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -122,7 +122,7 @@ public abstract class AbstractQVTiCG2JavaVisitor } @Override - public @NonNull Boolean visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @NonNull Boolean visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -137,7 +137,7 @@ public abstract class AbstractQVTiCG2JavaVisitor } @Override - public @NonNull Boolean visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull Boolean visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2StringVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2StringVisitor.java index 4b4b3288c..9bab17468 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2StringVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCG2StringVisitor.java @@ -48,12 +48,12 @@ public abstract class AbstractQVTiCG2StringVisitor } @Override - public @Nullable String visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @Nullable String visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @Nullable String visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @Nullable String visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -118,7 +118,7 @@ public abstract class AbstractQVTiCG2StringVisitor } @Override - public @Nullable String visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @Nullable String visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -133,7 +133,7 @@ public abstract class AbstractQVTiCG2StringVisitor } @Override - public @Nullable String visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @Nullable String visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCGNameHelperVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCGNameHelperVisitor.java index 2827fb8a8..1ee2e4f48 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCGNameHelperVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiCGNameHelperVisitor.java @@ -48,12 +48,12 @@ public abstract class AbstractQVTiCGNameHelperVisitor } @Override - public @NonNull String visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull String visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @NonNull String visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull String visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -118,7 +118,7 @@ public abstract class AbstractQVTiCGNameHelperVisitor } @Override - public @NonNull String visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @NonNull String visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -133,7 +133,7 @@ public abstract class AbstractQVTiCGNameHelperVisitor } @Override - public @NonNull String visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull String visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiDependencyVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiDependencyVisitor.java index 3800b6688..f832505cd 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiDependencyVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiDependencyVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiDependencyVisitor } @Override - public Object visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public Object visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public Object visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public Object visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiDependencyVisitor } @Override - public Object visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public Object visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiDependencyVisitor } @Override - public Object visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public Object visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiFieldingAnalysisVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiFieldingAnalysisVisitor.java index e62e4d1c8..c56521ea7 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiFieldingAnalysisVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiFieldingAnalysisVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiFieldingAnalysisVisitor } @Override - public @NonNull ReturnState visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull ReturnState visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @NonNull ReturnState visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull ReturnState visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiFieldingAnalysisVisitor } @Override - public @NonNull ReturnState visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @NonNull ReturnState visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiFieldingAnalysisVisitor } @Override - public @NonNull ReturnState visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull ReturnState visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } diff --git a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiReferencesVisitor.java b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiReferencesVisitor.java index aee0ec9e6..161181462 100644 --- a/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiReferencesVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/emf-gen/org/eclipse/qvtd/codegen/qvticgmodel/util/AbstractQVTiReferencesVisitor.java @@ -49,12 +49,12 @@ public abstract class AbstractQVTiReferencesVisitor } @Override - public @NonNull List<@Nullable Object> visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull List<@Nullable Object> visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return visitCGPropertyAssignment(object); } @Override - public @NonNull List<@Nullable Object> visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull List<@Nullable Object> visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return visitCGPropertyAssignment(object); } @@ -119,7 +119,7 @@ public abstract class AbstractQVTiReferencesVisitor } @Override - public @NonNull List<@Nullable Object> visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object) { + public @NonNull List<@Nullable Object> visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object) { return visitCGValuedElement(object); } @@ -134,7 +134,7 @@ public abstract class AbstractQVTiReferencesVisitor } @Override - public @NonNull List<@Nullable Object> visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull List<@Nullable Object> visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return visitCGValuedElement(object); } 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 2adfd332c..82ee5592f 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 @@ -18,6 +18,8 @@ import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGCallable; import org.eclipse.ocl.examples.codegen.cgmodel.CGClass; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGIterationCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement; @@ -26,6 +28,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGOperationCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGOppositePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGParameter; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGSourcedCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; @@ -293,13 +297,13 @@ 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>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.ocl.examples.codegen.cgmodel.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 + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment * @generated */ public Adapter createCGEcoreContainerAssignmentAdapter() { @@ -307,13 +311,13 @@ public class QVTiCGModelAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment <em>CG Ecore Property Assignment</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment <em>CG Ecore Property 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.CGEcorePropertyAssignment + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment * @generated */ public Adapter createCGEcorePropertyAssignmentAdapter() { @@ -391,13 +395,13 @@ public class QVTiCGModelAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment <em>CG Property Assignment</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment <em>CG Property 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.CGPropertyAssignment + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment * @generated */ public Adapter createCGPropertyAssignmentAdapter() { @@ -559,13 +563,13 @@ public class QVTiCGModelAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGSequence <em>CG Sequence</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGSequence <em>CG Sequence</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.CGSequence + * @see org.eclipse.ocl.examples.codegen.cgmodel.CGSequence * @generated */ public Adapter createCGSequenceAdapter() { 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 f81ffbe5c..11f89e2f0 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 @@ -17,6 +17,8 @@ import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGCallable; import org.eclipse.ocl.examples.codegen.cgmodel.CGClass; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGIterationCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement; @@ -25,6 +27,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGOperationCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGOppositePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGParameter; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGSourcedCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; 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 84a3384c8..1f92388f9 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 @@ -26,8 +26,8 @@ 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 visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object); + R visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object); R visitCGEcoreRealizedVariable(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreRealizedVariable object); R visitCGFunction(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGFunction object); R visitCGFunctionCallExp(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGFunctionCallExp object); @@ -40,10 +40,10 @@ public interface QVTiCGModelVisitor<R> extends org.eclipse.ocl.examples.codegen. R visitCGMappingLoop(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGMappingLoop object); R visitCGMiddlePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGMiddlePropertyAssignment object); R visitCGMiddlePropertyCallExp(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGMiddlePropertyCallExp object); - R visitCGPropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGPropertyAssignment object); + R visitCGPropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment object); R visitCGRealizedVariable(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGRealizedVariable object); R visitCGRealizedVariablePart(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGRealizedVariablePart object); - R visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object); + R visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object); R visitCGSpeculateExp(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSpeculateExp object); R visitCGSpeculatePart(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSpeculatePart object); R visitCGTransformation(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGTransformation object); diff --git a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore index 74127c8f7..abd8638b7 100644 --- a/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore +++ b/plugins/org.eclipse.qvtd.codegen/model/qvticgmodel.ecore @@ -18,16 +18,6 @@ eType="#//CGMapping" resolveProxies="false" eOpposite="#//CGMapping/ownedConnectionAssignments"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="CGConnectionVariable" eSuperTypes="#//CGGuardVariable"/> - <eClassifiers xsi:type="ecore:EClass" name="CGEcoreContainerAssignment" eSuperTypes="#//CGPropertyAssignment"> - <eStructuralFeatures xsi:type="ecore:EReference" name="eStructuralFeature" lowerBound="1" - eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature" - resolveProxies="false"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="CGEcorePropertyAssignment" eSuperTypes="#//CGPropertyAssignment"> - <eStructuralFeatures xsi:type="ecore:EReference" name="eStructuralFeature" lowerBound="1" - eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature" - resolveProxies="false"/> - </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="CGEcoreRealizedVariable" eSuperTypes="#//CGRealizedVariable"> <eStructuralFeatures xsi:type="ecore:EReference" name="eClassifier" lowerBound="1" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClassifier" resolveProxies="false"/> @@ -95,21 +85,8 @@ containment="true" resolveProxies="false"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="CGMappingLoop" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGIterationCallExp"/> - <eClassifiers xsi:type="ecore:EClass" name="CGMiddlePropertyAssignment" eSuperTypes="#//CGEcorePropertyAssignment"/> + <eClassifiers xsi:type="ecore:EClass" name="CGMiddlePropertyAssignment" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGEcorePropertyAssignment"/> <eClassifiers xsi:type="ecore:EClass" name="CGMiddlePropertyCallExp" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGOppositePropertyCallExp"/> - <eClassifiers xsi:type="ecore:EClass" name="CGPropertyAssignment" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement"> - <eStructuralFeatures xsi:type="ecore:EReference" name="referredProperty" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGProperty" - resolveProxies="false"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="ownedInitValue" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement" - containment="true" resolveProxies="false"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="ownedSlotValue" lowerBound="1" - eType="ecore:EClass ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement" - containment="true" resolveProxies="false"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="asProperty" lowerBound="1" - eType="ecore:EDataType ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//Property"/> - </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="CGRealizedVariable" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGVariable"> <eStructuralFeatures xsi:type="ecore:EReference" name="executorType" lowerBound="1" eType="ecore:EClass ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGExecutorType" @@ -139,11 +116,6 @@ </eAnnotations> </eStructuralFeatures> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="CGSequence" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement"> - <eStructuralFeatures xsi:type="ecore:EReference" name="ownedStatements" upperBound="-1" - eType="ecore:EClass ../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement" - containment="true" resolveProxies="false"/> - </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="CGSpeculateExp" eSuperTypes="../../org.eclipse.ocl.examples.codegen/model/cgmodel.ecore#//CGValuedElement"> <eStructuralFeatures xsi:type="ecore:EReference" name="parts" lowerBound="1" upperBound="-1" eType="#//CGSpeculatePart" containment="true" resolveProxies="false"/> diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAnalyzer.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAnalyzer.java index bec1fa790..ed9522ba2 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAnalyzer.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAnalyzer.java @@ -28,6 +28,8 @@ import org.eclipse.ocl.examples.codegen.analyzer.CodeGenAnalyzer; import org.eclipse.ocl.examples.codegen.cgmodel.CGAccumulator; import org.eclipse.ocl.examples.codegen.cgmodel.CGCastExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGClass; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGExecutorPropertyCallExp; @@ -42,7 +44,9 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGModelFactory; import org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyCallExp; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGTypeId; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGVariable; @@ -76,8 +80,6 @@ import org.eclipse.qvtd.codegen.qvti.calling.RuleCacheClassCallingConvention; import org.eclipse.qvtd.codegen.qvti.java.QVTiCodeGenerator; import org.eclipse.qvtd.codegen.qvti.naming.QVTiExecutableNameManager; import org.eclipse.qvtd.codegen.qvti.naming.QVTiGlobalNameManager; -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; import org.eclipse.qvtd.codegen.qvticgmodel.CGFunctionParameter; @@ -87,10 +89,8 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCallBinding; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculateExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; import org.eclipse.qvtd.codegen.qvticgmodel.CGTypedModel; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java index 9e274807f..8e40ba8da 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java @@ -15,6 +15,8 @@ import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.analyzer.CodeGenAnalyzer; import org.eclipse.ocl.examples.codegen.cgmodel.CGCastExp; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGExecutorType; import org.eclipse.ocl.examples.codegen.cgmodel.CGIndexExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGModelFactory; @@ -27,8 +29,6 @@ import org.eclipse.ocl.pivot.Element; import org.eclipse.ocl.pivot.Type; import org.eclipse.ocl.pivot.TypedElement; import org.eclipse.ocl.pivot.utilities.PivotUtil; -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.CGMappingCallBinding; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiCG2StringVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiCG2StringVisitor.java index 4a8afec58..b2e6ff98d 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiCG2StringVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiCG2StringVisitor.java @@ -15,6 +15,7 @@ import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.analyzer.CG2StringVisitor; import org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.qvtd.codegen.qvticgmodel.CGConnectionAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGGuardVariable; @@ -22,7 +23,6 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCall; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCallBinding; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; import org.eclipse.qvtd.codegen.qvticgmodel.util.AbstractQVTiCG2StringVisitor; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiReferencesVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiReferencesVisitor.java index 20ce7995f..dac9cb7b9 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiReferencesVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiReferencesVisitor.java @@ -14,8 +14,8 @@ import java.util.List; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCall; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculatePart; import org.eclipse.qvtd.codegen.qvticgmodel.util.AbstractQVTiReferencesVisitor; import org.eclipse.qvtd.codegen.utilities.QVTiCGUtil; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/calling/ConstructorOperationCallingConvention.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/calling/ConstructorOperationCallingConvention.java index 10d4378c2..8b039cb0e 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/calling/ConstructorOperationCallingConvention.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/calling/ConstructorOperationCallingConvention.java @@ -35,6 +35,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGOperationCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGParameter; import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGThrowExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGTypeId; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; @@ -68,8 +70,6 @@ import org.eclipse.qvtd.codegen.qvti.analyzer.QVTiAnalyzer; import org.eclipse.qvtd.codegen.qvti.java.QVTiCodeGenerator; import org.eclipse.qvtd.codegen.qvti.naming.QVTiExecutableNameManager; import org.eclipse.qvtd.codegen.qvti.naming.QVTiGlobalNameManager; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelFactory; import org.eclipse.qvtd.codegen.utilities.QVTiCGUtil; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/cse/SequencePlaces.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/cse/SequencePlaces.java index e82148232..3b7bd34d9 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/cse/SequencePlaces.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/cse/SequencePlaces.java @@ -15,11 +15,11 @@ import java.util.Map; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.cse.AbstractPlace; import org.eclipse.ocl.examples.codegen.cse.ControlPlace; import org.eclipse.ocl.examples.codegen.cse.LocalPlace; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.utilities.QVTiCGUtil; /** diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java index 9141a9488..a5f304efc 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java @@ -38,6 +38,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGAccumulator; import org.eclipse.ocl.examples.codegen.cgmodel.CGCachedOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGClass; import org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionExp; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGElementId; @@ -51,6 +53,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGOppositePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGPackage; import org.eclipse.ocl.examples.codegen.cgmodel.CGParameter; import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGTypeId; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGVariable; @@ -93,8 +97,6 @@ import org.eclipse.qvtd.codegen.qvti.calling.ShadowDataTypeOperationCallingConve import org.eclipse.qvtd.codegen.qvti.naming.QVTiGlobalNameManager; 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; import org.eclipse.qvtd.codegen.qvticgmodel.CGGuardVariable; @@ -105,10 +107,8 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyCallExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculateExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculatePart; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCodeGenerator.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCodeGenerator.java index 89004aa7b..22307a8e8 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCodeGenerator.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCodeGenerator.java @@ -41,6 +41,7 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGModelFactory; import org.eclipse.ocl.examples.codegen.cgmodel.CGOperation; import org.eclipse.ocl.examples.codegen.cgmodel.CGPackage; import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.java.CG2JavaNameVisitor; import org.eclipse.ocl.examples.codegen.java.CG2JavaPreVisitor; @@ -92,7 +93,6 @@ import org.eclipse.qvtd.codegen.qvti.naming.QVTiExecutableNameManager; import org.eclipse.qvtd.codegen.qvti.naming.QVTiGlobalNameManager; import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; import org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage; import org.eclipse.qvtd.codegen.utilities.QVTiCGModelResourceFactory; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/naming/QVTiCGNameHelperVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/naming/QVTiCGNameHelperVisitor.java index 7bdcdc63b..61719d51b 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/naming/QVTiCGNameHelperVisitor.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/naming/QVTiCGNameHelperVisitor.java @@ -32,12 +32,12 @@ public class QVTiCGNameHelperVisitor extends AbstractQVTiCGNameHelperVisitor } @Override - public @NonNull String visitCGEcoreContainerAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcoreContainerAssignment object) { + public @NonNull String visitCGEcoreContainerAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment object) { return NameResolution.NOT_NEEDED; // "XXX" + context.getNameableHint(object); // Never used } @Override - public @NonNull String visitCGEcorePropertyAssignment(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGEcorePropertyAssignment object) { + public @NonNull String visitCGEcorePropertyAssignment(org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment object) { return NameResolution.NOT_NEEDED; // "XXX" + context.getNameableHint(object); // Never used } @@ -66,7 +66,7 @@ public class QVTiCGNameHelperVisitor extends AbstractQVTiCGNameHelperVisitor return "loop"; } @Override - public @NonNull String visitCGSequence(org.eclipse.qvtd.codegen.qvticgmodel.@NonNull CGSequence object) { + public @NonNull String visitCGSequence(org.eclipse.ocl.examples.codegen.cgmodel.CGSequence object) { return NameResolution.NOT_NEEDED; // "XXX-SEQ"; // Never used } diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiCGUtil.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiCGUtil.java index c032fe26e..681fdd964 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiCGUtil.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiCGUtil.java @@ -18,6 +18,8 @@ import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.codegen.cgmodel.CGAccumulator; import org.eclipse.ocl.examples.codegen.cgmodel.CGClass; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcoreContainerAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyAssignment; import org.eclipse.ocl.examples.codegen.cgmodel.CGEcorePropertyCallExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGExecutorProperty; @@ -25,6 +27,8 @@ import org.eclipse.ocl.examples.codegen.cgmodel.CGExecutorType; import org.eclipse.ocl.examples.codegen.cgmodel.CGLetExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGParameter; import org.eclipse.ocl.examples.codegen.cgmodel.CGProperty; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.cgmodel.CGShadowExp; import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; import org.eclipse.ocl.examples.codegen.cgmodel.CGVariableExp; @@ -35,8 +39,6 @@ import org.eclipse.ocl.pivot.Property; import org.eclipse.ocl.pivot.utilities.ClassUtil; import org.eclipse.ocl.pivot.utilities.NameUtil; import org.eclipse.qvtd.codegen.qvticgmodel.CGConnectionAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGEcoreContainerAssignment; -import org.eclipse.qvtd.codegen.qvticgmodel.CGEcorePropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGFunction; import org.eclipse.qvtd.codegen.qvticgmodel.CGGuardVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGMapping; @@ -44,10 +46,8 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCall; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCallBinding; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculatePart; import org.eclipse.qvtd.codegen.qvticgmodel.CGTransformation; import org.eclipse.qvtd.codegen.qvticgmodel.CGTypedModel; diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiEquivalenceUtil.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiEquivalenceUtil.java index a31268181..8dc6bf8bd 100644 --- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiEquivalenceUtil.java +++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/utilities/QVTiEquivalenceUtil.java @@ -12,8 +12,8 @@ package org.eclipse.qvtd.codegen.utilities; import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; /** diff --git a/releng/org.eclipse.qvtd.build/src/org/eclipse/qvtd/build/modelspecs/QVTdCGValuedElementModelSpec.java b/releng/org.eclipse.qvtd.build/src/org/eclipse/qvtd/build/modelspecs/QVTdCGValuedElementModelSpec.java index 27214d611..3f5ed6fca 100644 --- a/releng/org.eclipse.qvtd.build/src/org/eclipse/qvtd/build/modelspecs/QVTdCGValuedElementModelSpec.java +++ b/releng/org.eclipse.qvtd.build/src/org/eclipse/qvtd/build/modelspecs/QVTdCGValuedElementModelSpec.java @@ -15,6 +15,8 @@ import org.eclipse.jdt.annotation.NonNull; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.examples.build.modelspecs.CGValuedElementModelSpec; import org.eclipse.ocl.examples.codegen.cgmodel.CGInvalid; +import org.eclipse.ocl.examples.codegen.cgmodel.CGPropertyAssignment; +import org.eclipse.ocl.examples.codegen.cgmodel.CGSequence; import org.eclipse.ocl.examples.codegen.java.ImportUtils; import org.eclipse.qvtd.codegen.qvti.cse.MappingExpPlaces; import org.eclipse.qvtd.codegen.qvti.cse.SequencePlaces; @@ -31,10 +33,8 @@ import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingCallBinding; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGMappingLoop; import org.eclipse.qvtd.codegen.qvticgmodel.CGMiddlePropertyCallExp; -import org.eclipse.qvtd.codegen.qvticgmodel.CGPropertyAssignment; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariable; import org.eclipse.qvtd.codegen.qvticgmodel.CGRealizedVariablePart; -import org.eclipse.qvtd.codegen.qvticgmodel.CGSequence; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculateExp; import org.eclipse.qvtd.codegen.qvticgmodel.CGSpeculatePart; import org.eclipse.qvtd.codegen.qvticgmodel.CGTypedModel; |