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_AnalysisModel/GQAM/impl/GaEventTraceImpl.java')
-rw-r--r--deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java345
1 files changed, 0 insertions, 345 deletions
diff --git a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java b/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java
deleted file mode 100644
index 774f473e6d2..00000000000
--- a/deprecated/deprecated-plugins/marte.deprecated/marte/org.eclipse.papyrus.marte.static.profile/src/org/eclipse/papyrus/MARTE/MARTE_AnalysisModel/GQAM/impl/GaEventTraceImpl.java
+++ /dev/null
@@ -1,345 +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_AnalysisModel.GQAM.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_AnalysisModel.GQAM.GQAMPackage;
-import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaEventTrace;
-
-import org.eclipse.uml2.uml.NamedElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Ga Event Trace</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.impl.GaEventTraceImpl#getContent <em>Content</em>}</li>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.impl.GaEventTraceImpl#getFormat <em>Format</em>}</li>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.impl.GaEventTraceImpl#getLocation <em>Location</em>}</li>
- * <li>{@link org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.impl.GaEventTraceImpl#getBase_NamedElement <em>Base Named Element</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class GaEventTraceImpl extends EObjectImpl implements GaEventTrace {
- /**
- * The default value of the '{@link #getContent() <em>Content</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContent()
- * @generated
- * @ordered
- */
- protected static final String CONTENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getContent() <em>Content</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContent()
- * @generated
- * @ordered
- */
- protected String content = CONTENT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFormat() <em>Format</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormat()
- * @generated
- * @ordered
- */
- protected static final String FORMAT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFormat() <em>Format</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormat()
- * @generated
- * @ordered
- */
- protected String format = FORMAT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected String location = LOCATION_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBase_NamedElement()
- * @generated
- * @ordered
- */
- protected NamedElement base_NamedElement;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected GaEventTraceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return GQAMPackage.Literals.GA_EVENT_TRACE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getContent() {
- return content;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setContent(String newContent) {
- String oldContent = content;
- content = newContent;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GQAMPackage.GA_EVENT_TRACE__CONTENT, oldContent, content));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getFormat() {
- return format;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFormat(String newFormat) {
- String oldFormat = format;
- format = newFormat;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GQAMPackage.GA_EVENT_TRACE__FORMAT, oldFormat, format));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocation(String newLocation) {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GQAMPackage.GA_EVENT_TRACE__LOCATION, oldLocation, location));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NamedElement getBase_NamedElement() {
- if (base_NamedElement != null && base_NamedElement.eIsProxy()) {
- InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement;
- base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement);
- if (base_NamedElement != oldBase_NamedElement) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
- }
- }
- return base_NamedElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NamedElement basicGetBase_NamedElement() {
- return base_NamedElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBase_NamedElement(NamedElement newBase_NamedElement) {
- NamedElement oldBase_NamedElement = base_NamedElement;
- base_NamedElement = newBase_NamedElement;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case GQAMPackage.GA_EVENT_TRACE__CONTENT:
- return getContent();
- case GQAMPackage.GA_EVENT_TRACE__FORMAT:
- return getFormat();
- case GQAMPackage.GA_EVENT_TRACE__LOCATION:
- return getLocation();
- case GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT:
- if (resolve) return getBase_NamedElement();
- return basicGetBase_NamedElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case GQAMPackage.GA_EVENT_TRACE__CONTENT:
- setContent((String)newValue);
- return;
- case GQAMPackage.GA_EVENT_TRACE__FORMAT:
- setFormat((String)newValue);
- return;
- case GQAMPackage.GA_EVENT_TRACE__LOCATION:
- setLocation((String)newValue);
- return;
- case GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case GQAMPackage.GA_EVENT_TRACE__CONTENT:
- setContent(CONTENT_EDEFAULT);
- return;
- case GQAMPackage.GA_EVENT_TRACE__FORMAT:
- setFormat(FORMAT_EDEFAULT);
- return;
- case GQAMPackage.GA_EVENT_TRACE__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT:
- setBase_NamedElement((NamedElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case GQAMPackage.GA_EVENT_TRACE__CONTENT:
- return CONTENT_EDEFAULT == null ? content != null : !CONTENT_EDEFAULT.equals(content);
- case GQAMPackage.GA_EVENT_TRACE__FORMAT:
- return FORMAT_EDEFAULT == null ? format != null : !FORMAT_EDEFAULT.equals(format);
- case GQAMPackage.GA_EVENT_TRACE__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case GQAMPackage.GA_EVENT_TRACE__BASE_NAMED_ELEMENT:
- return base_NamedElement != 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(" (content: ");
- result.append(content);
- result.append(", format: ");
- result.append(format);
- result.append(", location: ");
- result.append(location);
- result.append(')');
- return result.toString();
- }
-
-} //GaEventTraceImpl

Back to the top