aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java85
1 files changed, 0 insertions, 85 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java
index 1f79da3b..d44547d3 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommunicatingElementImpl.java
@@ -3,16 +3,12 @@
3package satellite.impl; 3package satellite.impl;
4 4
5import java.util.Collection; 5import java.util.Collection;
6
7import org.eclipse.emf.common.notify.Notification;
8import org.eclipse.emf.common.notify.NotificationChain; 6import org.eclipse.emf.common.notify.NotificationChain;
9 7
10import org.eclipse.emf.common.util.EList; 8import org.eclipse.emf.common.util.EList;
11 9
12import org.eclipse.emf.ecore.EClass; 10import org.eclipse.emf.ecore.EClass;
13import org.eclipse.emf.ecore.InternalEObject; 11import org.eclipse.emf.ecore.InternalEObject;
14
15import org.eclipse.emf.ecore.impl.ENotificationImpl;
16import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 12import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
17 13
18import org.eclipse.emf.ecore.util.EObjectContainmentEList; 14import org.eclipse.emf.ecore.util.EObjectContainmentEList;
@@ -20,7 +16,6 @@ import org.eclipse.emf.ecore.util.InternalEList;
20 16
21import satellite.CommSubsystem; 17import satellite.CommSubsystem;
22import satellite.CommunicatingElement; 18import satellite.CommunicatingElement;
23import satellite.DirectedCommunicationLink;
24import satellite.SatellitePackage; 19import satellite.SatellitePackage;
25 20
26/** 21/**
@@ -32,7 +27,6 @@ import satellite.SatellitePackage;
32 * </p> 27 * </p>
33 * <ul> 28 * <ul>
34 * <li>{@link satellite.impl.CommunicatingElementImpl#getCommSubsystem <em>Comm Subsystem</em>}</li> 29 * <li>{@link satellite.impl.CommunicatingElementImpl#getCommSubsystem <em>Comm Subsystem</em>}</li>
35 * <li>{@link satellite.impl.CommunicatingElementImpl#getCommunicationLink <em>Communication Link</em>}</li>
36 * </ul> 30 * </ul>
37 * 31 *
38 * @generated 32 * @generated
@@ -49,16 +43,6 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
49 protected EList<CommSubsystem> commSubsystem; 43 protected EList<CommSubsystem> commSubsystem;
50 44
51 /** 45 /**
52 * The cached value of the '{@link #getCommunicationLink() <em>Communication Link</em>}' containment reference.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @see #getCommunicationLink()
56 * @generated
57 * @ordered
58 */
59 protected DirectedCommunicationLink communicationLink;
60
61 /**
62 * <!-- begin-user-doc --> 46 * <!-- begin-user-doc -->
63 * <!-- end-user-doc --> 47 * <!-- end-user-doc -->
64 * @generated 48 * @generated
@@ -97,69 +81,10 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
97 * @generated 81 * @generated
98 */ 82 */
99 @Override 83 @Override
100 public DirectedCommunicationLink getCommunicationLink() {
101 return communicationLink;
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 public NotificationChain basicSetCommunicationLink(DirectedCommunicationLink newCommunicationLink,
110 NotificationChain msgs) {
111 DirectedCommunicationLink oldCommunicationLink = communicationLink;
112 communicationLink = newCommunicationLink;
113 if (eNotificationRequired()) {
114 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
115 SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, oldCommunicationLink,
116 newCommunicationLink);
117 if (msgs == null)
118 msgs = notification;
119 else
120 msgs.add(notification);
121 }
122 return msgs;
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 @Override
131 public void setCommunicationLink(DirectedCommunicationLink newCommunicationLink) {
132 if (newCommunicationLink != communicationLink) {
133 NotificationChain msgs = null;
134 if (communicationLink != null)
135 msgs = ((InternalEObject) communicationLink).eInverseRemove(this,
136 EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null,
137 msgs);
138 if (newCommunicationLink != null)
139 msgs = ((InternalEObject) newCommunicationLink).eInverseAdd(this,
140 EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null,
141 msgs);
142 msgs = basicSetCommunicationLink(newCommunicationLink, msgs);
143 if (msgs != null)
144 msgs.dispatch();
145 } else if (eNotificationRequired())
146 eNotify(new ENotificationImpl(this, Notification.SET,
147 SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, newCommunicationLink,
148 newCommunicationLink));
149 }
150
151 /**
152 * <!-- begin-user-doc -->
153 * <!-- end-user-doc -->
154 * @generated
155 */
156 @Override
157 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { 84 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
158 switch (featureID) { 85 switch (featureID) {
159 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: 86 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM:
160 return ((InternalEList<?>) getCommSubsystem()).basicRemove(otherEnd, msgs); 87 return ((InternalEList<?>) getCommSubsystem()).basicRemove(otherEnd, msgs);
161 case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK:
162 return basicSetCommunicationLink(null, msgs);
163 } 88 }
164 return super.eInverseRemove(otherEnd, featureID, msgs); 89 return super.eInverseRemove(otherEnd, featureID, msgs);
165 } 90 }
@@ -174,8 +99,6 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
174 switch (featureID) { 99 switch (featureID) {
175 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: 100 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM:
176 return getCommSubsystem(); 101 return getCommSubsystem();
177 case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK:
178 return getCommunicationLink();
179 } 102 }
180 return super.eGet(featureID, resolve, coreType); 103 return super.eGet(featureID, resolve, coreType);
181 } 104 }
@@ -193,9 +116,6 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
193 getCommSubsystem().clear(); 116 getCommSubsystem().clear();
194 getCommSubsystem().addAll((Collection<? extends CommSubsystem>) newValue); 117 getCommSubsystem().addAll((Collection<? extends CommSubsystem>) newValue);
195 return; 118 return;
196 case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK:
197 setCommunicationLink((DirectedCommunicationLink) newValue);
198 return;
199 } 119 }
200 super.eSet(featureID, newValue); 120 super.eSet(featureID, newValue);
201 } 121 }
@@ -211,9 +131,6 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
211 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: 131 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM:
212 getCommSubsystem().clear(); 132 getCommSubsystem().clear();
213 return; 133 return;
214 case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK:
215 setCommunicationLink((DirectedCommunicationLink) null);
216 return;
217 } 134 }
218 super.eUnset(featureID); 135 super.eUnset(featureID);
219 } 136 }
@@ -228,8 +145,6 @@ public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Contai
228 switch (featureID) { 145 switch (featureID) {
229 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: 146 case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM:
230 return commSubsystem != null && !commSubsystem.isEmpty(); 147 return commSubsystem != null && !commSubsystem.isEmpty();
231 case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK:
232 return communicationLink != null;
233 } 148 }
234 return super.eIsSet(featureID); 149 return super.eIsSet(featureID);
235 } 150 }