Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-09-10 07:55:09 +0000
committerEd Willink2016-09-19 11:18:27 +0000
commit60da8ec80d08baa820d806ad77e17142cb191bed (patch)
treefcc8e6cfc132d9c6a489f4340fe2894f95941d50
parent5f9fcb3c7626e0e89ed142bb914bcd5fe1e246fe (diff)
downloadorg.eclipse.qvtd-60da8ec80d08baa820d806ad77e17142cb191bed.tar.gz
org.eclipse.qvtd-60da8ec80d08baa820d806ad77e17142cb191bed.tar.xz
org.eclipse.qvtd-60da8ec80d08baa820d806ad77e17142cb191bed.zip
[500369] Regenerate CS
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java73
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java94
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java166
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java48
4 files changed, 11 insertions, 370 deletions
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
index b24ca8263..e0181c1c1 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/MappingCS.java
@@ -13,7 +13,6 @@ package org.eclipse.qvtd.xtext.qvtimperativecs;
import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.xtext.basecs.NamedElementCS;
import org.eclipse.ocl.xtext.basecs.PathNameCS;
-import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
/**
* <!-- begin-user-doc -->
@@ -24,13 +23,10 @@ import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
* The following features are supported:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#isIsDefault <em>Is Default</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedDomains <em>Owned Domains</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedInPathName <em>Owned In Path Name</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedKeyExpression <em>Owned Key Expression</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedStatements <em>Owned Statements</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedMiddle <em>Owned Middle</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedUsesPathNames <em>Owned Uses Path Names</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS()
@@ -39,33 +35,6 @@ import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
*/
public interface MappingCS extends NamedElementCS {
/**
- * Returns the value of the '<em><b>Is Default</b></em>' attribute.
- * The default value is <code>"false"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Default</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Default</em>' attribute.
- * @see #setIsDefault(boolean)
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS_IsDefault()
- * @model default="false"
- * @generated
- */
- boolean isIsDefault();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#isIsDefault <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Default</em>' attribute.
- * @see #isIsDefault()
- * @generated
- */
- void setIsDefault(boolean value);
-
- /**
* Returns the value of the '<em><b>Owned Domains</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.xtext.qvtimperativecs.DomainCS}.
* <!-- begin-user-doc -->
@@ -108,32 +77,6 @@ public interface MappingCS extends NamedElementCS {
void setOwnedInPathName(PathNameCS value);
/**
- * Returns the value of the '<em><b>Owned Key Expression</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Owned Key Expression</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Owned Key Expression</em>' containment reference.
- * @see #setOwnedKeyExpression(ExpCS)
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS_OwnedKeyExpression()
- * @model containment="true"
- * @generated
- */
- ExpCS getOwnedKeyExpression();
-
- /**
- * Sets the value of the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedKeyExpression <em>Owned Key Expression</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Owned Key Expression</em>' containment reference.
- * @see #getOwnedKeyExpression()
- * @generated
- */
- void setOwnedKeyExpression(ExpCS value);
-
- /**
* Returns the value of the '<em><b>Owned Statements</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.xtext.qvtimperativecs.StatementCS}.
* <!-- begin-user-doc -->
@@ -175,20 +118,4 @@ public interface MappingCS extends NamedElementCS {
*/
void setOwnedMiddle(DomainCS value);
- /**
- * Returns the value of the '<em><b>Owned Uses Path Names</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.ocl.xtext.basecs.PathNameCS}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Owned Uses Path Names</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 Uses Path Names</em>' containment reference list.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage#getMappingCS_OwnedUsesPathNames()
- * @model containment="true"
- * @generated
- */
- EList<PathNameCS> getOwnedUsesPathNames();
-
} // MappingCS
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
index b5c3c4f7c..ebf343ba1 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/QVTimperativeCSPackage.java
@@ -964,22 +964,13 @@ public interface QVTimperativeCSPackage extends EPackage {
int MAPPING_CS__NAME = BaseCSPackage.NAMED_ELEMENT_CS__NAME;
/**
- * The feature id for the '<em><b>Is Default</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_CS__IS_DEFAULT = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 0;
-
- /**
* The feature id for the '<em><b>Owned Domains</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MAPPING_CS__OWNED_DOMAINS = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 1;
+ int MAPPING_CS__OWNED_DOMAINS = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Owned In Path Name</b></em>' containment reference.
@@ -988,16 +979,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_CS__OWNED_IN_PATH_NAME = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Owned Key Expression</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_CS__OWNED_KEY_EXPRESSION = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 3;
+ int MAPPING_CS__OWNED_IN_PATH_NAME = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Owned Statements</b></em>' containment reference list.
@@ -1006,7 +988,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_CS__OWNED_STATEMENTS = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 4;
+ int MAPPING_CS__OWNED_STATEMENTS = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Owned Middle</b></em>' containment reference.
@@ -1015,16 +997,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_CS__OWNED_MIDDLE = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>Owned Uses Path Names</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MAPPING_CS__OWNED_USES_PATH_NAMES = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 6;
+ int MAPPING_CS__OWNED_MIDDLE = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Mapping CS</em>' class.
@@ -1033,7 +1006,7 @@ public interface QVTimperativeCSPackage extends EPackage {
* @generated
* @ordered
*/
- int MAPPING_CS_FEATURE_COUNT = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 7;
+ int MAPPING_CS_FEATURE_COUNT = BaseCSPackage.NAMED_ELEMENT_CS_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Csi</b></em>' attribute.
@@ -2732,17 +2705,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EClass getMappingCS();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#isIsDefault <em>Is Default</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Default</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#isIsDefault()
- * @see #getMappingCS()
- * @generated
- */
- EAttribute getMappingCS_IsDefault();
-
- /**
* Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedDomains <em>Owned Domains</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2765,17 +2727,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference getMappingCS_OwnedInPathName();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedKeyExpression <em>Owned Key Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Owned Key Expression</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedKeyExpression()
- * @see #getMappingCS()
- * @generated
- */
- EReference getMappingCS_OwnedKeyExpression();
-
- /**
* Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedStatements <em>Owned Statements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2798,17 +2749,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference getMappingCS_OwnedMiddle();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedUsesPathNames <em>Owned Uses Path Names</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Owned Uses Path Names</em>'.
- * @see org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS#getOwnedUsesPathNames()
- * @see #getMappingCS()
- * @generated
- */
- EReference getMappingCS_OwnedUsesPathNames();
-
- /**
* Returns the meta object for class '{@link org.eclipse.qvtd.xtext.qvtimperativecs.MappingCallBindingCS <em>Mapping Call Binding CS</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3506,14 +3446,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EClass MAPPING_CS = eINSTANCE.getMappingCS();
/**
- * The meta object literal for the '<em><b>Is Default</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MAPPING_CS__IS_DEFAULT = eINSTANCE.getMappingCS_IsDefault();
-
- /**
* The meta object literal for the '<em><b>Owned Domains</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3530,14 +3462,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference MAPPING_CS__OWNED_IN_PATH_NAME = eINSTANCE.getMappingCS_OwnedInPathName();
/**
- * The meta object literal for the '<em><b>Owned Key Expression</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MAPPING_CS__OWNED_KEY_EXPRESSION = eINSTANCE.getMappingCS_OwnedKeyExpression();
-
- /**
* The meta object literal for the '<em><b>Owned Statements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3554,14 +3478,6 @@ public interface QVTimperativeCSPackage extends EPackage {
EReference MAPPING_CS__OWNED_MIDDLE = eINSTANCE.getMappingCS_OwnedMiddle();
/**
- * The meta object literal for the '<em><b>Owned Uses Path Names</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MAPPING_CS__OWNED_USES_PATH_NAMES = eINSTANCE.getMappingCS_OwnedUsesPathNames();
-
- /**
* The meta object literal for the '{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCallBindingCSImpl <em>Mapping Call Binding CS</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
index b9064d4bf..53032e6b6 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/MappingCSImpl.java
@@ -23,7 +23,6 @@ import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.xtext.basecs.PathNameCS;
import org.eclipse.ocl.xtext.basecs.impl.NamedElementCSImpl;
import org.eclipse.ocl.xtext.basecs.util.BaseCSVisitor;
-import org.eclipse.ocl.xtext.essentialoclcs.ExpCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.DomainCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.MappingCS;
import org.eclipse.qvtd.xtext.qvtimperativecs.QVTimperativeCSPackage;
@@ -38,37 +37,16 @@ import org.eclipse.qvtd.xtext.qvtimperativecs.util.QVTimperativeCSVisitor;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#isIsDefault <em>Is Default</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedDomains <em>Owned Domains</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedInPathName <em>Owned In Path Name</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedKeyExpression <em>Owned Key Expression</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedStatements <em>Owned Statements</em>}</li>
* <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedMiddle <em>Owned Middle</em>}</li>
- * <li>{@link org.eclipse.qvtd.xtext.qvtimperativecs.impl.MappingCSImpl#getOwnedUsesPathNames <em>Owned Uses Path Names</em>}</li>
* </ul>
*
* @generated
*/
public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
/**
- * The default value of the '{@link #isIsDefault() <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsDefault()
- * @generated
- * @ordered
- */
- protected static final boolean IS_DEFAULT_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isIsDefault() <em>Is Default</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isIsDefault()
- * @generated
- * @ordered
- */
- protected boolean isDefault = IS_DEFAULT_EDEFAULT;
- /**
* The cached value of the '{@link #getOwnedDomains() <em>Owned Domains</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -87,15 +65,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
*/
protected PathNameCS ownedInPathName;
/**
- * The cached value of the '{@link #getOwnedKeyExpression() <em>Owned Key Expression</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOwnedKeyExpression()
- * @generated
- * @ordered
- */
- protected ExpCS ownedKeyExpression;
- /**
* The cached value of the '{@link #getOwnedStatements() <em>Owned Statements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -114,15 +83,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
*/
protected DomainCS ownedMiddle;
/**
- * The cached value of the '{@link #getOwnedUsesPathNames() <em>Owned Uses Path Names</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOwnedUsesPathNames()
- * @generated
- * @ordered
- */
- protected EList<PathNameCS> ownedUsesPathNames;
- /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -147,29 +107,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
* @generated
*/
@Override
- public boolean isIsDefault() {
- return isDefault;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setIsDefault(boolean newIsDefault) {
- boolean oldIsDefault = isDefault;
- isDefault = newIsDefault;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_CS__IS_DEFAULT, oldIsDefault, isDefault));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EList<DomainCS> getOwnedDomains() {
if (ownedDomains == null) {
ownedDomains = new EObjectContainmentEList<DomainCS>(DomainCS.class, this, QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS);
@@ -228,51 +165,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
* @generated
*/
@Override
- public ExpCS getOwnedKeyExpression() {
- return ownedKeyExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOwnedKeyExpression(ExpCS newOwnedKeyExpression, NotificationChain msgs) {
- ExpCS oldOwnedKeyExpression = ownedKeyExpression;
- ownedKeyExpression = newOwnedKeyExpression;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION, oldOwnedKeyExpression, newOwnedKeyExpression);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void setOwnedKeyExpression(ExpCS newOwnedKeyExpression) {
- if (newOwnedKeyExpression != ownedKeyExpression) {
- NotificationChain msgs = null;
- if (ownedKeyExpression != null)
- msgs = ((InternalEObject)ownedKeyExpression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION, null, msgs);
- if (newOwnedKeyExpression != null)
- msgs = ((InternalEObject)newOwnedKeyExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION, null, msgs);
- msgs = basicSetOwnedKeyExpression(newOwnedKeyExpression, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION, newOwnedKeyExpression, newOwnedKeyExpression));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EList<StatementCS> getOwnedStatements() {
if (ownedStatements == null) {
ownedStatements = new EObjectContainmentEList<StatementCS>(StatementCS.class, this, QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS);
@@ -331,43 +223,16 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
* @generated
*/
@Override
- public EList<PathNameCS> getOwnedUsesPathNames() {
- if (ownedUsesPathNames == null) {
- ownedUsesPathNames = new EObjectContainmentEList<PathNameCS>(PathNameCS.class, this, QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES);
- }
- return ownedUsesPathNames;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return super.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS:
return ((InternalEList<?>)getOwnedDomains()).basicRemove(otherEnd, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_IN_PATH_NAME:
return basicSetOwnedInPathName(null, msgs);
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
- return basicSetOwnedKeyExpression(null, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
return ((InternalEList<?>)getOwnedStatements()).basicRemove(otherEnd, msgs);
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return basicSetOwnedMiddle(null, msgs);
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
- return ((InternalEList<?>)getOwnedUsesPathNames()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -380,20 +245,14 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case QVTimperativeCSPackage.MAPPING_CS__IS_DEFAULT:
- return isIsDefault();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS:
return getOwnedDomains();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_IN_PATH_NAME:
return getOwnedInPathName();
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
- return getOwnedKeyExpression();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
return getOwnedStatements();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return getOwnedMiddle();
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
- return getOwnedUsesPathNames();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -407,9 +266,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case QVTimperativeCSPackage.MAPPING_CS__IS_DEFAULT:
- setIsDefault((Boolean)newValue);
- return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS:
getOwnedDomains().clear();
getOwnedDomains().addAll((Collection<? extends DomainCS>)newValue);
@@ -417,9 +273,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
case QVTimperativeCSPackage.MAPPING_CS__OWNED_IN_PATH_NAME:
setOwnedInPathName((PathNameCS)newValue);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
- setOwnedKeyExpression((ExpCS)newValue);
- return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
getOwnedStatements().clear();
getOwnedStatements().addAll((Collection<? extends StatementCS>)newValue);
@@ -427,10 +280,6 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
setOwnedMiddle((DomainCS)newValue);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
- getOwnedUsesPathNames().clear();
- getOwnedUsesPathNames().addAll((Collection<? extends PathNameCS>)newValue);
- return;
}
super.eSet(featureID, newValue);
}
@@ -443,27 +292,18 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case QVTimperativeCSPackage.MAPPING_CS__IS_DEFAULT:
- setIsDefault(IS_DEFAULT_EDEFAULT);
- return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS:
getOwnedDomains().clear();
return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_IN_PATH_NAME:
setOwnedInPathName((PathNameCS)null);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
- setOwnedKeyExpression((ExpCS)null);
- return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
getOwnedStatements().clear();
return;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
setOwnedMiddle((DomainCS)null);
return;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
- getOwnedUsesPathNames().clear();
- return;
}
super.eUnset(featureID);
}
@@ -476,20 +316,14 @@ public class MappingCSImpl extends NamedElementCSImpl implements MappingCS {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case QVTimperativeCSPackage.MAPPING_CS__IS_DEFAULT:
- return isDefault != IS_DEFAULT_EDEFAULT;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_DOMAINS:
return ownedDomains != null && !ownedDomains.isEmpty();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_IN_PATH_NAME:
return ownedInPathName != null;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_KEY_EXPRESSION:
- return ownedKeyExpression != null;
case QVTimperativeCSPackage.MAPPING_CS__OWNED_STATEMENTS:
return ownedStatements != null && !ownedStatements.isEmpty();
case QVTimperativeCSPackage.MAPPING_CS__OWNED_MIDDLE:
return ownedMiddle != null;
- case QVTimperativeCSPackage.MAPPING_CS__OWNED_USES_PATH_NAMES:
- return ownedUsesPathNames != null && !ownedUsesPathNames.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
index b7d54962d..456b11a96 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/emf-gen/org/eclipse/qvtd/xtext/qvtimperativecs/impl/QVTimperativeCSPackageImpl.java
@@ -243,7 +243,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>This method is used to initialize {@link QVTimperativeCSPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
@@ -276,7 +276,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
// Mark meta-data to indicate it can't be changed
theQVTimperativeCSPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(QVTimperativeCSPackage.eNS_URI, theQVTimperativeCSPackage);
return theQVTimperativeCSPackage;
@@ -488,18 +488,8 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
* @generated
*/
@Override
- public EAttribute getMappingCS_IsDefault() {
- return (EAttribute)mappingCSEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
public EReference getMappingCS_OwnedDomains() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(1);
+ return (EReference)mappingCSEClass.getEStructuralFeatures().get(0);
}
/**
@@ -509,17 +499,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
*/
@Override
public EReference getMappingCS_OwnedInPathName() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EReference getMappingCS_OwnedKeyExpression() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(3);
+ return (EReference)mappingCSEClass.getEStructuralFeatures().get(1);
}
/**
@@ -529,7 +509,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
*/
@Override
public EReference getMappingCS_OwnedStatements() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(4);
+ return (EReference)mappingCSEClass.getEStructuralFeatures().get(2);
}
/**
@@ -539,17 +519,7 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
*/
@Override
public EReference getMappingCS_OwnedMiddle() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EReference getMappingCS_OwnedUsesPathNames() {
- return (EReference)mappingCSEClass.getEStructuralFeatures().get(6);
+ return (EReference)mappingCSEClass.getEStructuralFeatures().get(3);
}
/**
@@ -1077,13 +1047,10 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
createEReference(guardPatternCSEClass, GUARD_PATTERN_CS__OWNED_PREDICATES);
mappingCSEClass = createEClass(MAPPING_CS);
- createEAttribute(mappingCSEClass, MAPPING_CS__IS_DEFAULT);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_DOMAINS);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_IN_PATH_NAME);
- createEReference(mappingCSEClass, MAPPING_CS__OWNED_KEY_EXPRESSION);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_STATEMENTS);
createEReference(mappingCSEClass, MAPPING_CS__OWNED_MIDDLE);
- createEReference(mappingCSEClass, MAPPING_CS__OWNED_USES_PATH_NAMES);
mappingCallBindingCSEClass = createEClass(MAPPING_CALL_BINDING_CS);
createEAttribute(mappingCallBindingCSEClass, MAPPING_CALL_BINDING_CS__IS_POLLED);
@@ -1237,13 +1204,10 @@ public class QVTimperativeCSPackageImpl extends EPackageImpl implements QVTimper
initEReference(getGuardPatternCS_OwnedPredicates(), this.getPredicateCS(), null, "ownedPredicates", null, 0, -1, GuardPatternCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingCSEClass, MappingCS.class, "MappingCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMappingCS_IsDefault(), ecorePackage.getEBoolean(), "isDefault", "false", 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedDomains(), this.getDomainCS(), null, "ownedDomains", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedInPathName(), theBaseCSPackage.getPathNameCS(), null, "ownedInPathName", null, 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMappingCS_OwnedKeyExpression(), theEssentialOCLCSPackage.getExpCS(), null, "ownedKeyExpression", null, 0, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedStatements(), this.getStatementCS(), null, "ownedStatements", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMappingCS_OwnedMiddle(), this.getDomainCS(), null, "ownedMiddle", null, 1, 1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMappingCS_OwnedUsesPathNames(), theBaseCSPackage.getPathNameCS(), null, "ownedUsesPathNames", null, 0, -1, MappingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mappingCallBindingCSEClass, MappingCallBindingCS.class, "MappingCallBindingCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMappingCallBindingCS_IsPolled(), ecorePackage.getEBoolean(), "isPolled", "false", 0, 1, MappingCallBindingCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

Back to the top