diff options
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIMscChartImpl.java')
-rw-r--r-- | extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIMscChartImpl.java | 1328 |
1 files changed, 1328 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIMscChartImpl.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIMscChartImpl.java new file mode 100644 index 00000000000..e1ac41989ff --- /dev/null +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/CGIMscChartImpl.java @@ -0,0 +1,1328 @@ +/** + * 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 java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +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.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EDataTypeEList; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.CGIBox; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.CGIMscChart; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.CGIText; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.GraphElementsType; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IMSC; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>CGI Msc Chart</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getVLadderMargin <em>VLadder Margin</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_usingActivationBar <em>Musing Activation Bar</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_type <em>Mtype</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_pModelObject <em>MpModel Object</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_pParent <em>MpParent</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_name <em>Mname</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_drawBehavior <em>Mdraw Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_bIsPreferencesInitialized <em>MbIs Preferences Initialized</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getElementList <em>Element List</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getGraphElements <em>Graph Elements</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_access <em>Maccess</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_modified <em>Mmodified</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_fileVersion <em>Mfile Version</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_nModifyDate <em>MnModify Date</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_nCreateDate <em>MnCreate Date</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_creator <em>Mcreator</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_bScaleWithZoom <em>MbScale With Zoom</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_arrowStyle <em>Marrow Style</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_pRoot <em>MpRoot</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_currentLeftTop <em>Mcurrent Left Top</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.CGIMscChartImpl#getM_currentRightBottom <em>Mcurrent Right Bottom</em>}</li> + * </ul> + * + * @generated + */ +public class CGIMscChartImpl extends MinimalEObjectImpl.Container implements CGIMscChart { + /** + * The default value of the '{@link #getVLadderMargin() <em>VLadder Margin</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVLadderMargin() + * @generated + * @ordered + */ + protected static final String VLADDER_MARGIN_EDEFAULT = null; + + /** + * The cached value of the '{@link #getVLadderMargin() <em>VLadder Margin</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVLadderMargin() + * @generated + * @ordered + */ + protected String vLadderMargin = VLADDER_MARGIN_EDEFAULT; + + /** + * The default value of the '{@link #getM_usingActivationBar() <em>Musing Activation Bar</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_usingActivationBar() + * @generated + * @ordered + */ + protected static final String MUSING_ACTIVATION_BAR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_usingActivationBar() <em>Musing Activation Bar</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_usingActivationBar() + * @generated + * @ordered + */ + protected String m_usingActivationBar = MUSING_ACTIVATION_BAR_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getM_type() <em>Mtype</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_type() + * @generated + * @ordered + */ + protected static final String MTYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_type() <em>Mtype</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_type() + * @generated + * @ordered + */ + protected String m_type = MTYPE_EDEFAULT; + + /** + * 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 IMSC m_pModelObject; + + /** + * The default value of the '{@link #getM_pParent() <em>MpParent</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_pParent() + * @generated + * @ordered + */ + protected static final String MPPARENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_pParent() <em>MpParent</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_pParent() + * @generated + * @ordered + */ + protected String m_pParent = MPPARENT_EDEFAULT; + + /** + * The cached value of the '{@link #getM_name() <em>Mname</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_name() + * @generated + * @ordered + */ + protected CGIText m_name; + + /** + * The default value of the '{@link #getM_drawBehavior() <em>Mdraw Behavior</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_drawBehavior() + * @generated + * @ordered + */ + protected static final String MDRAW_BEHAVIOR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_drawBehavior() <em>Mdraw Behavior</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_drawBehavior() + * @generated + * @ordered + */ + protected String m_drawBehavior = MDRAW_BEHAVIOR_EDEFAULT; + + /** + * The default value of the '{@link #getM_bIsPreferencesInitialized() <em>MbIs Preferences Initialized</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_bIsPreferencesInitialized() + * @generated + * @ordered + */ + protected static final String MBIS_PREFERENCES_INITIALIZED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_bIsPreferencesInitialized() <em>MbIs Preferences Initialized</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_bIsPreferencesInitialized() + * @generated + * @ordered + */ + protected String m_bIsPreferencesInitialized = MBIS_PREFERENCES_INITIALIZED_EDEFAULT; + + /** + * The default value of the '{@link #getElementList() <em>Element List</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementList() + * @generated + * @ordered + */ + protected static final String ELEMENT_LIST_EDEFAULT = null; + + /** + * The cached value of the '{@link #getElementList() <em>Element List</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementList() + * @generated + * @ordered + */ + protected String elementList = ELEMENT_LIST_EDEFAULT; + + /** + * The cached value of the '{@link #getGraphElements() <em>Graph Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getGraphElements() + * @generated + * @ordered + */ + protected EList<GraphElementsType> graphElements; + + /** + * The default value of the '{@link #getM_access() <em>Maccess</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_access() + * @generated + * @ordered + */ + protected static final String MACCESS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_access() <em>Maccess</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_access() + * @generated + * @ordered + */ + protected String m_access = MACCESS_EDEFAULT; + + /** + * The default value of the '{@link #getM_modified() <em>Mmodified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_modified() + * @generated + * @ordered + */ + protected static final String MMODIFIED_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_modified() <em>Mmodified</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_modified() + * @generated + * @ordered + */ + protected String m_modified = MMODIFIED_EDEFAULT; + + /** + * The default value of the '{@link #getM_fileVersion() <em>Mfile Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_fileVersion() + * @generated + * @ordered + */ + protected static final String MFILE_VERSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_fileVersion() <em>Mfile Version</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_fileVersion() + * @generated + * @ordered + */ + protected String m_fileVersion = MFILE_VERSION_EDEFAULT; + + /** + * The default value of the '{@link #getM_nModifyDate() <em>MnModify Date</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_nModifyDate() + * @generated + * @ordered + */ + protected static final String MNMODIFY_DATE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_nModifyDate() <em>MnModify Date</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_nModifyDate() + * @generated + * @ordered + */ + protected String m_nModifyDate = MNMODIFY_DATE_EDEFAULT; + + /** + * The default value of the '{@link #getM_nCreateDate() <em>MnCreate Date</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_nCreateDate() + * @generated + * @ordered + */ + protected static final String MNCREATE_DATE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_nCreateDate() <em>MnCreate Date</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_nCreateDate() + * @generated + * @ordered + */ + protected String m_nCreateDate = MNCREATE_DATE_EDEFAULT; + + /** + * The default value of the '{@link #getM_creator() <em>Mcreator</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_creator() + * @generated + * @ordered + */ + protected static final String MCREATOR_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_creator() <em>Mcreator</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_creator() + * @generated + * @ordered + */ + protected String m_creator = MCREATOR_EDEFAULT; + + /** + * The default value of the '{@link #getM_bScaleWithZoom() <em>MbScale With Zoom</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_bScaleWithZoom() + * @generated + * @ordered + */ + protected static final String MBSCALE_WITH_ZOOM_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_bScaleWithZoom() <em>MbScale With Zoom</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_bScaleWithZoom() + * @generated + * @ordered + */ + protected String m_bScaleWithZoom = MBSCALE_WITH_ZOOM_EDEFAULT; + + /** + * The default value of the '{@link #getM_arrowStyle() <em>Marrow Style</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_arrowStyle() + * @generated + * @ordered + */ + protected static final String MARROW_STYLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getM_arrowStyle() <em>Marrow Style</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_arrowStyle() + * @generated + * @ordered + */ + protected String m_arrowStyle = MARROW_STYLE_EDEFAULT; + + /** + * The cached value of the '{@link #getM_pRoot() <em>MpRoot</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_pRoot() + * @generated + * @ordered + */ + protected CGIBox m_pRoot; + + /** + * The cached value of the '{@link #getM_currentLeftTop() <em>Mcurrent Left Top</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_currentLeftTop() + * @generated + * @ordered + */ + protected EList<String> m_currentLeftTop; + + /** + * The cached value of the '{@link #getM_currentRightBottom() <em>Mcurrent Right Bottom</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM_currentRightBottom() + * @generated + * @ordered + */ + protected EList<String> m_currentRightBottom; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected CGIMscChartImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return UMLRhapsodyPackage.eINSTANCE.getCGIMscChart(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getVLadderMargin() { + return vLadderMargin; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setVLadderMargin(String newVLadderMargin) { + String oldVLadderMargin = vLadderMargin; + vLadderMargin = newVLadderMargin; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__VLADDER_MARGIN, oldVLadderMargin, vLadderMargin)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_usingActivationBar() { + return m_usingActivationBar; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_usingActivationBar(String newM_usingActivationBar) { + String oldM_usingActivationBar = m_usingActivationBar; + m_usingActivationBar = newM_usingActivationBar; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MUSING_ACTIVATION_BAR, oldM_usingActivationBar, m_usingActivationBar)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_type() { + return m_type; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_type(String newM_type) { + String oldM_type = m_type; + m_type = newM_type; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MTYPE, oldM_type, m_type)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IMSC getM_pModelObject() { + if (m_pModelObject != null && m_pModelObject.eIsProxy()) { + InternalEObject oldM_pModelObject = (InternalEObject)m_pModelObject; + m_pModelObject = (IMSC)eResolveProxy(oldM_pModelObject); + if (m_pModelObject != oldM_pModelObject) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT, oldM_pModelObject, m_pModelObject)); + } + } + return m_pModelObject; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IMSC basicGetM_pModelObject() { + return m_pModelObject; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_pModelObject(IMSC newM_pModelObject) { + IMSC oldM_pModelObject = m_pModelObject; + m_pModelObject = newM_pModelObject; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT, oldM_pModelObject, m_pModelObject)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_pParent() { + return m_pParent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_pParent(String newM_pParent) { + String oldM_pParent = m_pParent; + m_pParent = newM_pParent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MPPARENT, oldM_pParent, m_pParent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CGIText getM_name() { + if (m_name != null && m_name.eIsProxy()) { + InternalEObject oldM_name = (InternalEObject)m_name; + m_name = (CGIText)eResolveProxy(oldM_name); + if (m_name != oldM_name) { + InternalEObject newM_name = (InternalEObject)m_name; + NotificationChain msgs = oldM_name.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, null, null); + if (newM_name.eInternalContainer() == null) { + msgs = newM_name.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, null, msgs); + } + if (msgs != null) msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, oldM_name, m_name)); + } + } + return m_name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CGIText basicGetM_name() { + return m_name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetM_name(CGIText newM_name, NotificationChain msgs) { + CGIText oldM_name = m_name; + m_name = newM_name; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, oldM_name, newM_name); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_name(CGIText newM_name) { + if (newM_name != m_name) { + NotificationChain msgs = null; + if (m_name != null) + msgs = ((InternalEObject)m_name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, null, msgs); + if (newM_name != null) + msgs = ((InternalEObject)newM_name).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, null, msgs); + msgs = basicSetM_name(newM_name, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MNAME, newM_name, newM_name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_drawBehavior() { + return m_drawBehavior; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_drawBehavior(String newM_drawBehavior) { + String oldM_drawBehavior = m_drawBehavior; + m_drawBehavior = newM_drawBehavior; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MDRAW_BEHAVIOR, oldM_drawBehavior, m_drawBehavior)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_bIsPreferencesInitialized() { + return m_bIsPreferencesInitialized; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_bIsPreferencesInitialized(String newM_bIsPreferencesInitialized) { + String oldM_bIsPreferencesInitialized = m_bIsPreferencesInitialized; + m_bIsPreferencesInitialized = newM_bIsPreferencesInitialized; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MBIS_PREFERENCES_INITIALIZED, oldM_bIsPreferencesInitialized, m_bIsPreferencesInitialized)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getElementList() { + return elementList; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElementList(String newElementList) { + String oldElementList = elementList; + elementList = newElementList; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__ELEMENT_LIST, oldElementList, elementList)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<GraphElementsType> getGraphElements() { + if (graphElements == null) { + graphElements = new EObjectContainmentEList.Resolving<GraphElementsType>(GraphElementsType.class, this, UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS); + } + return graphElements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_access() { + return m_access; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_access(String newM_access) { + String oldM_access = m_access; + m_access = newM_access; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MACCESS, oldM_access, m_access)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_modified() { + return m_modified; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_modified(String newM_modified) { + String oldM_modified = m_modified; + m_modified = newM_modified; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MMODIFIED, oldM_modified, m_modified)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_fileVersion() { + return m_fileVersion; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_fileVersion(String newM_fileVersion) { + String oldM_fileVersion = m_fileVersion; + m_fileVersion = newM_fileVersion; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MFILE_VERSION, oldM_fileVersion, m_fileVersion)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_nModifyDate() { + return m_nModifyDate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_nModifyDate(String newM_nModifyDate) { + String oldM_nModifyDate = m_nModifyDate; + m_nModifyDate = newM_nModifyDate; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MNMODIFY_DATE, oldM_nModifyDate, m_nModifyDate)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_nCreateDate() { + return m_nCreateDate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_nCreateDate(String newM_nCreateDate) { + String oldM_nCreateDate = m_nCreateDate; + m_nCreateDate = newM_nCreateDate; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MNCREATE_DATE, oldM_nCreateDate, m_nCreateDate)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_creator() { + return m_creator; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_creator(String newM_creator) { + String oldM_creator = m_creator; + m_creator = newM_creator; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MCREATOR, oldM_creator, m_creator)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_bScaleWithZoom() { + return m_bScaleWithZoom; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_bScaleWithZoom(String newM_bScaleWithZoom) { + String oldM_bScaleWithZoom = m_bScaleWithZoom; + m_bScaleWithZoom = newM_bScaleWithZoom; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MBSCALE_WITH_ZOOM, oldM_bScaleWithZoom, m_bScaleWithZoom)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getM_arrowStyle() { + return m_arrowStyle; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_arrowStyle(String newM_arrowStyle) { + String oldM_arrowStyle = m_arrowStyle; + m_arrowStyle = newM_arrowStyle; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MARROW_STYLE, oldM_arrowStyle, m_arrowStyle)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CGIBox getM_pRoot() { + if (m_pRoot != null && m_pRoot.eIsProxy()) { + InternalEObject oldM_pRoot = (InternalEObject)m_pRoot; + m_pRoot = (CGIBox)eResolveProxy(oldM_pRoot); + if (m_pRoot != oldM_pRoot) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT, oldM_pRoot, m_pRoot)); + } + } + return m_pRoot; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CGIBox basicGetM_pRoot() { + return m_pRoot; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setM_pRoot(CGIBox newM_pRoot) { + CGIBox oldM_pRoot = m_pRoot; + m_pRoot = newM_pRoot; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT, oldM_pRoot, m_pRoot)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getM_currentLeftTop() { + if (m_currentLeftTop == null) { + m_currentLeftTop = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_LEFT_TOP); + } + return m_currentLeftTop; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getM_currentRightBottom() { + if (m_currentRightBottom == null) { + m_currentRightBottom = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_RIGHT_BOTTOM); + } + return m_currentRightBottom; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case UMLRhapsodyPackage.CGI_MSC_CHART__MNAME: + return basicSetM_name(null, msgs); + case UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS: + return ((InternalEList<?>)getGraphElements()).basicRemove(otherEnd, 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 UMLRhapsodyPackage.CGI_MSC_CHART__VLADDER_MARGIN: + return getVLadderMargin(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MUSING_ACTIVATION_BAR: + return getM_usingActivationBar(); + case UMLRhapsodyPackage.CGI_MSC_CHART__ID: + return getId(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MTYPE: + return getM_type(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT: + if (resolve) return getM_pModelObject(); + return basicGetM_pModelObject(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MPPARENT: + return getM_pParent(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNAME: + if (resolve) return getM_name(); + return basicGetM_name(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MDRAW_BEHAVIOR: + return getM_drawBehavior(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MBIS_PREFERENCES_INITIALIZED: + return getM_bIsPreferencesInitialized(); + case UMLRhapsodyPackage.CGI_MSC_CHART__ELEMENT_LIST: + return getElementList(); + case UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS: + return getGraphElements(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MACCESS: + return getM_access(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MMODIFIED: + return getM_modified(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MFILE_VERSION: + return getM_fileVersion(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNMODIFY_DATE: + return getM_nModifyDate(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNCREATE_DATE: + return getM_nCreateDate(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MCREATOR: + return getM_creator(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MBSCALE_WITH_ZOOM: + return getM_bScaleWithZoom(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MARROW_STYLE: + return getM_arrowStyle(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT: + if (resolve) return getM_pRoot(); + return basicGetM_pRoot(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_LEFT_TOP: + return getM_currentLeftTop(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_RIGHT_BOTTOM: + return getM_currentRightBottom(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case UMLRhapsodyPackage.CGI_MSC_CHART__VLADDER_MARGIN: + setVLadderMargin((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MUSING_ACTIVATION_BAR: + setM_usingActivationBar((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__ID: + setId((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MTYPE: + setM_type((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT: + setM_pModelObject((IMSC)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPPARENT: + setM_pParent((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNAME: + setM_name((CGIText)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MDRAW_BEHAVIOR: + setM_drawBehavior((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MBIS_PREFERENCES_INITIALIZED: + setM_bIsPreferencesInitialized((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__ELEMENT_LIST: + setElementList((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS: + getGraphElements().clear(); + getGraphElements().addAll((Collection<? extends GraphElementsType>)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MACCESS: + setM_access((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MMODIFIED: + setM_modified((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MFILE_VERSION: + setM_fileVersion((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNMODIFY_DATE: + setM_nModifyDate((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNCREATE_DATE: + setM_nCreateDate((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCREATOR: + setM_creator((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MBSCALE_WITH_ZOOM: + setM_bScaleWithZoom((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MARROW_STYLE: + setM_arrowStyle((String)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT: + setM_pRoot((CGIBox)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_LEFT_TOP: + getM_currentLeftTop().clear(); + getM_currentLeftTop().addAll((Collection<? extends String>)newValue); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_RIGHT_BOTTOM: + getM_currentRightBottom().clear(); + getM_currentRightBottom().addAll((Collection<? extends String>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case UMLRhapsodyPackage.CGI_MSC_CHART__VLADDER_MARGIN: + setVLadderMargin(VLADDER_MARGIN_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MUSING_ACTIVATION_BAR: + setM_usingActivationBar(MUSING_ACTIVATION_BAR_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__ID: + setId(ID_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MTYPE: + setM_type(MTYPE_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT: + setM_pModelObject((IMSC)null); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPPARENT: + setM_pParent(MPPARENT_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNAME: + setM_name((CGIText)null); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MDRAW_BEHAVIOR: + setM_drawBehavior(MDRAW_BEHAVIOR_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MBIS_PREFERENCES_INITIALIZED: + setM_bIsPreferencesInitialized(MBIS_PREFERENCES_INITIALIZED_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__ELEMENT_LIST: + setElementList(ELEMENT_LIST_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS: + getGraphElements().clear(); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MACCESS: + setM_access(MACCESS_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MMODIFIED: + setM_modified(MMODIFIED_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MFILE_VERSION: + setM_fileVersion(MFILE_VERSION_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNMODIFY_DATE: + setM_nModifyDate(MNMODIFY_DATE_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MNCREATE_DATE: + setM_nCreateDate(MNCREATE_DATE_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCREATOR: + setM_creator(MCREATOR_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MBSCALE_WITH_ZOOM: + setM_bScaleWithZoom(MBSCALE_WITH_ZOOM_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MARROW_STYLE: + setM_arrowStyle(MARROW_STYLE_EDEFAULT); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT: + setM_pRoot((CGIBox)null); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_LEFT_TOP: + getM_currentLeftTop().clear(); + return; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_RIGHT_BOTTOM: + getM_currentRightBottom().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case UMLRhapsodyPackage.CGI_MSC_CHART__VLADDER_MARGIN: + return VLADDER_MARGIN_EDEFAULT == null ? vLadderMargin != null : !VLADDER_MARGIN_EDEFAULT.equals(vLadderMargin); + case UMLRhapsodyPackage.CGI_MSC_CHART__MUSING_ACTIVATION_BAR: + return MUSING_ACTIVATION_BAR_EDEFAULT == null ? m_usingActivationBar != null : !MUSING_ACTIVATION_BAR_EDEFAULT.equals(m_usingActivationBar); + case UMLRhapsodyPackage.CGI_MSC_CHART__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case UMLRhapsodyPackage.CGI_MSC_CHART__MTYPE: + return MTYPE_EDEFAULT == null ? m_type != null : !MTYPE_EDEFAULT.equals(m_type); + case UMLRhapsodyPackage.CGI_MSC_CHART__MPMODEL_OBJECT: + return m_pModelObject != null; + case UMLRhapsodyPackage.CGI_MSC_CHART__MPPARENT: + return MPPARENT_EDEFAULT == null ? m_pParent != null : !MPPARENT_EDEFAULT.equals(m_pParent); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNAME: + return m_name != null; + case UMLRhapsodyPackage.CGI_MSC_CHART__MDRAW_BEHAVIOR: + return MDRAW_BEHAVIOR_EDEFAULT == null ? m_drawBehavior != null : !MDRAW_BEHAVIOR_EDEFAULT.equals(m_drawBehavior); + case UMLRhapsodyPackage.CGI_MSC_CHART__MBIS_PREFERENCES_INITIALIZED: + return MBIS_PREFERENCES_INITIALIZED_EDEFAULT == null ? m_bIsPreferencesInitialized != null : !MBIS_PREFERENCES_INITIALIZED_EDEFAULT.equals(m_bIsPreferencesInitialized); + case UMLRhapsodyPackage.CGI_MSC_CHART__ELEMENT_LIST: + return ELEMENT_LIST_EDEFAULT == null ? elementList != null : !ELEMENT_LIST_EDEFAULT.equals(elementList); + case UMLRhapsodyPackage.CGI_MSC_CHART__GRAPH_ELEMENTS: + return graphElements != null && !graphElements.isEmpty(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MACCESS: + return MACCESS_EDEFAULT == null ? m_access != null : !MACCESS_EDEFAULT.equals(m_access); + case UMLRhapsodyPackage.CGI_MSC_CHART__MMODIFIED: + return MMODIFIED_EDEFAULT == null ? m_modified != null : !MMODIFIED_EDEFAULT.equals(m_modified); + case UMLRhapsodyPackage.CGI_MSC_CHART__MFILE_VERSION: + return MFILE_VERSION_EDEFAULT == null ? m_fileVersion != null : !MFILE_VERSION_EDEFAULT.equals(m_fileVersion); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNMODIFY_DATE: + return MNMODIFY_DATE_EDEFAULT == null ? m_nModifyDate != null : !MNMODIFY_DATE_EDEFAULT.equals(m_nModifyDate); + case UMLRhapsodyPackage.CGI_MSC_CHART__MNCREATE_DATE: + return MNCREATE_DATE_EDEFAULT == null ? m_nCreateDate != null : !MNCREATE_DATE_EDEFAULT.equals(m_nCreateDate); + case UMLRhapsodyPackage.CGI_MSC_CHART__MCREATOR: + return MCREATOR_EDEFAULT == null ? m_creator != null : !MCREATOR_EDEFAULT.equals(m_creator); + case UMLRhapsodyPackage.CGI_MSC_CHART__MBSCALE_WITH_ZOOM: + return MBSCALE_WITH_ZOOM_EDEFAULT == null ? m_bScaleWithZoom != null : !MBSCALE_WITH_ZOOM_EDEFAULT.equals(m_bScaleWithZoom); + case UMLRhapsodyPackage.CGI_MSC_CHART__MARROW_STYLE: + return MARROW_STYLE_EDEFAULT == null ? m_arrowStyle != null : !MARROW_STYLE_EDEFAULT.equals(m_arrowStyle); + case UMLRhapsodyPackage.CGI_MSC_CHART__MPROOT: + return m_pRoot != null; + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_LEFT_TOP: + return m_currentLeftTop != null && !m_currentLeftTop.isEmpty(); + case UMLRhapsodyPackage.CGI_MSC_CHART__MCURRENT_RIGHT_BOTTOM: + return m_currentRightBottom != null && !m_currentRightBottom.isEmpty(); + } + 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(" (vLadderMargin: "); //$NON-NLS-1$ + result.append(vLadderMargin); + result.append(", m_usingActivationBar: "); //$NON-NLS-1$ + result.append(m_usingActivationBar); + result.append(", id: "); //$NON-NLS-1$ + result.append(id); + result.append(", m_type: "); //$NON-NLS-1$ + result.append(m_type); + result.append(", m_pParent: "); //$NON-NLS-1$ + result.append(m_pParent); + result.append(", m_drawBehavior: "); //$NON-NLS-1$ + result.append(m_drawBehavior); + result.append(", m_bIsPreferencesInitialized: "); //$NON-NLS-1$ + result.append(m_bIsPreferencesInitialized); + result.append(", elementList: "); //$NON-NLS-1$ + result.append(elementList); + result.append(", m_access: "); //$NON-NLS-1$ + result.append(m_access); + result.append(", m_modified: "); //$NON-NLS-1$ + result.append(m_modified); + result.append(", m_fileVersion: "); //$NON-NLS-1$ + result.append(m_fileVersion); + result.append(", m_nModifyDate: "); //$NON-NLS-1$ + result.append(m_nModifyDate); + result.append(", m_nCreateDate: "); //$NON-NLS-1$ + result.append(m_nCreateDate); + result.append(", m_creator: "); //$NON-NLS-1$ + result.append(m_creator); + result.append(", m_bScaleWithZoom: "); //$NON-NLS-1$ + result.append(m_bScaleWithZoom); + result.append(", m_arrowStyle: "); //$NON-NLS-1$ + result.append(m_arrowStyle); + result.append(", m_currentLeftTop: "); //$NON-NLS-1$ + result.append(m_currentLeftTop); + result.append(", m_currentRightBottom: "); //$NON-NLS-1$ + result.append(m_currentRightBottom); + result.append(')'); + return result.toString(); + } + +} //CGIMscChartImpl |