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/IInformationFlowImpl.java')
-rw-r--r--extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IInformationFlowImpl.java1296
1 files changed, 1296 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IInformationFlowImpl.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IInformationFlowImpl.java
new file mode 100644
index 00000000000..7299a2cfac5
--- /dev/null
+++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IInformationFlowImpl.java
@@ -0,0 +1,1296 @@
+/**
+ * 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.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ConveyedType;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.End1_Type;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.End2_Type;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDependency;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDescription;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IInformationFlow;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IInstance;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IMHyperLink;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IRequirement;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ITag;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IUnit;
+import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>IInformation Flow</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getMyState <em>My State</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getConveyed <em>Conveyed</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getEnd1_ <em>End1 </em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getEnd2_ <em>End2 </em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getDirection_ <em>Direction </em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getModifiedTimeWeak <em>Modified Time Weak</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getEnd1ObjectPort_ <em>End1 Object Port </em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getEnd2ObjectPort_ <em>End2 Object Port </em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getRequiremenTracabilityHandle <em>Requiremen Tracability Handle</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getHyperLinks <em>Hyper Links</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getDependencies <em>Dependencies</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getAnnotations <em>Annotations</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getObjectCreation <em>Object Creation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getUmlDependencyID <em>Uml Dependency ID</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getStereotypes <em>Stereotypes</em>}</li>
+ * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IInformationFlowImpl#getTags <em>Tags</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class IInformationFlowImpl extends DeclarativesTypeImpl implements IInformationFlow {
+ /**
+ * 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 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 #getConveyed() <em>Conveyed</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConveyed()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConveyedType> conveyed;
+
+ /**
+ * The cached value of the '{@link #getEnd1_() <em>End1 </em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnd1_()
+ * @generated
+ * @ordered
+ */
+ protected End1_Type end1_;
+
+ /**
+ * The cached value of the '{@link #getEnd2_() <em>End2 </em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnd2_()
+ * @generated
+ * @ordered
+ */
+ protected End2_Type end2_;
+
+ /**
+ * The default value of the '{@link #getDirection_() <em>Direction </em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection_()
+ * @generated
+ * @ordered
+ */
+ protected static final String DIRECTION__EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDirection_() <em>Direction </em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection_()
+ * @generated
+ * @ordered
+ */
+ protected String direction_ = DIRECTION__EDEFAULT;
+
+ /**
+ * 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 #getDescription() <em>Description</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected IDescription description;
+
+ /**
+ * The cached value of the '{@link #getEnd1ObjectPort_() <em>End1 Object Port </em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnd1ObjectPort_()
+ * @generated
+ * @ordered
+ */
+ protected IInstance end1ObjectPort_;
+
+ /**
+ * The cached value of the '{@link #getEnd2ObjectPort_() <em>End2 Object Port </em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnd2ObjectPort_()
+ * @generated
+ * @ordered
+ */
+ protected IInstance end2ObjectPort_;
+
+ /**
+ * 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 #getHyperLinks() <em>Hyper Links</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHyperLinks()
+ * @generated
+ * @ordered
+ */
+ protected IMHyperLink hyperLinks;
+
+ /**
+ * 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 #getAnnotations() <em>Annotations</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnnotations()
+ * @generated
+ * @ordered
+ */
+ protected IRequirement annotations;
+
+ /**
+ * 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 #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 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 #getTags() <em>Tags</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTags()
+ * @generated
+ * @ordered
+ */
+ protected EList<ITag> tags;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IInformationFlowImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UMLRhapsodyPackage.eINSTANCE.getIInformationFlow();
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__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.IINFORMATION_FLOW__MY_STATE, oldMyState, myState));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ConveyedType> getConveyed() {
+ if (conveyed == null) {
+ conveyed = new EObjectResolvingEList<ConveyedType>(ConveyedType.class, this, UMLRhapsodyPackage.IINFORMATION_FLOW__CONVEYED);
+ }
+ return conveyed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public End1_Type getEnd1_() {
+ if (end1_ != null && end1_.eIsProxy()) {
+ InternalEObject oldEnd1_ = (InternalEObject)end1_;
+ end1_ = (End1_Type)eResolveProxy(oldEnd1_);
+ if (end1_ != oldEnd1_) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__END1_, oldEnd1_, end1_));
+ }
+ }
+ return end1_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public End1_Type basicGetEnd1_() {
+ return end1_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnd1_(End1_Type newEnd1_) {
+ End1_Type oldEnd1_ = end1_;
+ end1_ = newEnd1_;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__END1_, oldEnd1_, end1_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public End2_Type getEnd2_() {
+ if (end2_ != null && end2_.eIsProxy()) {
+ InternalEObject oldEnd2_ = (InternalEObject)end2_;
+ end2_ = (End2_Type)eResolveProxy(oldEnd2_);
+ if (end2_ != oldEnd2_) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__END2_, oldEnd2_, end2_));
+ }
+ }
+ return end2_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public End2_Type basicGetEnd2_() {
+ return end2_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnd2_(End2_Type newEnd2_) {
+ End2_Type oldEnd2_ = end2_;
+ end2_ = newEnd2_;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__END2_, oldEnd2_, end2_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDirection_() {
+ return direction_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection_(String newDirection_) {
+ String oldDirection_ = direction_;
+ direction_ = newDirection_;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__DIRECTION_, oldDirection_, direction_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getModifiedTimeWeak() {
+ if (modifiedTimeWeak == null) {
+ modifiedTimeWeak = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.IINFORMATION_FLOW__MODIFIED_TIME_WEAK);
+ }
+ return modifiedTimeWeak;
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__DESCRIPTION, null, null);
+ if (newDescription.eInternalContainer() == null) {
+ msgs = newDescription.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__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.IINFORMATION_FLOW__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.IINFORMATION_FLOW__DESCRIPTION, null, msgs);
+ if (newDescription != null)
+ msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION, null, msgs);
+ msgs = basicSetDescription(newDescription, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION, newDescription, newDescription));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IInstance getEnd1ObjectPort_() {
+ if (end1ObjectPort_ != null && end1ObjectPort_.eIsProxy()) {
+ InternalEObject oldEnd1ObjectPort_ = (InternalEObject)end1ObjectPort_;
+ end1ObjectPort_ = (IInstance)eResolveProxy(oldEnd1ObjectPort_);
+ if (end1ObjectPort_ != oldEnd1ObjectPort_) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_, oldEnd1ObjectPort_, end1ObjectPort_));
+ }
+ }
+ return end1ObjectPort_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IInstance basicGetEnd1ObjectPort_() {
+ return end1ObjectPort_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnd1ObjectPort_(IInstance newEnd1ObjectPort_) {
+ IInstance oldEnd1ObjectPort_ = end1ObjectPort_;
+ end1ObjectPort_ = newEnd1ObjectPort_;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_, oldEnd1ObjectPort_, end1ObjectPort_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IInstance getEnd2ObjectPort_() {
+ if (end2ObjectPort_ != null && end2ObjectPort_.eIsProxy()) {
+ InternalEObject oldEnd2ObjectPort_ = (InternalEObject)end2ObjectPort_;
+ end2ObjectPort_ = (IInstance)eResolveProxy(oldEnd2ObjectPort_);
+ if (end2ObjectPort_ != oldEnd2ObjectPort_) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_, oldEnd2ObjectPort_, end2ObjectPort_));
+ }
+ }
+ return end2ObjectPort_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IInstance basicGetEnd2ObjectPort_() {
+ return end2ObjectPort_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEnd2ObjectPort_(IInstance newEnd2ObjectPort_) {
+ IInstance oldEnd2ObjectPort_ = end2ObjectPort_;
+ end2ObjectPort_ = newEnd2ObjectPort_;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_, oldEnd2ObjectPort_, end2ObjectPort_));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__REQUIREMEN_TRACABILITY_HANDLE, oldRequiremenTracabilityHandle, requiremenTracabilityHandle));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IMHyperLink getHyperLinks() {
+ if (hyperLinks != null && hyperLinks.eIsProxy()) {
+ InternalEObject oldHyperLinks = (InternalEObject)hyperLinks;
+ hyperLinks = (IMHyperLink)eResolveProxy(oldHyperLinks);
+ if (hyperLinks != oldHyperLinks) {
+ InternalEObject newHyperLinks = (InternalEObject)hyperLinks;
+ NotificationChain msgs = oldHyperLinks.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, null, null);
+ if (newHyperLinks.eInternalContainer() == null) {
+ msgs = newHyperLinks.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, oldHyperLinks, hyperLinks));
+ }
+ }
+ return hyperLinks;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IMHyperLink basicGetHyperLinks() {
+ return hyperLinks;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHyperLinks(IMHyperLink newHyperLinks, NotificationChain msgs) {
+ IMHyperLink oldHyperLinks = hyperLinks;
+ hyperLinks = newHyperLinks;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, oldHyperLinks, newHyperLinks);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHyperLinks(IMHyperLink newHyperLinks) {
+ if (newHyperLinks != hyperLinks) {
+ NotificationChain msgs = null;
+ if (hyperLinks != null)
+ msgs = ((InternalEObject)hyperLinks).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, null, msgs);
+ if (newHyperLinks != null)
+ msgs = ((InternalEObject)newHyperLinks).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, null, msgs);
+ msgs = basicSetHyperLinks(newHyperLinks, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS, newHyperLinks, newHyperLinks));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__DEPENDENCIES, null, null);
+ if (newDependencies.eInternalContainer() == null) {
+ msgs = newDependencies.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__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.IINFORMATION_FLOW__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.IINFORMATION_FLOW__DEPENDENCIES, null, msgs);
+ if (newDependencies != null)
+ msgs = ((InternalEObject)newDependencies).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES, null, msgs);
+ msgs = basicSetDependencies(newDependencies, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES, newDependencies, newDependencies));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IRequirement getAnnotations() {
+ if (annotations != null && annotations.eIsProxy()) {
+ InternalEObject oldAnnotations = (InternalEObject)annotations;
+ annotations = (IRequirement)eResolveProxy(oldAnnotations);
+ if (annotations != oldAnnotations) {
+ InternalEObject newAnnotations = (InternalEObject)annotations;
+ NotificationChain msgs = oldAnnotations.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, null, null);
+ if (newAnnotations.eInternalContainer() == null) {
+ msgs = newAnnotations.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, oldAnnotations, annotations));
+ }
+ }
+ return annotations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IRequirement basicGetAnnotations() {
+ return annotations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAnnotations(IRequirement newAnnotations, NotificationChain msgs) {
+ IRequirement oldAnnotations = annotations;
+ annotations = newAnnotations;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, oldAnnotations, newAnnotations);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAnnotations(IRequirement newAnnotations) {
+ if (newAnnotations != annotations) {
+ NotificationChain msgs = null;
+ if (annotations != null)
+ msgs = ((InternalEObject)annotations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, null, msgs);
+ if (newAnnotations != null)
+ msgs = ((InternalEObject)newAnnotations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, null, msgs);
+ msgs = basicSetAnnotations(newAnnotations, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS, newAnnotations, newAnnotations));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__OBJECT_CREATION, oldObjectCreation, objectCreation));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__UML_DEPENDENCY_ID, oldUmlDependencyID, umlDependencyID));
+ }
+
+ /**
+ * <!-- 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.IINFORMATION_FLOW__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.IINFORMATION_FLOW__STEREOTYPES, oldStereotypes, stereotypes));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ITag> getTags() {
+ if (tags == null) {
+ tags = new EObjectContainmentEList.Resolving<ITag>(ITag.class, this, UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS);
+ }
+ return tags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION:
+ return basicSetDescription(null, msgs);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS:
+ return basicSetHyperLinks(null, msgs);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES:
+ return basicSetDependencies(null, msgs);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS:
+ return basicSetAnnotations(null, msgs);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS:
+ return ((InternalEList<?>)getTags()).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.IINFORMATION_FLOW__ID:
+ return getId();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MY_STATE:
+ return getMyState();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__NAME:
+ return getName();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__CONVEYED:
+ return getConveyed();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_:
+ if (resolve) return getEnd1_();
+ return basicGetEnd1_();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_:
+ if (resolve) return getEnd2_();
+ return basicGetEnd2_();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DIRECTION_:
+ return getDirection_();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MODIFIED_TIME_WEAK:
+ return getModifiedTimeWeak();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION:
+ if (resolve) return getDescription();
+ return basicGetDescription();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_:
+ if (resolve) return getEnd1ObjectPort_();
+ return basicGetEnd1ObjectPort_();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_:
+ if (resolve) return getEnd2ObjectPort_();
+ return basicGetEnd2ObjectPort_();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__REQUIREMEN_TRACABILITY_HANDLE:
+ return getRequiremenTracabilityHandle();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS:
+ if (resolve) return getHyperLinks();
+ return basicGetHyperLinks();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES:
+ if (resolve) return getDependencies();
+ return basicGetDependencies();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS:
+ if (resolve) return getAnnotations();
+ return basicGetAnnotations();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__OBJECT_CREATION:
+ return getObjectCreation();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__UML_DEPENDENCY_ID:
+ return getUmlDependencyID();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__STEREOTYPES:
+ if (resolve) return getStereotypes();
+ return basicGetStereotypes();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS:
+ return getTags();
+ }
+ 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.IINFORMATION_FLOW__ID:
+ setId((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MY_STATE:
+ setMyState((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__NAME:
+ setName((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__CONVEYED:
+ getConveyed().clear();
+ getConveyed().addAll((Collection<? extends ConveyedType>)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_:
+ setEnd1_((End1_Type)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_:
+ setEnd2_((End2_Type)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DIRECTION_:
+ setDirection_((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MODIFIED_TIME_WEAK:
+ getModifiedTimeWeak().clear();
+ getModifiedTimeWeak().addAll((Collection<? extends String>)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION:
+ setDescription((IDescription)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_:
+ setEnd1ObjectPort_((IInstance)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_:
+ setEnd2ObjectPort_((IInstance)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__REQUIREMEN_TRACABILITY_HANDLE:
+ setRequiremenTracabilityHandle((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS:
+ setHyperLinks((IMHyperLink)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES:
+ setDependencies((IDependency)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS:
+ setAnnotations((IRequirement)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__OBJECT_CREATION:
+ setObjectCreation((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__UML_DEPENDENCY_ID:
+ setUmlDependencyID((String)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__STEREOTYPES:
+ setStereotypes((IUnit)newValue);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS:
+ getTags().clear();
+ getTags().addAll((Collection<? extends ITag>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MY_STATE:
+ setMyState(MY_STATE_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__CONVEYED:
+ getConveyed().clear();
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_:
+ setEnd1_((End1_Type)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_:
+ setEnd2_((End2_Type)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DIRECTION_:
+ setDirection_(DIRECTION__EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MODIFIED_TIME_WEAK:
+ getModifiedTimeWeak().clear();
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION:
+ setDescription((IDescription)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_:
+ setEnd1ObjectPort_((IInstance)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_:
+ setEnd2ObjectPort_((IInstance)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__REQUIREMEN_TRACABILITY_HANDLE:
+ setRequiremenTracabilityHandle(REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS:
+ setHyperLinks((IMHyperLink)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES:
+ setDependencies((IDependency)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS:
+ setAnnotations((IRequirement)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__OBJECT_CREATION:
+ setObjectCreation(OBJECT_CREATION_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__UML_DEPENDENCY_ID:
+ setUmlDependencyID(UML_DEPENDENCY_ID_EDEFAULT);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__STEREOTYPES:
+ setStereotypes((IUnit)null);
+ return;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS:
+ getTags().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MY_STATE:
+ return MY_STATE_EDEFAULT == null ? myState != null : !MY_STATE_EDEFAULT.equals(myState);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__CONVEYED:
+ return conveyed != null && !conveyed.isEmpty();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_:
+ return end1_ != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_:
+ return end2_ != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DIRECTION_:
+ return DIRECTION__EDEFAULT == null ? direction_ != null : !DIRECTION__EDEFAULT.equals(direction_);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__MODIFIED_TIME_WEAK:
+ return modifiedTimeWeak != null && !modifiedTimeWeak.isEmpty();
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DESCRIPTION:
+ return description != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END1_OBJECT_PORT_:
+ return end1ObjectPort_ != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__END2_OBJECT_PORT_:
+ return end2ObjectPort_ != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__REQUIREMEN_TRACABILITY_HANDLE:
+ return REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT == null ? requiremenTracabilityHandle != null : !REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT.equals(requiremenTracabilityHandle);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__HYPER_LINKS:
+ return hyperLinks != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__DEPENDENCIES:
+ return dependencies != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__ANNOTATIONS:
+ return annotations != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__OBJECT_CREATION:
+ return OBJECT_CREATION_EDEFAULT == null ? objectCreation != null : !OBJECT_CREATION_EDEFAULT.equals(objectCreation);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__UML_DEPENDENCY_ID:
+ return UML_DEPENDENCY_ID_EDEFAULT == null ? umlDependencyID != null : !UML_DEPENDENCY_ID_EDEFAULT.equals(umlDependencyID);
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__STEREOTYPES:
+ return stereotypes != null;
+ case UMLRhapsodyPackage.IINFORMATION_FLOW__TAGS:
+ return tags != null && !tags.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(" (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(", direction_: "); //$NON-NLS-1$
+ result.append(direction_);
+ result.append(", modifiedTimeWeak: "); //$NON-NLS-1$
+ result.append(modifiedTimeWeak);
+ result.append(", requiremenTracabilityHandle: "); //$NON-NLS-1$
+ result.append(requiremenTracabilityHandle);
+ result.append(", objectCreation: "); //$NON-NLS-1$
+ result.append(objectCreation);
+ result.append(", umlDependencyID: "); //$NON-NLS-1$
+ result.append(umlDependencyID);
+ result.append(')');
+ return result.toString();
+ }
+
+} //IInformationFlowImpl

Back to the top