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/IDependencyImpl.java')
-rw-r--r--extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IDependencyImpl.java1221
1 files changed, 1221 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IDependencyImpl.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IDependencyImpl.java
new file mode 100644
index 00000000000..26cc962f280
--- /dev/null
+++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IDependencyImpl.java
@@ -0,0 +1,1221 @@
+/**
+ * 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.util.EDataTypeEList;
+
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.DependsOnType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ElementsType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IComment;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDependency;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDescription;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IPropertyContainer;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ITag;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IUnit;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.M_subjectType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>IDependency</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getUmlDependencyID <em>Uml Dependency ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getObjectCreation <em>Object Creation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getMyState <em>My State</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getModifiedTimeWeak <em>Modified Time Weak</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getDependsOn <em>Depends On</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getTags <em>Tags</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getAnnotations <em>Annotations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getDisplayName <em>Display Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getDependencies <em>Dependencies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getRequiremenTracabilityHandle <em>Requiremen Tracability Handle</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IDependencyImpl#getCodeUpdateCGTime <em>Code Update CG Time</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class IDependencyImpl extends IModelElementImpl implements IDependency {
+ /**
+ * The default value of the '{@link #getUmlDependencyID() <em>Uml Dependency ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUmlDependencyID()
+ * @generated
+ * @ordered
+ */
+ protected static final String UML_DEPENDENCY_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUmlDependencyID() <em>Uml Dependency ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUmlDependencyID()
+ * @generated
+ * @ordered
+ */
+ protected String umlDependencyID = UML_DEPENDENCY_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getObjectCreation() <em>Object Creation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getObjectCreation()
+ * @generated
+ * @ordered
+ */
+ protected static final String OBJECT_CREATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getObjectCreation() <em>Object Creation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getObjectCreation()
+ * @generated
+ * @ordered
+ */
+ protected String objectCreation = OBJECT_CREATION_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 #getMyState() <em>My State</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMyState()
+ * @generated
+ * @ordered
+ */
+ protected static final String MY_STATE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getMyState() <em>My State</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMyState()
+ * @generated
+ * @ordered
+ */
+ protected String myState = MY_STATE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected IPropertyContainer properties;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStereotypes()
+ * @generated
+ * @ordered
+ */
+ protected IUnit stereotypes;
+
+ /**
+ * The cached value of the '{@link #getModifiedTimeWeak() <em>Modified Time Weak</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getModifiedTimeWeak()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> modifiedTimeWeak;
+
+ /**
+ * The cached value of the '{@link #getDependsOn() <em>Depends On</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDependsOn()
+ * @generated
+ * @ordered
+ */
+ protected DependsOnType dependsOn;
+
+ /**
+ * The cached value of the '{@link #getTags() <em>Tags</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTags()
+ * @generated
+ * @ordered
+ */
+ protected ITag tags;
+
+ /**
+ * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnnotations()
+ * @generated
+ * @ordered
+ */
+ protected IComment annotations;
+
+ /**
+ * The default value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDisplayName()
+ * @generated
+ * @ordered
+ */
+ protected static final String DISPLAY_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDisplayName()
+ * @generated
+ * @ordered
+ */
+ protected String displayName = DISPLAY_NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getDependencies() <em>Dependencies</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDependencies()
+ * @generated
+ * @ordered
+ */
+ protected IDependency dependencies;
+
+ /**
+ * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected IDescription description;
+
+ /**
+ * The default value of the '{@link #getRequiremenTracabilityHandle() <em>Requiremen Tracability Handle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRequiremenTracabilityHandle()
+ * @generated
+ * @ordered
+ */
+ protected static final String REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRequiremenTracabilityHandle() <em>Requiremen Tracability Handle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRequiremenTracabilityHandle()
+ * @generated
+ * @ordered
+ */
+ protected String requiremenTracabilityHandle = REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getCodeUpdateCGTime() <em>Code Update CG Time</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCodeUpdateCGTime()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> codeUpdateCGTime;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IDependencyImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLRhapsodyPackage.eINSTANCE.getIDependency();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUmlDependencyID() {
+ return umlDependencyID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUmlDependencyID(String newUmlDependencyID) {
+ String oldUmlDependencyID = umlDependencyID;
+ umlDependencyID = newUmlDependencyID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__UML_DEPENDENCY_ID, oldUmlDependencyID, umlDependencyID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getObjectCreation() {
+ return objectCreation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setObjectCreation(String newObjectCreation) {
+ String oldObjectCreation = objectCreation;
+ objectCreation = newObjectCreation;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION, oldObjectCreation, objectCreation));
+ }
+
+ /**
+ * <!-- 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.IDEPENDENCY__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getMyState() {
+ return myState;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMyState(String newMyState) {
+ String oldMyState = myState;
+ myState = newMyState;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__MY_STATE, oldMyState, myState));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IPropertyContainer getProperties() {
+ if (properties != null && properties.eIsProxy()) {
+ InternalEObject oldProperties = (InternalEObject)properties;
+ properties = (IPropertyContainer)eResolveProxy(oldProperties);
+ if (properties != oldProperties) {
+ InternalEObject newProperties = (InternalEObject)properties;
+ NotificationChain msgs = oldProperties.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, null, null);
+ if (newProperties.eInternalContainer() == null) {
+ msgs = newProperties.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, oldProperties, properties));
+ }
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IPropertyContainer basicGetProperties() {
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProperties(IPropertyContainer newProperties, NotificationChain msgs) {
+ IPropertyContainer oldProperties = properties;
+ properties = newProperties;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, oldProperties, newProperties);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProperties(IPropertyContainer newProperties) {
+ if (newProperties != properties) {
+ NotificationChain msgs = null;
+ if (properties != null)
+ msgs = ((InternalEObject)properties).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, null, msgs);
+ if (newProperties != null)
+ msgs = ((InternalEObject)newProperties).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, null, msgs);
+ msgs = basicSetProperties(newProperties, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES, newProperties, newProperties));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IUnit getStereotypes() {
+ if (stereotypes != null && stereotypes.eIsProxy()) {
+ InternalEObject oldStereotypes = (InternalEObject)stereotypes;
+ stereotypes = (IUnit)eResolveProxy(oldStereotypes);
+ if (stereotypes != oldStereotypes) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES, oldStereotypes, stereotypes));
+ }
+ }
+ return stereotypes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IUnit basicGetStereotypes() {
+ return stereotypes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStereotypes(IUnit newStereotypes) {
+ IUnit oldStereotypes = stereotypes;
+ stereotypes = newStereotypes;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES, oldStereotypes, stereotypes));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getModifiedTimeWeak() {
+ if (modifiedTimeWeak == null) {
+ modifiedTimeWeak = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.IDEPENDENCY__MODIFIED_TIME_WEAK);
+ }
+ return modifiedTimeWeak;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DependsOnType getDependsOn() {
+ if (dependsOn != null && dependsOn.eIsProxy()) {
+ InternalEObject oldDependsOn = (InternalEObject)dependsOn;
+ dependsOn = (DependsOnType)eResolveProxy(oldDependsOn);
+ if (dependsOn != oldDependsOn) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON, oldDependsOn, dependsOn));
+ }
+ }
+ return dependsOn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DependsOnType basicGetDependsOn() {
+ return dependsOn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDependsOn(DependsOnType newDependsOn) {
+ DependsOnType oldDependsOn = dependsOn;
+ dependsOn = newDependsOn;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON, oldDependsOn, dependsOn));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ITag getTags() {
+ if (tags != null && tags.eIsProxy()) {
+ InternalEObject oldTags = (InternalEObject)tags;
+ tags = (ITag)eResolveProxy(oldTags);
+ if (tags != oldTags) {
+ InternalEObject newTags = (InternalEObject)tags;
+ NotificationChain msgs = oldTags.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__TAGS, null, null);
+ if (newTags.eInternalContainer() == null) {
+ msgs = newTags.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__TAGS, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__TAGS, oldTags, tags));
+ }
+ }
+ return tags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ITag basicGetTags() {
+ return tags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTags(ITag newTags, NotificationChain msgs) {
+ ITag oldTags = tags;
+ tags = newTags;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__TAGS, oldTags, newTags);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTags(ITag newTags) {
+ if (newTags != tags) {
+ NotificationChain msgs = null;
+ if (tags != null)
+ msgs = ((InternalEObject)tags).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__TAGS, null, msgs);
+ if (newTags != null)
+ msgs = ((InternalEObject)newTags).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__TAGS, null, msgs);
+ msgs = basicSetTags(newTags, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__TAGS, newTags, newTags));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IComment getAnnotations() {
+ if (annotations != null && annotations.eIsProxy()) {
+ InternalEObject oldAnnotations = (InternalEObject)annotations;
+ annotations = (IComment)eResolveProxy(oldAnnotations);
+ if (annotations != oldAnnotations) {
+ InternalEObject newAnnotations = (InternalEObject)annotations;
+ NotificationChain msgs = oldAnnotations.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, null, null);
+ if (newAnnotations.eInternalContainer() == null) {
+ msgs = newAnnotations.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, oldAnnotations, annotations));
+ }
+ }
+ return annotations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IComment basicGetAnnotations() {
+ return annotations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAnnotations(IComment newAnnotations, NotificationChain msgs) {
+ IComment oldAnnotations = annotations;
+ annotations = newAnnotations;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, oldAnnotations, newAnnotations);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAnnotations(IComment newAnnotations) {
+ if (newAnnotations != annotations) {
+ NotificationChain msgs = null;
+ if (annotations != null)
+ msgs = ((InternalEObject)annotations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, null, msgs);
+ if (newAnnotations != null)
+ msgs = ((InternalEObject)newAnnotations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, null, msgs);
+ msgs = basicSetAnnotations(newAnnotations, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS, newAnnotations, newAnnotations));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDisplayName(String newDisplayName) {
+ String oldDisplayName = displayName;
+ displayName = newDisplayName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DISPLAY_NAME, oldDisplayName, displayName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IDependency getDependencies() {
+ if (dependencies != null && dependencies.eIsProxy()) {
+ InternalEObject oldDependencies = (InternalEObject)dependencies;
+ dependencies = (IDependency)eResolveProxy(oldDependencies);
+ if (dependencies != oldDependencies) {
+ InternalEObject newDependencies = (InternalEObject)dependencies;
+ NotificationChain msgs = oldDependencies.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, null, null);
+ if (newDependencies.eInternalContainer() == null) {
+ msgs = newDependencies.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, oldDependencies, dependencies));
+ }
+ }
+ return dependencies;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IDependency basicGetDependencies() {
+ return dependencies;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDependencies(IDependency newDependencies, NotificationChain msgs) {
+ IDependency oldDependencies = dependencies;
+ dependencies = newDependencies;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, oldDependencies, newDependencies);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDependencies(IDependency newDependencies) {
+ if (newDependencies != dependencies) {
+ NotificationChain msgs = null;
+ if (dependencies != null)
+ msgs = ((InternalEObject)dependencies).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, null, msgs);
+ if (newDependencies != null)
+ msgs = ((InternalEObject)newDependencies).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, null, msgs);
+ msgs = basicSetDependencies(newDependencies, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES, newDependencies, newDependencies));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IDescription getDescription() {
+ if (description != null && description.eIsProxy()) {
+ InternalEObject oldDescription = (InternalEObject)description;
+ description = (IDescription)eResolveProxy(oldDescription);
+ if (description != oldDescription) {
+ InternalEObject newDescription = (InternalEObject)description;
+ NotificationChain msgs = oldDescription.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, null, null);
+ if (newDescription.eInternalContainer() == null) {
+ msgs = newDescription.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, oldDescription, description));
+ }
+ }
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IDescription basicGetDescription() {
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDescription(IDescription newDescription, NotificationChain msgs) {
+ IDescription oldDescription = description;
+ description = newDescription;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, oldDescription, newDescription);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDescription(IDescription newDescription) {
+ if (newDescription != description) {
+ NotificationChain msgs = null;
+ if (description != null)
+ msgs = ((InternalEObject)description).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, null, msgs);
+ if (newDescription != null)
+ msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, null, msgs);
+ msgs = basicSetDescription(newDescription, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION, newDescription, newDescription));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getRequiremenTracabilityHandle() {
+ return requiremenTracabilityHandle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRequiremenTracabilityHandle(String newRequiremenTracabilityHandle) {
+ String oldRequiremenTracabilityHandle = requiremenTracabilityHandle;
+ requiremenTracabilityHandle = newRequiremenTracabilityHandle;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IDEPENDENCY__REQUIREMEN_TRACABILITY_HANDLE, oldRequiremenTracabilityHandle, requiremenTracabilityHandle));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getCodeUpdateCGTime() {
+ if (codeUpdateCGTime == null) {
+ codeUpdateCGTime = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.IDEPENDENCY__CODE_UPDATE_CG_TIME);
+ }
+ return codeUpdateCGTime;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES:
+ return basicSetProperties(null, msgs);
+ case UMLRhapsodyPackage.IDEPENDENCY__TAGS:
+ return basicSetTags(null, msgs);
+ case UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS:
+ return basicSetAnnotations(null, msgs);
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES:
+ return basicSetDependencies(null, msgs);
+ case UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION:
+ return basicSetDescription(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 UMLRhapsodyPackage.IDEPENDENCY__UML_DEPENDENCY_ID:
+ return getUmlDependencyID();
+ case UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION:
+ return getObjectCreation();
+ case UMLRhapsodyPackage.IDEPENDENCY__ID:
+ return getId();
+ case UMLRhapsodyPackage.IDEPENDENCY__MY_STATE:
+ return getMyState();
+ case UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES:
+ if (resolve) return getProperties();
+ return basicGetProperties();
+ case UMLRhapsodyPackage.IDEPENDENCY__NAME:
+ return getName();
+ case UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES:
+ if (resolve) return getStereotypes();
+ return basicGetStereotypes();
+ case UMLRhapsodyPackage.IDEPENDENCY__MODIFIED_TIME_WEAK:
+ return getModifiedTimeWeak();
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON:
+ if (resolve) return getDependsOn();
+ return basicGetDependsOn();
+ case UMLRhapsodyPackage.IDEPENDENCY__TAGS:
+ if (resolve) return getTags();
+ return basicGetTags();
+ case UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS:
+ if (resolve) return getAnnotations();
+ return basicGetAnnotations();
+ case UMLRhapsodyPackage.IDEPENDENCY__DISPLAY_NAME:
+ return getDisplayName();
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES:
+ if (resolve) return getDependencies();
+ return basicGetDependencies();
+ case UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION:
+ if (resolve) return getDescription();
+ return basicGetDescription();
+ case UMLRhapsodyPackage.IDEPENDENCY__REQUIREMEN_TRACABILITY_HANDLE:
+ return getRequiremenTracabilityHandle();
+ case UMLRhapsodyPackage.IDEPENDENCY__CODE_UPDATE_CG_TIME:
+ return getCodeUpdateCGTime();
+ }
+ 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.IDEPENDENCY__UML_DEPENDENCY_ID:
+ setUmlDependencyID((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION:
+ setObjectCreation((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__ID:
+ setId((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__MY_STATE:
+ setMyState((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES:
+ setProperties((IPropertyContainer)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__NAME:
+ setName((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES:
+ setStereotypes((IUnit)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__MODIFIED_TIME_WEAK:
+ getModifiedTimeWeak().clear();
+ getModifiedTimeWeak().addAll((Collection<? extends String>)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON:
+ setDependsOn((DependsOnType)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__TAGS:
+ setTags((ITag)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS:
+ setAnnotations((IComment)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DISPLAY_NAME:
+ setDisplayName((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES:
+ setDependencies((IDependency)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION:
+ setDescription((IDescription)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__REQUIREMEN_TRACABILITY_HANDLE:
+ setRequiremenTracabilityHandle((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__CODE_UPDATE_CG_TIME:
+ getCodeUpdateCGTime().clear();
+ getCodeUpdateCGTime().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.IDEPENDENCY__UML_DEPENDENCY_ID:
+ setUmlDependencyID(UML_DEPENDENCY_ID_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION:
+ setObjectCreation(OBJECT_CREATION_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__MY_STATE:
+ setMyState(MY_STATE_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES:
+ setProperties((IPropertyContainer)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES:
+ setStereotypes((IUnit)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__MODIFIED_TIME_WEAK:
+ getModifiedTimeWeak().clear();
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON:
+ setDependsOn((DependsOnType)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__TAGS:
+ setTags((ITag)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS:
+ setAnnotations((IComment)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DISPLAY_NAME:
+ setDisplayName(DISPLAY_NAME_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES:
+ setDependencies((IDependency)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION:
+ setDescription((IDescription)null);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__REQUIREMEN_TRACABILITY_HANDLE:
+ setRequiremenTracabilityHandle(REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IDEPENDENCY__CODE_UPDATE_CG_TIME:
+ getCodeUpdateCGTime().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.IDEPENDENCY__UML_DEPENDENCY_ID:
+ return UML_DEPENDENCY_ID_EDEFAULT == null ? umlDependencyID != null : !UML_DEPENDENCY_ID_EDEFAULT.equals(umlDependencyID);
+ case UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION:
+ return OBJECT_CREATION_EDEFAULT == null ? objectCreation != null : !OBJECT_CREATION_EDEFAULT.equals(objectCreation);
+ case UMLRhapsodyPackage.IDEPENDENCY__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case UMLRhapsodyPackage.IDEPENDENCY__MY_STATE:
+ return MY_STATE_EDEFAULT == null ? myState != null : !MY_STATE_EDEFAULT.equals(myState);
+ case UMLRhapsodyPackage.IDEPENDENCY__PROPERTIES:
+ return properties != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case UMLRhapsodyPackage.IDEPENDENCY__STEREOTYPES:
+ return stereotypes != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__MODIFIED_TIME_WEAK:
+ return modifiedTimeWeak != null && !modifiedTimeWeak.isEmpty();
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDS_ON:
+ return dependsOn != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__TAGS:
+ return tags != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__ANNOTATIONS:
+ return annotations != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__DISPLAY_NAME:
+ return DISPLAY_NAME_EDEFAULT == null ? displayName != null : !DISPLAY_NAME_EDEFAULT.equals(displayName);
+ case UMLRhapsodyPackage.IDEPENDENCY__DEPENDENCIES:
+ return dependencies != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__DESCRIPTION:
+ return description != null;
+ case UMLRhapsodyPackage.IDEPENDENCY__REQUIREMEN_TRACABILITY_HANDLE:
+ return REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT == null ? requiremenTracabilityHandle != null : !REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT.equals(requiremenTracabilityHandle);
+ case UMLRhapsodyPackage.IDEPENDENCY__CODE_UPDATE_CG_TIME:
+ return codeUpdateCGTime != null && !codeUpdateCGTime.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == ElementsType.class) {
+ switch (derivedFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == DependsOnType.class) {
+ switch (derivedFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == M_subjectType.class) {
+ switch (derivedFeatureID) {
+ case UMLRhapsodyPackage.IDEPENDENCY__UML_DEPENDENCY_ID: return UMLRhapsodyPackage.MSUBJECT_TYPE__UML_DEPENDENCY_ID;
+ case UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION: return UMLRhapsodyPackage.MSUBJECT_TYPE__OBJECT_CREATION;
+ default: return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == ElementsType.class) {
+ switch (baseFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == DependsOnType.class) {
+ switch (baseFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == M_subjectType.class) {
+ switch (baseFeatureID) {
+ case UMLRhapsodyPackage.MSUBJECT_TYPE__UML_DEPENDENCY_ID: return UMLRhapsodyPackage.IDEPENDENCY__UML_DEPENDENCY_ID;
+ case UMLRhapsodyPackage.MSUBJECT_TYPE__OBJECT_CREATION: return UMLRhapsodyPackage.IDEPENDENCY__OBJECT_CREATION;
+ default: return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (umlDependencyID: "); //$NON-NLS-1$
+ result.append(umlDependencyID);
+ result.append(", objectCreation: "); //$NON-NLS-1$
+ result.append(objectCreation);
+ result.append(", id: "); //$NON-NLS-1$
+ result.append(id);
+ result.append(", myState: "); //$NON-NLS-1$
+ result.append(myState);
+ result.append(", name: "); //$NON-NLS-1$
+ result.append(name);
+ result.append(", modifiedTimeWeak: "); //$NON-NLS-1$
+ result.append(modifiedTimeWeak);
+ result.append(", displayName: "); //$NON-NLS-1$
+ result.append(displayName);
+ result.append(", requiremenTracabilityHandle: "); //$NON-NLS-1$
+ result.append(requiremenTracabilityHandle);
+ result.append(", codeUpdateCGTime: "); //$NON-NLS-1$
+ result.append(codeUpdateCGTime);
+ result.append(')');
+ return result.toString();
+ }
+
+} //IDependencyImpl

Back to the top