Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java')
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java305
1 files changed, 0 insertions, 305 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java
deleted file mode 100644
index 09cf3c2c696..00000000000
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java
+++ /dev/null
@@ -1,305 +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:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.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.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DataTypeName;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Data Type Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DataTypeNameImpl extends MinimalEObjectImpl.Container implements DataTypeName
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected QualifiedName path;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected DataType type;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DataTypeNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DATA_TYPE_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
- {
- QualifiedName oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__PATH, oldPath, newPath);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(QualifiedName newPath)
- {
- if (newPath != path)
- {
- NotificationChain msgs = null;
- if (path != null)
- msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DATA_TYPE_NAME__PATH, null, msgs);
- if (newPath != null)
- msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DATA_TYPE_NAME__PATH, null, msgs);
- msgs = basicSetPath(newPath, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__PATH, newPath, newPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataType getType()
- {
- if (type != null && type.eIsProxy())
- {
- InternalEObject oldType = (InternalEObject)type;
- type = (DataType)eResolveProxy(oldType);
- if (type != oldType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.DATA_TYPE_NAME__TYPE, oldType, type));
- }
- }
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataType basicGetType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(DataType newType)
- {
- DataType oldType = type;
- type = newType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__TYPE, oldType, type));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- return basicSetPath(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 VSLPackage.DATA_TYPE_NAME__PATH:
- return getPath();
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- if (resolve) return getType();
- return basicGetType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- setPath((QualifiedName)newValue);
- return;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- setType((DataType)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- setPath((QualifiedName)null);
- return;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- setType((DataType)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- return path != null;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- return type != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DataTypeNameImpl

Back to the top