Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java')
-rw-r--r--deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java230
1 files changed, 0 insertions, 230 deletions
diff --git a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java b/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java
deleted file mode 100644
index 54a937b6dbb..00000000000
--- a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/DataEventImpl.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.DataEvent;
-import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage;
-
-import org.eclipse.uml2.uml.AnyReceiveEvent;
-import org.eclipse.uml2.uml.Classifier;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Data Event</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.DataEventImpl#getBase_AnyReceiveEvent <em>Base Any Receive Event</em>}</li>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.DataEventImpl#getClassifier <em>Classifier</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DataEventImpl extends EObjectImpl implements DataEvent {
- /**
- * The cached value of the '{@link #getBase_AnyReceiveEvent() <em>Base Any Receive Event</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBase_AnyReceiveEvent()
- * @generated
- * @ordered
- */
- protected AnyReceiveEvent base_AnyReceiveEvent;
-
- /**
- * The cached value of the '{@link #getClassifier() <em>Classifier</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getClassifier()
- * @generated
- * @ordered
- */
- protected Classifier classifier;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DataEventImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return GCMPackage.Literals.DATA_EVENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyReceiveEvent getBase_AnyReceiveEvent() {
- if (base_AnyReceiveEvent != null && base_AnyReceiveEvent.eIsProxy()) {
- InternalEObject oldBase_AnyReceiveEvent = (InternalEObject)base_AnyReceiveEvent;
- base_AnyReceiveEvent = (AnyReceiveEvent)eResolveProxy(oldBase_AnyReceiveEvent);
- if (base_AnyReceiveEvent != oldBase_AnyReceiveEvent) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT, oldBase_AnyReceiveEvent, base_AnyReceiveEvent));
- }
- }
- return base_AnyReceiveEvent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AnyReceiveEvent basicGetBase_AnyReceiveEvent() {
- return base_AnyReceiveEvent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBase_AnyReceiveEvent(AnyReceiveEvent newBase_AnyReceiveEvent) {
- AnyReceiveEvent oldBase_AnyReceiveEvent = base_AnyReceiveEvent;
- base_AnyReceiveEvent = newBase_AnyReceiveEvent;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT, oldBase_AnyReceiveEvent, base_AnyReceiveEvent));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Classifier getClassifier() {
- if (classifier != null && classifier.eIsProxy()) {
- InternalEObject oldClassifier = (InternalEObject)classifier;
- classifier = (Classifier)eResolveProxy(oldClassifier);
- if (classifier != oldClassifier) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, GCMPackage.DATA_EVENT__CLASSIFIER, oldClassifier, classifier));
- }
- }
- return classifier;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Classifier basicGetClassifier() {
- return classifier;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setClassifier(Classifier newClassifier) {
- Classifier oldClassifier = classifier;
- classifier = newClassifier;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GCMPackage.DATA_EVENT__CLASSIFIER, oldClassifier, classifier));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT:
- if (resolve) return getBase_AnyReceiveEvent();
- return basicGetBase_AnyReceiveEvent();
- case GCMPackage.DATA_EVENT__CLASSIFIER:
- if (resolve) return getClassifier();
- return basicGetClassifier();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT:
- setBase_AnyReceiveEvent((AnyReceiveEvent)newValue);
- return;
- case GCMPackage.DATA_EVENT__CLASSIFIER:
- setClassifier((Classifier)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT:
- setBase_AnyReceiveEvent((AnyReceiveEvent)null);
- return;
- case GCMPackage.DATA_EVENT__CLASSIFIER:
- setClassifier((Classifier)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case GCMPackage.DATA_EVENT__BASE_ANY_RECEIVE_EVENT:
- return base_AnyReceiveEvent != null;
- case GCMPackage.DATA_EVENT__CLASSIFIER:
- return classifier != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DataEventImpl

Back to the top