Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/Alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/InstanceInitializationExpressionImpl.java')
-rw-r--r--sandbox/Alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/InstanceInitializationExpressionImpl.java193
1 files changed, 0 insertions, 193 deletions
diff --git a/sandbox/Alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/InstanceInitializationExpressionImpl.java b/sandbox/Alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/InstanceInitializationExpressionImpl.java
deleted file mode 100644
index 0ecf95e9061..00000000000
--- a/sandbox/Alf/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/alf/impl/InstanceInitializationExpressionImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.alf.alf.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.alf.alf.AlfPackage;
-import org.eclipse.papyrus.alf.alf.InstanceInitializationExpression;
-import org.eclipse.papyrus.alf.alf.Tuple;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Instance Initialization Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.alf.alf.impl.InstanceInitializationExpressionImpl#getTuple <em>Tuple</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InstanceInitializationExpressionImpl extends InitializationExpressionImpl implements InstanceInitializationExpression
-{
- /**
- * The cached value of the '{@link #getTuple() <em>Tuple</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTuple()
- * @generated
- * @ordered
- */
- protected Tuple tuple;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InstanceInitializationExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return AlfPackage.eINSTANCE.getInstanceInitializationExpression();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Tuple getTuple()
- {
- return tuple;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTuple(Tuple newTuple, NotificationChain msgs)
- {
- Tuple oldTuple = tuple;
- tuple = newTuple;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE, oldTuple, newTuple);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTuple(Tuple newTuple)
- {
- if (newTuple != tuple)
- {
- NotificationChain msgs = null;
- if (tuple != null)
- msgs = ((InternalEObject)tuple).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE, null, msgs);
- if (newTuple != null)
- msgs = ((InternalEObject)newTuple).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE, null, msgs);
- msgs = basicSetTuple(newTuple, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE, newTuple, newTuple));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE:
- return basicSetTuple(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 AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE:
- return getTuple();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE:
- setTuple((Tuple)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE:
- setTuple((Tuple)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.INSTANCE_INITIALIZATION_EXPRESSION__TUPLE:
- return tuple != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //InstanceInitializationExpressionImpl

Back to the top