aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java91
1 files changed, 0 insertions, 91 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
index 70ee268e..cf8f1fe8 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
@@ -4,16 +4,13 @@ package satellite.impl;
4 4
5import org.eclipse.emf.common.notify.Notification; 5import org.eclipse.emf.common.notify.Notification;
6 6
7import org.eclipse.emf.common.notify.NotificationChain;
8import org.eclipse.emf.ecore.EClass; 7import org.eclipse.emf.ecore.EClass;
9 8
10import org.eclipse.emf.ecore.InternalEObject;
11import org.eclipse.emf.ecore.impl.ENotificationImpl; 9import org.eclipse.emf.ecore.impl.ENotificationImpl;
12import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 10import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
13 11
14import satellite.AntennaGain; 12import satellite.AntennaGain;
15import satellite.CommSubsystem; 13import satellite.CommSubsystem;
16import satellite.DirectedCommunicationLink;
17import satellite.SatellitePackage; 14import satellite.SatellitePackage;
18import satellite.TransceiverBand; 15import satellite.TransceiverBand;
19 16
@@ -27,7 +24,6 @@ import satellite.TransceiverBand;
27 * <ul> 24 * <ul>
28 * <li>{@link satellite.impl.CommSubsystemImpl#getBand <em>Band</em>}</li> 25 * <li>{@link satellite.impl.CommSubsystemImpl#getBand <em>Band</em>}</li>
29 * <li>{@link satellite.impl.CommSubsystemImpl#getGain <em>Gain</em>}</li> 26 * <li>{@link satellite.impl.CommSubsystemImpl#getGain <em>Gain</em>}</li>
30 * <li>{@link satellite.impl.CommSubsystemImpl#getCommunicationLink <em>Communication Link</em>}</li>
31 * </ul> 27 * </ul>
32 * 28 *
33 * @generated 29 * @generated
@@ -74,16 +70,6 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
74 protected AntennaGain gain = GAIN_EDEFAULT; 70 protected AntennaGain gain = GAIN_EDEFAULT;
75 71
76 /** 72 /**
77 * The cached value of the '{@link #getCommunicationLink() <em>Communication Link</em>}' containment reference.
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @see #getCommunicationLink()
81 * @generated
82 * @ordered
83 */
84 protected DirectedCommunicationLink communicationLink;
85
86 /**
87 * <!-- begin-user-doc --> 73 * <!-- begin-user-doc -->
88 * <!-- end-user-doc --> 74 * <!-- end-user-doc -->
89 * @generated 75 * @generated
@@ -156,81 +142,12 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
156 * @generated 142 * @generated
157 */ 143 */
158 @Override 144 @Override
159 public DirectedCommunicationLink getCommunicationLink() {
160 return communicationLink;
161 }
162
163 /**
164 * <!-- begin-user-doc -->
165 * <!-- end-user-doc -->
166 * @generated
167 */
168 public NotificationChain basicSetCommunicationLink(DirectedCommunicationLink newCommunicationLink,
169 NotificationChain msgs) {
170 DirectedCommunicationLink oldCommunicationLink = communicationLink;
171 communicationLink = newCommunicationLink;
172 if (eNotificationRequired()) {
173 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
174 SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK, oldCommunicationLink, newCommunicationLink);
175 if (msgs == null)
176 msgs = notification;
177 else
178 msgs.add(notification);
179 }
180 return msgs;
181 }
182
183 /**
184 * <!-- begin-user-doc -->
185 * <!-- end-user-doc -->
186 * @generated
187 */
188 @Override
189 public void setCommunicationLink(DirectedCommunicationLink newCommunicationLink) {
190 if (newCommunicationLink != communicationLink) {
191 NotificationChain msgs = null;
192 if (communicationLink != null)
193 msgs = ((InternalEObject) communicationLink).eInverseRemove(this,
194 EOPPOSITE_FEATURE_BASE - SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK, null, msgs);
195 if (newCommunicationLink != null)
196 msgs = ((InternalEObject) newCommunicationLink).eInverseAdd(this,
197 EOPPOSITE_FEATURE_BASE - SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK, null, msgs);
198 msgs = basicSetCommunicationLink(newCommunicationLink, msgs);
199 if (msgs != null)
200 msgs.dispatch();
201 } else if (eNotificationRequired())
202 eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK,
203 newCommunicationLink, newCommunicationLink));
204 }
205
206 /**
207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc -->
209 * @generated
210 */
211 @Override
212 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
213 switch (featureID) {
214 case SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK:
215 return basicSetCommunicationLink(null, msgs);
216 }
217 return super.eInverseRemove(otherEnd, featureID, msgs);
218 }
219
220 /**
221 * <!-- begin-user-doc -->
222 * <!-- end-user-doc -->
223 * @generated
224 */
225 @Override
226 public Object eGet(int featureID, boolean resolve, boolean coreType) { 145 public Object eGet(int featureID, boolean resolve, boolean coreType) {
227 switch (featureID) { 146 switch (featureID) {
228 case SatellitePackage.COMM_SUBSYSTEM__BAND: 147 case SatellitePackage.COMM_SUBSYSTEM__BAND:
229 return getBand(); 148 return getBand();
230 case SatellitePackage.COMM_SUBSYSTEM__GAIN: 149 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
231 return getGain(); 150 return getGain();
232 case SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK:
233 return getCommunicationLink();
234 } 151 }
235 return super.eGet(featureID, resolve, coreType); 152 return super.eGet(featureID, resolve, coreType);
236 } 153 }
@@ -249,9 +166,6 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
249 case SatellitePackage.COMM_SUBSYSTEM__GAIN: 166 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
250 setGain((AntennaGain) newValue); 167 setGain((AntennaGain) newValue);
251 return; 168 return;
252 case SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK:
253 setCommunicationLink((DirectedCommunicationLink) newValue);
254 return;
255 } 169 }
256 super.eSet(featureID, newValue); 170 super.eSet(featureID, newValue);
257 } 171 }
@@ -270,9 +184,6 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
270 case SatellitePackage.COMM_SUBSYSTEM__GAIN: 184 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
271 setGain(GAIN_EDEFAULT); 185 setGain(GAIN_EDEFAULT);
272 return; 186 return;
273 case SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK:
274 setCommunicationLink((DirectedCommunicationLink) null);
275 return;
276 } 187 }
277 super.eUnset(featureID); 188 super.eUnset(featureID);
278 } 189 }
@@ -289,8 +200,6 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
289 return band != BAND_EDEFAULT; 200 return band != BAND_EDEFAULT;
290 case SatellitePackage.COMM_SUBSYSTEM__GAIN: 201 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
291 return gain != GAIN_EDEFAULT; 202 return gain != GAIN_EDEFAULT;
292 case SatellitePackage.COMM_SUBSYSTEM__COMMUNICATION_LINK:
293 return communicationLink != null;
294 } 203 }
295 return super.eIsSet(featureID); 204 return super.eIsSet(featureID);
296 } 205 }