Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIClassChartImpl.java')
-rw-r--r--extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIClassChartImpl.java227
1 files changed, 227 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIClassChartImpl.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIClassChartImpl.java
new file mode 100644
index 00000000000..4a2d345a74f
--- /dev/null
+++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIClassChartImpl.java
@@ -0,0 +1,227 @@
+/**
+ * Copyright (c) 2016 CEA LIST and others.
+ *
+ * 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.migration.rhapsody.rhapsodymetamodel.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.papyrus.migration.rhapsody.rhapsodymetamodel.CGIClassChart;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.M_pModelObjectType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.M_pRootType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>CGI Class Chart</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIClassChartImpl#getM_pModelObject <em>MpModel Object</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIClassChartImpl#getM_pRoot <em>MpRoot</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class CGIClassChartImpl extends GraphicChartTypeImpl implements CGIClassChart {
+ /**
+ * The cached value of the '{@link #getM_pModelObject() <em>MpModel Object</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getM_pModelObject()
+ * @generated
+ * @ordered
+ */
+ protected M_pModelObjectType m_pModelObject;
+
+ /**
+ * The cached value of the '{@link #getM_pRoot() <em>MpRoot</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getM_pRoot()
+ * @generated
+ * @ordered
+ */
+ protected M_pRootType m_pRoot;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CGIClassChartImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLRhapsodyPackage.eINSTANCE.getCGIClassChart();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public M_pModelObjectType getM_pModelObject() {
+ if (m_pModelObject != null && m_pModelObject.eIsProxy()) {
+ InternalEObject oldM_pModelObject = (InternalEObject)m_pModelObject;
+ m_pModelObject = (M_pModelObjectType)eResolveProxy(oldM_pModelObject);
+ if (m_pModelObject != oldM_pModelObject) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT, oldM_pModelObject, m_pModelObject));
+ }
+ }
+ return m_pModelObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public M_pModelObjectType basicGetM_pModelObject() {
+ return m_pModelObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setM_pModelObject(M_pModelObjectType newM_pModelObject) {
+ M_pModelObjectType oldM_pModelObject = m_pModelObject;
+ m_pModelObject = newM_pModelObject;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT, oldM_pModelObject, m_pModelObject));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public M_pRootType getM_pRoot() {
+ if (m_pRoot != null && m_pRoot.eIsProxy()) {
+ InternalEObject oldM_pRoot = (InternalEObject)m_pRoot;
+ m_pRoot = (M_pRootType)eResolveProxy(oldM_pRoot);
+ if (m_pRoot != oldM_pRoot) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT, oldM_pRoot, m_pRoot));
+ }
+ }
+ return m_pRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public M_pRootType basicGetM_pRoot() {
+ return m_pRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setM_pRoot(M_pRootType newM_pRoot) {
+ M_pRootType oldM_pRoot = m_pRoot;
+ m_pRoot = newM_pRoot;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT, oldM_pRoot, m_pRoot));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT:
+ if (resolve) return getM_pModelObject();
+ return basicGetM_pModelObject();
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT:
+ if (resolve) return getM_pRoot();
+ return basicGetM_pRoot();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT:
+ setM_pModelObject((M_pModelObjectType)newValue);
+ return;
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT:
+ setM_pRoot((M_pRootType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT:
+ setM_pModelObject((M_pModelObjectType)null);
+ return;
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT:
+ setM_pRoot((M_pRootType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPMODEL_OBJECT:
+ return m_pModelObject != null;
+ case UMLRhapsodyPackage.CGI_CLASS_CHART__MPROOT:
+ return m_pRoot != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //CGIClassChartImpl

Back to the top