Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java')
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java181
1 files changed, 0 insertions, 181 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java
deleted file mode 100644
index 176358abba2..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_Foundations/CoreElements/impl/ModeBehaviorImpl.java
+++ /dev/null
@@ -1,181 +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_Foundations.CoreElements.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_Foundations.CoreElements.CoreElementsPackage;
-import org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.ModeBehavior;
-import org.eclipse.uml2.uml.StateMachine;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Mode Behavior</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.CoreElements.impl.ModeBehaviorImpl#getBase_StateMachine <em>Base State Machine</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ModeBehaviorImpl extends EObjectImpl implements ModeBehavior {
- /**
- * The cached value of the '{@link #getBase_StateMachine() <em>Base State Machine</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBase_StateMachine()
- * @generated
- * @ordered
- */
- protected StateMachine base_StateMachine;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ModeBehaviorImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CoreElementsPackage.Literals.MODE_BEHAVIOR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public StateMachine getBase_StateMachine() {
- if (base_StateMachine != null && base_StateMachine.eIsProxy()) {
- InternalEObject oldBase_StateMachine = (InternalEObject) base_StateMachine;
- base_StateMachine = (StateMachine) eResolveProxy(oldBase_StateMachine);
- if (base_StateMachine != oldBase_StateMachine) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE, oldBase_StateMachine, base_StateMachine));
- }
- }
- }
- return base_StateMachine;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public StateMachine basicGetBase_StateMachine() {
- return base_StateMachine;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setBase_StateMachine(StateMachine newBase_StateMachine) {
- StateMachine oldBase_StateMachine = base_StateMachine;
- base_StateMachine = newBase_StateMachine;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE, oldBase_StateMachine, base_StateMachine));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE:
- if (resolve) {
- return getBase_StateMachine();
- }
- return basicGetBase_StateMachine();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE:
- setBase_StateMachine((StateMachine) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE:
- setBase_StateMachine((StateMachine) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CoreElementsPackage.MODE_BEHAVIOR__BASE_STATE_MACHINE:
- return base_StateMachine != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // ModeBehaviorImpl

Back to the top