Skip to main content
aboutsummaryrefslogtreecommitdiffstats
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/ClientServerFeatureImpl.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/ClientServerFeatureImpl.java238
1 files changed, 0 insertions, 238 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/ClientServerFeatureImpl.java b/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/ClientServerFeatureImpl.java
deleted file mode 100644
index 17065fedc60..00000000000
--- a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_DesignModel/GCM/impl/ClientServerFeatureImpl.java
+++ /dev/null
@@ -1,238 +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.ClientServerFeature;
-import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.ClientServerKind;
-import org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.GCMPackage;
-
-import org.eclipse.uml2.uml.BehavioralFeature;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Client Server Feature</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.ClientServerFeatureImpl#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_DesignModel.GCM.impl.ClientServerFeatureImpl#getBase_BehavioralFeature <em>Base Behavioral Feature</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ClientServerFeatureImpl extends EObjectImpl implements ClientServerFeature {
- /**
- * The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected static final ClientServerKind KIND_EDEFAULT = ClientServerKind.PROREQ;
-
- /**
- * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected ClientServerKind kind = KIND_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBase_BehavioralFeature() <em>Base Behavioral Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBase_BehavioralFeature()
- * @generated
- * @ordered
- */
- protected BehavioralFeature base_BehavioralFeature;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ClientServerFeatureImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return GCMPackage.Literals.CLIENT_SERVER_FEATURE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ClientServerKind getKind() {
- return kind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setKind(ClientServerKind newKind) {
- ClientServerKind oldKind = kind;
- kind = newKind == null ? KIND_EDEFAULT : newKind;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GCMPackage.CLIENT_SERVER_FEATURE__KIND, oldKind, kind));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BehavioralFeature getBase_BehavioralFeature() {
- if (base_BehavioralFeature != null && base_BehavioralFeature.eIsProxy()) {
- InternalEObject oldBase_BehavioralFeature = (InternalEObject)base_BehavioralFeature;
- base_BehavioralFeature = (BehavioralFeature)eResolveProxy(oldBase_BehavioralFeature);
- if (base_BehavioralFeature != oldBase_BehavioralFeature) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE, oldBase_BehavioralFeature, base_BehavioralFeature));
- }
- }
- return base_BehavioralFeature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BehavioralFeature basicGetBase_BehavioralFeature() {
- return base_BehavioralFeature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBase_BehavioralFeature(BehavioralFeature newBase_BehavioralFeature) {
- BehavioralFeature oldBase_BehavioralFeature = base_BehavioralFeature;
- base_BehavioralFeature = newBase_BehavioralFeature;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE, oldBase_BehavioralFeature, base_BehavioralFeature));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case GCMPackage.CLIENT_SERVER_FEATURE__KIND:
- return getKind();
- case GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE:
- if (resolve) return getBase_BehavioralFeature();
- return basicGetBase_BehavioralFeature();
- }
- 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.CLIENT_SERVER_FEATURE__KIND:
- setKind((ClientServerKind)newValue);
- return;
- case GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE:
- setBase_BehavioralFeature((BehavioralFeature)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case GCMPackage.CLIENT_SERVER_FEATURE__KIND:
- setKind(KIND_EDEFAULT);
- return;
- case GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE:
- setBase_BehavioralFeature((BehavioralFeature)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case GCMPackage.CLIENT_SERVER_FEATURE__KIND:
- return kind != KIND_EDEFAULT;
- case GCMPackage.CLIENT_SERVER_FEATURE__BASE_BEHAVIORAL_FEATURE:
- return base_BehavioralFeature != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (kind: ");
- result.append(kind);
- result.append(')');
- return result.toString();
- }
-
-} //ClientServerFeatureImpl

Back to the top