diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite')
12 files changed, 202 insertions, 702 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java index 2c9a5e2c..3b9d7ecf 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java | |||
@@ -9,6 +9,12 @@ import org.eclipse.emf.ecore.EObject; | |||
9 | * A representation of the model object '<em><b>Comm Subsystem</b></em>'. | 9 | * A representation of the model object '<em><b>Comm Subsystem</b></em>'. |
10 | * <!-- end-user-doc --> | 10 | * <!-- end-user-doc --> |
11 | * | 11 | * |
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
12 | * | 18 | * |
13 | * @see satellite.SatellitePackage#getCommSubsystem() | 19 | * @see satellite.SatellitePackage#getCommSubsystem() |
14 | * @model abstract="true" | 20 | * @model abstract="true" |
@@ -16,4 +22,26 @@ import org.eclipse.emf.ecore.EObject; | |||
16 | */ | 22 | */ |
17 | public interface CommSubsystem extends EObject { | 23 | public interface CommSubsystem extends EObject { |
18 | 24 | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Target</em>' reference. | ||
30 | * @see #setTarget(CommSubsystem) | ||
31 | * @see satellite.SatellitePackage#getCommSubsystem_Target() | ||
32 | * @model | ||
33 | * @generated | ||
34 | */ | ||
35 | CommSubsystem getTarget(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link satellite.CommSubsystem#getTarget <em>Target</em>}' reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Target</em>' reference. | ||
42 | * @see #getTarget() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setTarget(CommSubsystem value); | ||
46 | |||
19 | } // CommSubsystem | 47 | } // CommSubsystem |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommunicatingElement.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommunicatingElement.java index d2f1e984..e8c3bc41 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommunicatingElement.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommunicatingElement.java | |||
@@ -16,7 +16,6 @@ import org.eclipse.emf.ecore.EObject; | |||
16 | * </p> | 16 | * </p> |
17 | * <ul> | 17 | * <ul> |
18 | * <li>{@link satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}</li> | 18 | * <li>{@link satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}</li> |
19 | * <li>{@link satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}</li> | ||
20 | * </ul> | 19 | * </ul> |
21 | * | 20 | * |
22 | * @see satellite.SatellitePackage#getCommunicatingElement() | 21 | * @see satellite.SatellitePackage#getCommunicatingElement() |
@@ -36,26 +35,4 @@ public interface CommunicatingElement extends EObject { | |||
36 | */ | 35 | */ |
37 | EList<CommSubsystem> getCommSubsystem(); | 36 | EList<CommSubsystem> getCommSubsystem(); |
38 | 37 | ||
39 | /** | ||
40 | * Returns the value of the '<em><b>Communication Link</b></em>' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @return the value of the '<em>Communication Link</em>' containment reference. | ||
44 | * @see #setCommunicationLink(DirectedCommunicationLink) | ||
45 | * @see satellite.SatellitePackage#getCommunicatingElement_CommunicationLink() | ||
46 | * @model containment="true" | ||
47 | * @generated | ||
48 | */ | ||
49 | DirectedCommunicationLink getCommunicationLink(); | ||
50 | |||
51 | /** | ||
52 | * Sets the value of the '{@link satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @param value the new value of the '<em>Communication Link</em>' containment reference. | ||
56 | * @see #getCommunicationLink() | ||
57 | * @generated | ||
58 | */ | ||
59 | void setCommunicationLink(DirectedCommunicationLink value); | ||
60 | |||
61 | } // CommunicatingElement | 38 | } // CommunicatingElement |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/DirectedCommunicationLink.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/DirectedCommunicationLink.java deleted file mode 100644 index dc76d466..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/DirectedCommunicationLink.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Directed Communication Link</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link satellite.DirectedCommunicationLink#getSource <em>Source</em>}</li> | ||
17 | * <li>{@link satellite.DirectedCommunicationLink#getTarget <em>Target</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see satellite.SatellitePackage#getDirectedCommunicationLink() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface DirectedCommunicationLink extends EObject { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Source</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @return the value of the '<em>Source</em>' reference. | ||
30 | * @see #setSource(CommSubsystem) | ||
31 | * @see satellite.SatellitePackage#getDirectedCommunicationLink_Source() | ||
32 | * @model required="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | CommSubsystem getSource(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link satellite.DirectedCommunicationLink#getSource <em>Source</em>}' reference. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Source</em>' reference. | ||
42 | * @see #getSource() | ||
43 | * @generated | ||
44 | */ | ||
45 | void setSource(CommSubsystem value); | ||
46 | |||
47 | /** | ||
48 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @return the value of the '<em>Target</em>' reference. | ||
52 | * @see #setTarget(CommSubsystem) | ||
53 | * @see satellite.SatellitePackage#getDirectedCommunicationLink_Target() | ||
54 | * @model required="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | CommSubsystem getTarget(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link satellite.DirectedCommunicationLink#getTarget <em>Target</em>}' reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Target</em>' reference. | ||
64 | * @see #getTarget() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setTarget(CommSubsystem value); | ||
68 | |||
69 | } // DirectedCommunicationLink | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatelliteFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatelliteFactory.java index 26182881..c906bde6 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatelliteFactory.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatelliteFactory.java | |||
@@ -40,15 +40,6 @@ public interface SatelliteFactory extends EFactory { | |||
40 | GroundStationNetwork createGroundStationNetwork(); | 40 | GroundStationNetwork createGroundStationNetwork(); |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * Returns a new object of class '<em>Directed Communication Link</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Directed Communication Link</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | DirectedCommunicationLink createDirectedCommunicationLink(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Interferometry Payload</em>'. | 43 | * Returns a new object of class '<em>Interferometry Payload</em>'. |
53 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
54 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java index 8a9328f6..64a60d6a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java | |||
@@ -177,22 +177,13 @@ public interface SatellitePackage extends EPackage { | |||
177 | int COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = 0; | 177 | int COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = 0; |
178 | 178 | ||
179 | /** | 179 | /** |
180 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | int COMMUNICATING_ELEMENT__COMMUNICATION_LINK = 1; | ||
187 | |||
188 | /** | ||
189 | * The number of structural features of the '<em>Communicating Element</em>' class. | 180 | * The number of structural features of the '<em>Communicating Element</em>' class. |
190 | * <!-- begin-user-doc --> | 181 | * <!-- begin-user-doc --> |
191 | * <!-- end-user-doc --> | 182 | * <!-- end-user-doc --> |
192 | * @generated | 183 | * @generated |
193 | * @ordered | 184 | * @ordered |
194 | */ | 185 | */ |
195 | int COMMUNICATING_ELEMENT_FEATURE_COUNT = 2; | 186 | int COMMUNICATING_ELEMENT_FEATURE_COUNT = 1; |
196 | 187 | ||
197 | /** | 188 | /** |
198 | * The number of operations of the '<em>Communicating Element</em>' class. | 189 | * The number of operations of the '<em>Communicating Element</em>' class. |
@@ -223,15 +214,6 @@ public interface SatellitePackage extends EPackage { | |||
223 | int GROUND_STATION_NETWORK__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | 214 | int GROUND_STATION_NETWORK__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; |
224 | 215 | ||
225 | /** | 216 | /** |
226 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | * @ordered | ||
231 | */ | ||
232 | int GROUND_STATION_NETWORK__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; | ||
233 | |||
234 | /** | ||
235 | * The number of structural features of the '<em>Ground Station Network</em>' class. | 217 | * The number of structural features of the '<em>Ground Station Network</em>' class. |
236 | * <!-- begin-user-doc --> | 218 | * <!-- begin-user-doc --> |
237 | * <!-- end-user-doc --> | 219 | * <!-- end-user-doc --> |
@@ -269,15 +251,6 @@ public interface SatellitePackage extends EPackage { | |||
269 | int SPACECRAFT__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | 251 | int SPACECRAFT__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; |
270 | 252 | ||
271 | /** | 253 | /** |
272 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
273 | * <!-- begin-user-doc --> | ||
274 | * <!-- end-user-doc --> | ||
275 | * @generated | ||
276 | * @ordered | ||
277 | */ | ||
278 | int SPACECRAFT__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; | ||
279 | |||
280 | /** | ||
281 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | 254 | * The feature id for the '<em><b>Payload</b></em>' containment reference. |
282 | * <!-- begin-user-doc --> | 255 | * <!-- begin-user-doc --> |
283 | * <!-- end-user-doc --> | 256 | * <!-- end-user-doc --> |
@@ -315,68 +288,31 @@ public interface SatellitePackage extends EPackage { | |||
315 | int COMM_SUBSYSTEM = 5; | 288 | int COMM_SUBSYSTEM = 5; |
316 | 289 | ||
317 | /** | 290 | /** |
318 | * The number of structural features of the '<em>Comm Subsystem</em>' class. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | * @ordered | ||
323 | */ | ||
324 | int COMM_SUBSYSTEM_FEATURE_COUNT = 0; | ||
325 | |||
326 | /** | ||
327 | * The number of operations of the '<em>Comm Subsystem</em>' class. | ||
328 | * <!-- begin-user-doc --> | ||
329 | * <!-- end-user-doc --> | ||
330 | * @generated | ||
331 | * @ordered | ||
332 | */ | ||
333 | int COMM_SUBSYSTEM_OPERATION_COUNT = 0; | ||
334 | |||
335 | /** | ||
336 | * The meta object id for the '{@link satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * <!-- end-user-doc --> | ||
339 | * @see satellite.impl.DirectedCommunicationLinkImpl | ||
340 | * @see satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() | ||
341 | * @generated | ||
342 | */ | ||
343 | int DIRECTED_COMMUNICATION_LINK = 6; | ||
344 | |||
345 | /** | ||
346 | * The feature id for the '<em><b>Source</b></em>' reference. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | * @ordered | ||
351 | */ | ||
352 | int DIRECTED_COMMUNICATION_LINK__SOURCE = 0; | ||
353 | |||
354 | /** | ||
355 | * The feature id for the '<em><b>Target</b></em>' reference. | 291 | * The feature id for the '<em><b>Target</b></em>' reference. |
356 | * <!-- begin-user-doc --> | 292 | * <!-- begin-user-doc --> |
357 | * <!-- end-user-doc --> | 293 | * <!-- end-user-doc --> |
358 | * @generated | 294 | * @generated |
359 | * @ordered | 295 | * @ordered |
360 | */ | 296 | */ |
361 | int DIRECTED_COMMUNICATION_LINK__TARGET = 1; | 297 | int COMM_SUBSYSTEM__TARGET = 0; |
362 | 298 | ||
363 | /** | 299 | /** |
364 | * The number of structural features of the '<em>Directed Communication Link</em>' class. | 300 | * The number of structural features of the '<em>Comm Subsystem</em>' class. |
365 | * <!-- begin-user-doc --> | 301 | * <!-- begin-user-doc --> |
366 | * <!-- end-user-doc --> | 302 | * <!-- end-user-doc --> |
367 | * @generated | 303 | * @generated |
368 | * @ordered | 304 | * @ordered |
369 | */ | 305 | */ |
370 | int DIRECTED_COMMUNICATION_LINK_FEATURE_COUNT = 2; | 306 | int COMM_SUBSYSTEM_FEATURE_COUNT = 1; |
371 | 307 | ||
372 | /** | 308 | /** |
373 | * The number of operations of the '<em>Directed Communication Link</em>' class. | 309 | * The number of operations of the '<em>Comm Subsystem</em>' class. |
374 | * <!-- begin-user-doc --> | 310 | * <!-- begin-user-doc --> |
375 | * <!-- end-user-doc --> | 311 | * <!-- end-user-doc --> |
376 | * @generated | 312 | * @generated |
377 | * @ordered | 313 | * @ordered |
378 | */ | 314 | */ |
379 | int DIRECTED_COMMUNICATION_LINK_OPERATION_COUNT = 0; | 315 | int COMM_SUBSYSTEM_OPERATION_COUNT = 0; |
380 | 316 | ||
381 | /** | 317 | /** |
382 | * The meta object id for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | 318 | * The meta object id for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. |
@@ -386,7 +322,7 @@ public interface SatellitePackage extends EPackage { | |||
386 | * @see satellite.impl.SatellitePackageImpl#getPayload() | 322 | * @see satellite.impl.SatellitePackageImpl#getPayload() |
387 | * @generated | 323 | * @generated |
388 | */ | 324 | */ |
389 | int PAYLOAD = 7; | 325 | int PAYLOAD = 6; |
390 | 326 | ||
391 | /** | 327 | /** |
392 | * The number of structural features of the '<em>Payload</em>' class. | 328 | * The number of structural features of the '<em>Payload</em>' class. |
@@ -414,7 +350,7 @@ public interface SatellitePackage extends EPackage { | |||
414 | * @see satellite.impl.SatellitePackageImpl#getInterferometryPayload() | 350 | * @see satellite.impl.SatellitePackageImpl#getInterferometryPayload() |
415 | * @generated | 351 | * @generated |
416 | */ | 352 | */ |
417 | int INTERFEROMETRY_PAYLOAD = 8; | 353 | int INTERFEROMETRY_PAYLOAD = 7; |
418 | 354 | ||
419 | /** | 355 | /** |
420 | * The number of structural features of the '<em>Interferometry Payload</em>' class. | 356 | * The number of structural features of the '<em>Interferometry Payload</em>' class. |
@@ -442,7 +378,7 @@ public interface SatellitePackage extends EPackage { | |||
442 | * @see satellite.impl.SatellitePackageImpl#getCubeSat() | 378 | * @see satellite.impl.SatellitePackageImpl#getCubeSat() |
443 | * @generated | 379 | * @generated |
444 | */ | 380 | */ |
445 | int CUBE_SAT = 12; | 381 | int CUBE_SAT = 11; |
446 | 382 | ||
447 | /** | 383 | /** |
448 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | 384 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. |
@@ -454,15 +390,6 @@ public interface SatellitePackage extends EPackage { | |||
454 | int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | 390 | int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; |
455 | 391 | ||
456 | /** | 392 | /** |
457 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
458 | * <!-- begin-user-doc --> | ||
459 | * <!-- end-user-doc --> | ||
460 | * @generated | ||
461 | * @ordered | ||
462 | */ | ||
463 | int CUBE_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
464 | |||
465 | /** | ||
466 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | 393 | * The feature id for the '<em><b>Payload</b></em>' containment reference. |
467 | * <!-- begin-user-doc --> | 394 | * <!-- begin-user-doc --> |
468 | * <!-- end-user-doc --> | 395 | * <!-- end-user-doc --> |
@@ -497,7 +424,7 @@ public interface SatellitePackage extends EPackage { | |||
497 | * @see satellite.impl.SatellitePackageImpl#getCubeSat3U() | 424 | * @see satellite.impl.SatellitePackageImpl#getCubeSat3U() |
498 | * @generated | 425 | * @generated |
499 | */ | 426 | */ |
500 | int CUBE_SAT3_U = 9; | 427 | int CUBE_SAT3_U = 8; |
501 | 428 | ||
502 | /** | 429 | /** |
503 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | 430 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. |
@@ -509,15 +436,6 @@ public interface SatellitePackage extends EPackage { | |||
509 | int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | 436 | int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; |
510 | 437 | ||
511 | /** | 438 | /** |
512 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @generated | ||
516 | * @ordered | ||
517 | */ | ||
518 | int CUBE_SAT3_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
519 | |||
520 | /** | ||
521 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | 439 | * The feature id for the '<em><b>Payload</b></em>' containment reference. |
522 | * <!-- begin-user-doc --> | 440 | * <!-- begin-user-doc --> |
523 | * <!-- end-user-doc --> | 441 | * <!-- end-user-doc --> |
@@ -552,7 +470,7 @@ public interface SatellitePackage extends EPackage { | |||
552 | * @see satellite.impl.SatellitePackageImpl#getCubeSat6U() | 470 | * @see satellite.impl.SatellitePackageImpl#getCubeSat6U() |
553 | * @generated | 471 | * @generated |
554 | */ | 472 | */ |
555 | int CUBE_SAT6_U = 10; | 473 | int CUBE_SAT6_U = 9; |
556 | 474 | ||
557 | /** | 475 | /** |
558 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | 476 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. |
@@ -564,15 +482,6 @@ public interface SatellitePackage extends EPackage { | |||
564 | int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | 482 | int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; |
565 | 483 | ||
566 | /** | 484 | /** |
567 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | * @ordered | ||
572 | */ | ||
573 | int CUBE_SAT6_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
574 | |||
575 | /** | ||
576 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | 485 | * The feature id for the '<em><b>Payload</b></em>' containment reference. |
577 | * <!-- begin-user-doc --> | 486 | * <!-- begin-user-doc --> |
578 | * <!-- end-user-doc --> | 487 | * <!-- end-user-doc --> |
@@ -607,7 +516,7 @@ public interface SatellitePackage extends EPackage { | |||
607 | * @see satellite.impl.SatellitePackageImpl#getSmallSat() | 516 | * @see satellite.impl.SatellitePackageImpl#getSmallSat() |
608 | * @generated | 517 | * @generated |
609 | */ | 518 | */ |
610 | int SMALL_SAT = 11; | 519 | int SMALL_SAT = 10; |
611 | 520 | ||
612 | /** | 521 | /** |
613 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | 522 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. |
@@ -619,15 +528,6 @@ public interface SatellitePackage extends EPackage { | |||
619 | int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | 528 | int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; |
620 | 529 | ||
621 | /** | 530 | /** |
622 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | * @ordered | ||
627 | */ | ||
628 | int SMALL_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
629 | |||
630 | /** | ||
631 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | 531 | * The feature id for the '<em><b>Payload</b></em>' containment reference. |
632 | * <!-- begin-user-doc --> | 532 | * <!-- begin-user-doc --> |
633 | * <!-- end-user-doc --> | 533 | * <!-- end-user-doc --> |
@@ -662,7 +562,16 @@ public interface SatellitePackage extends EPackage { | |||
662 | * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem() | 562 | * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem() |
663 | * @generated | 563 | * @generated |
664 | */ | 564 | */ |
665 | int UHF_COMM_SUBSYSTEM = 13; | 565 | int UHF_COMM_SUBSYSTEM = 12; |
566 | |||
567 | /** | ||
568 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | * @ordered | ||
573 | */ | ||
574 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
666 | 575 | ||
667 | /** | 576 | /** |
668 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. | 577 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. |
@@ -690,7 +599,16 @@ public interface SatellitePackage extends EPackage { | |||
690 | * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem() | 599 | * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem() |
691 | * @generated | 600 | * @generated |
692 | */ | 601 | */ |
693 | int XCOMM_SUBSYSTEM = 14; | 602 | int XCOMM_SUBSYSTEM = 13; |
603 | |||
604 | /** | ||
605 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * <!-- end-user-doc --> | ||
608 | * @generated | ||
609 | * @ordered | ||
610 | */ | ||
611 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
694 | 612 | ||
695 | /** | 613 | /** |
696 | * The number of structural features of the '<em>XComm Subsystem</em>' class. | 614 | * The number of structural features of the '<em>XComm Subsystem</em>' class. |
@@ -718,7 +636,16 @@ public interface SatellitePackage extends EPackage { | |||
718 | * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem() | 636 | * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem() |
719 | * @generated | 637 | * @generated |
720 | */ | 638 | */ |
721 | int KA_COMM_SUBSYSTEM = 15; | 639 | int KA_COMM_SUBSYSTEM = 14; |
640 | |||
641 | /** | ||
642 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
643 | * <!-- begin-user-doc --> | ||
644 | * <!-- end-user-doc --> | ||
645 | * @generated | ||
646 | * @ordered | ||
647 | */ | ||
648 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | ||
722 | 649 | ||
723 | /** | 650 | /** |
724 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. | 651 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. |
@@ -813,17 +740,6 @@ public interface SatellitePackage extends EPackage { | |||
813 | EReference getCommunicatingElement_CommSubsystem(); | 740 | EReference getCommunicatingElement_CommSubsystem(); |
814 | 741 | ||
815 | /** | 742 | /** |
816 | * Returns the meta object for the containment reference '{@link satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}'. | ||
817 | * <!-- begin-user-doc --> | ||
818 | * <!-- end-user-doc --> | ||
819 | * @return the meta object for the containment reference '<em>Communication Link</em>'. | ||
820 | * @see satellite.CommunicatingElement#getCommunicationLink() | ||
821 | * @see #getCommunicatingElement() | ||
822 | * @generated | ||
823 | */ | ||
824 | EReference getCommunicatingElement_CommunicationLink(); | ||
825 | |||
826 | /** | ||
827 | * Returns the meta object for class '{@link satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | 743 | * Returns the meta object for class '{@link satellite.GroundStationNetwork <em>Ground Station Network</em>}'. |
828 | * <!-- begin-user-doc --> | 744 | * <!-- begin-user-doc --> |
829 | * <!-- end-user-doc --> | 745 | * <!-- end-user-doc --> |
@@ -865,36 +781,15 @@ public interface SatellitePackage extends EPackage { | |||
865 | EClass getCommSubsystem(); | 781 | EClass getCommSubsystem(); |
866 | 782 | ||
867 | /** | 783 | /** |
868 | * Returns the meta object for class '{@link satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | 784 | * Returns the meta object for the reference '{@link satellite.CommSubsystem#getTarget <em>Target</em>}'. |
869 | * <!-- begin-user-doc --> | ||
870 | * <!-- end-user-doc --> | ||
871 | * @return the meta object for class '<em>Directed Communication Link</em>'. | ||
872 | * @see satellite.DirectedCommunicationLink | ||
873 | * @generated | ||
874 | */ | ||
875 | EClass getDirectedCommunicationLink(); | ||
876 | |||
877 | /** | ||
878 | * Returns the meta object for the reference '{@link satellite.DirectedCommunicationLink#getSource <em>Source</em>}'. | ||
879 | * <!-- begin-user-doc --> | ||
880 | * <!-- end-user-doc --> | ||
881 | * @return the meta object for the reference '<em>Source</em>'. | ||
882 | * @see satellite.DirectedCommunicationLink#getSource() | ||
883 | * @see #getDirectedCommunicationLink() | ||
884 | * @generated | ||
885 | */ | ||
886 | EReference getDirectedCommunicationLink_Source(); | ||
887 | |||
888 | /** | ||
889 | * Returns the meta object for the reference '{@link satellite.DirectedCommunicationLink#getTarget <em>Target</em>}'. | ||
890 | * <!-- begin-user-doc --> | 785 | * <!-- begin-user-doc --> |
891 | * <!-- end-user-doc --> | 786 | * <!-- end-user-doc --> |
892 | * @return the meta object for the reference '<em>Target</em>'. | 787 | * @return the meta object for the reference '<em>Target</em>'. |
893 | * @see satellite.DirectedCommunicationLink#getTarget() | 788 | * @see satellite.CommSubsystem#getTarget() |
894 | * @see #getDirectedCommunicationLink() | 789 | * @see #getCommSubsystem() |
895 | * @generated | 790 | * @generated |
896 | */ | 791 | */ |
897 | EReference getDirectedCommunicationLink_Target(); | 792 | EReference getCommSubsystem_Target(); |
898 | 793 | ||
899 | /** | 794 | /** |
900 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. | 795 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. |
@@ -1073,14 +968,6 @@ public interface SatellitePackage extends EPackage { | |||
1073 | EReference COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = eINSTANCE.getCommunicatingElement_CommSubsystem(); | 968 | EReference COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = eINSTANCE.getCommunicatingElement_CommSubsystem(); |
1074 | 969 | ||
1075 | /** | 970 | /** |
1076 | * The meta object literal for the '<em><b>Communication Link</b></em>' containment reference feature. | ||
1077 | * <!-- begin-user-doc --> | ||
1078 | * <!-- end-user-doc --> | ||
1079 | * @generated | ||
1080 | */ | ||
1081 | EReference COMMUNICATING_ELEMENT__COMMUNICATION_LINK = eINSTANCE.getCommunicatingElement_CommunicationLink(); | ||
1082 | |||
1083 | /** | ||
1084 | * The meta object literal for the '{@link satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. | 971 | * The meta object literal for the '{@link satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. |
1085 | * <!-- begin-user-doc --> | 972 | * <!-- begin-user-doc --> |
1086 | * <!-- end-user-doc --> | 973 | * <!-- end-user-doc --> |
@@ -1119,30 +1006,12 @@ public interface SatellitePackage extends EPackage { | |||
1119 | EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); | 1006 | EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); |
1120 | 1007 | ||
1121 | /** | 1008 | /** |
1122 | * The meta object literal for the '{@link satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * <!-- end-user-doc --> | ||
1125 | * @see satellite.impl.DirectedCommunicationLinkImpl | ||
1126 | * @see satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() | ||
1127 | * @generated | ||
1128 | */ | ||
1129 | EClass DIRECTED_COMMUNICATION_LINK = eINSTANCE.getDirectedCommunicationLink(); | ||
1130 | |||
1131 | /** | ||
1132 | * The meta object literal for the '<em><b>Source</b></em>' reference feature. | ||
1133 | * <!-- begin-user-doc --> | ||
1134 | * <!-- end-user-doc --> | ||
1135 | * @generated | ||
1136 | */ | ||
1137 | EReference DIRECTED_COMMUNICATION_LINK__SOURCE = eINSTANCE.getDirectedCommunicationLink_Source(); | ||
1138 | |||
1139 | /** | ||
1140 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | 1009 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. |
1141 | * <!-- begin-user-doc --> | 1010 | * <!-- begin-user-doc --> |
1142 | * <!-- end-user-doc --> | 1011 | * <!-- end-user-doc --> |
1143 | * @generated | 1012 | * @generated |
1144 | */ | 1013 | */ |
1145 | EReference DIRECTED_COMMUNICATION_LINK__TARGET = eINSTANCE.getDirectedCommunicationLink_Target(); | 1014 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); |
1146 | 1015 | ||
1147 | /** | 1016 | /** |
1148 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | 1017 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. |
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 cae35a0c..cdfbd6de 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 | |||
@@ -2,7 +2,10 @@ | |||
2 | */ | 2 | */ |
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import org.eclipse.emf.common.notify.Notification; | ||
5 | import org.eclipse.emf.ecore.EClass; | 6 | import org.eclipse.emf.ecore.EClass; |
7 | import org.eclipse.emf.ecore.InternalEObject; | ||
8 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
6 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 9 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
7 | import satellite.CommSubsystem; | 10 | import satellite.CommSubsystem; |
8 | import satellite.SatellitePackage; | 11 | import satellite.SatellitePackage; |
@@ -11,11 +14,27 @@ import satellite.SatellitePackage; | |||
11 | * <!-- begin-user-doc --> | 14 | * <!-- begin-user-doc --> |
12 | * An implementation of the model object '<em><b>Comm Subsystem</b></em>'. | 15 | * An implementation of the model object '<em><b>Comm Subsystem</b></em>'. |
13 | * <!-- end-user-doc --> | 16 | * <!-- end-user-doc --> |
17 | * <p> | ||
18 | * The following features are implemented: | ||
19 | * </p> | ||
20 | * <ul> | ||
21 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> | ||
22 | * </ul> | ||
14 | * | 23 | * |
15 | * @generated | 24 | * @generated |
16 | */ | 25 | */ |
17 | public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { | 26 | public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { |
18 | /** | 27 | /** |
28 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @see #getTarget() | ||
32 | * @generated | ||
33 | * @ordered | ||
34 | */ | ||
35 | protected CommSubsystem target; | ||
36 | |||
37 | /** | ||
19 | * <!-- begin-user-doc --> | 38 | * <!-- begin-user-doc --> |
20 | * <!-- end-user-doc --> | 39 | * <!-- end-user-doc --> |
21 | * @generated | 40 | * @generated |
@@ -34,4 +53,106 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
34 | return SatellitePackage.Literals.COMM_SUBSYSTEM; | 53 | return SatellitePackage.Literals.COMM_SUBSYSTEM; |
35 | } | 54 | } |
36 | 55 | ||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | @Override | ||
62 | public CommSubsystem getTarget() { | ||
63 | if (target != null && target.eIsProxy()) { | ||
64 | InternalEObject oldTarget = (InternalEObject) target; | ||
65 | target = (CommSubsystem) eResolveProxy(oldTarget); | ||
66 | if (target != oldTarget) { | ||
67 | if (eNotificationRequired()) | ||
68 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SatellitePackage.COMM_SUBSYSTEM__TARGET, | ||
69 | oldTarget, target)); | ||
70 | } | ||
71 | } | ||
72 | return target; | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | public CommSubsystem basicGetTarget() { | ||
81 | return target; | ||
82 | } | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | @Override | ||
90 | public void setTarget(CommSubsystem newTarget) { | ||
91 | CommSubsystem oldTarget = target; | ||
92 | target = newTarget; | ||
93 | if (eNotificationRequired()) | ||
94 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, | ||
95 | target)); | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
105 | switch (featureID) { | ||
106 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
107 | if (resolve) | ||
108 | return getTarget(); | ||
109 | return basicGetTarget(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) { | ||
121 | switch (featureID) { | ||
122 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
123 | setTarget((CommSubsystem) newValue); | ||
124 | return; | ||
125 | } | ||
126 | super.eSet(featureID, newValue); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public void eUnset(int featureID) { | ||
136 | switch (featureID) { | ||
137 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
138 | setTarget((CommSubsystem) null); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) { | ||
151 | switch (featureID) { | ||
152 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | ||
153 | return target != null; | ||
154 | } | ||
155 | return super.eIsSet(featureID); | ||
156 | } | ||
157 | |||
37 | } //CommSubsystemImpl | 158 | } //CommSubsystemImpl |
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 @@ | |||
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import java.util.Collection; | 5 | import java.util.Collection; |
6 | |||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.common.notify.NotificationChain; | 6 | import org.eclipse.emf.common.notify.NotificationChain; |
9 | 7 | ||
10 | import org.eclipse.emf.common.util.EList; | 8 | import org.eclipse.emf.common.util.EList; |
11 | 9 | ||
12 | import org.eclipse.emf.ecore.EClass; | 10 | import org.eclipse.emf.ecore.EClass; |
13 | import org.eclipse.emf.ecore.InternalEObject; | 11 | import org.eclipse.emf.ecore.InternalEObject; |
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 12 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
17 | 13 | ||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | 14 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; |
@@ -20,7 +16,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
20 | 16 | ||
21 | import satellite.CommSubsystem; | 17 | import satellite.CommSubsystem; |
22 | import satellite.CommunicatingElement; | 18 | import satellite.CommunicatingElement; |
23 | import satellite.DirectedCommunicationLink; | ||
24 | import satellite.SatellitePackage; | 19 | import 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 | } |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/DirectedCommunicationLinkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/DirectedCommunicationLinkImpl.java deleted file mode 100644 index 2df1328f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/DirectedCommunicationLinkImpl.java +++ /dev/null | |||
@@ -1,227 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.InternalEObject; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | import satellite.CommSubsystem; | ||
14 | import satellite.DirectedCommunicationLink; | ||
15 | import satellite.SatellitePackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Directed Communication Link</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link satellite.impl.DirectedCommunicationLinkImpl#getSource <em>Source</em>}</li> | ||
26 | * <li>{@link satellite.impl.DirectedCommunicationLinkImpl#getTarget <em>Target</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class DirectedCommunicationLinkImpl extends MinimalEObjectImpl.Container implements DirectedCommunicationLink { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getSource() <em>Source</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getSource() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected CommSubsystem source; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getTarget() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected CommSubsystem target; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected DirectedCommunicationLinkImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return SatellitePackage.Literals.DIRECTED_COMMUNICATION_LINK; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public CommSubsystem getSource() { | ||
78 | if (source != null && source.eIsProxy()) { | ||
79 | InternalEObject oldSource = (InternalEObject) source; | ||
80 | source = (CommSubsystem) eResolveProxy(oldSource); | ||
81 | if (source != oldSource) { | ||
82 | if (eNotificationRequired()) | ||
83 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, | ||
84 | SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, oldSource, source)); | ||
85 | } | ||
86 | } | ||
87 | return source; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public CommSubsystem basicGetSource() { | ||
96 | return source; | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public void setSource(CommSubsystem newSource) { | ||
106 | CommSubsystem oldSource = source; | ||
107 | source = newSource; | ||
108 | if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, | ||
110 | oldSource, source)); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @Override | ||
119 | public CommSubsystem getTarget() { | ||
120 | if (target != null && target.eIsProxy()) { | ||
121 | InternalEObject oldTarget = (InternalEObject) target; | ||
122 | target = (CommSubsystem) eResolveProxy(oldTarget); | ||
123 | if (target != oldTarget) { | ||
124 | if (eNotificationRequired()) | ||
125 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, | ||
126 | SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, oldTarget, target)); | ||
127 | } | ||
128 | } | ||
129 | return target; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public CommSubsystem basicGetTarget() { | ||
138 | return target; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public void setTarget(CommSubsystem newTarget) { | ||
148 | CommSubsystem oldTarget = target; | ||
149 | target = newTarget; | ||
150 | if (eNotificationRequired()) | ||
151 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, | ||
152 | oldTarget, target)); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
162 | switch (featureID) { | ||
163 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
164 | if (resolve) | ||
165 | return getSource(); | ||
166 | return basicGetSource(); | ||
167 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
168 | if (resolve) | ||
169 | return getTarget(); | ||
170 | return basicGetTarget(); | ||
171 | } | ||
172 | return super.eGet(featureID, resolve, coreType); | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | @Override | ||
181 | public void eSet(int featureID, Object newValue) { | ||
182 | switch (featureID) { | ||
183 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
184 | setSource((CommSubsystem) newValue); | ||
185 | return; | ||
186 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
187 | setTarget((CommSubsystem) newValue); | ||
188 | return; | ||
189 | } | ||
190 | super.eSet(featureID, newValue); | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | @Override | ||
199 | public void eUnset(int featureID) { | ||
200 | switch (featureID) { | ||
201 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
202 | setSource((CommSubsystem) null); | ||
203 | return; | ||
204 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
205 | setTarget((CommSubsystem) null); | ||
206 | return; | ||
207 | } | ||
208 | super.eUnset(featureID); | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public boolean eIsSet(int featureID) { | ||
218 | switch (featureID) { | ||
219 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
220 | return source != null; | ||
221 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
222 | return target != null; | ||
223 | } | ||
224 | return super.eIsSet(featureID); | ||
225 | } | ||
226 | |||
227 | } //DirectedCommunicationLinkImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatelliteFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatelliteFactoryImpl.java index 135527c6..71e16abf 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatelliteFactoryImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatelliteFactoryImpl.java | |||
@@ -60,8 +60,6 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto | |||
60 | return createInterferometryMission(); | 60 | return createInterferometryMission(); |
61 | case SatellitePackage.GROUND_STATION_NETWORK: | 61 | case SatellitePackage.GROUND_STATION_NETWORK: |
62 | return createGroundStationNetwork(); | 62 | return createGroundStationNetwork(); |
63 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK: | ||
64 | return createDirectedCommunicationLink(); | ||
65 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: | 63 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: |
66 | return createInterferometryPayload(); | 64 | return createInterferometryPayload(); |
67 | case SatellitePackage.CUBE_SAT3_U: | 65 | case SatellitePackage.CUBE_SAT3_U: |
@@ -109,17 +107,6 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto | |||
109 | * @generated | 107 | * @generated |
110 | */ | 108 | */ |
111 | @Override | 109 | @Override |
112 | public DirectedCommunicationLink createDirectedCommunicationLink() { | ||
113 | DirectedCommunicationLinkImpl directedCommunicationLink = new DirectedCommunicationLinkImpl(); | ||
114 | return directedCommunicationLink; | ||
115 | } | ||
116 | |||
117 | /** | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | */ | ||
122 | @Override | ||
123 | public InterferometryPayload createInterferometryPayload() { | 110 | public InterferometryPayload createInterferometryPayload() { |
124 | InterferometryPayloadImpl interferometryPayload = new InterferometryPayloadImpl(); | 111 | InterferometryPayloadImpl interferometryPayload = new InterferometryPayloadImpl(); |
125 | return interferometryPayload; | 112 | return interferometryPayload; |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java index daec68a9..e3e20e0c 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java | |||
@@ -14,7 +14,6 @@ import satellite.ConstellationMission; | |||
14 | import satellite.CubeSat; | 14 | import satellite.CubeSat; |
15 | import satellite.CubeSat3U; | 15 | import satellite.CubeSat3U; |
16 | import satellite.CubeSat6U; | 16 | import satellite.CubeSat6U; |
17 | import satellite.DirectedCommunicationLink; | ||
18 | import satellite.GroundStationNetwork; | 17 | import satellite.GroundStationNetwork; |
19 | import satellite.InterferometryMission; | 18 | import satellite.InterferometryMission; |
20 | import satellite.InterferometryPayload; | 19 | import satellite.InterferometryPayload; |
@@ -81,13 +80,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
81 | * <!-- end-user-doc --> | 80 | * <!-- end-user-doc --> |
82 | * @generated | 81 | * @generated |
83 | */ | 82 | */ |
84 | private EClass directedCommunicationLinkEClass = null; | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | private EClass payloadEClass = null; | 83 | private EClass payloadEClass = null; |
92 | 84 | ||
93 | /** | 85 | /** |
@@ -286,16 +278,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
286 | * @generated | 278 | * @generated |
287 | */ | 279 | */ |
288 | @Override | 280 | @Override |
289 | public EReference getCommunicatingElement_CommunicationLink() { | ||
290 | return (EReference) communicatingElementEClass.getEStructuralFeatures().get(1); | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public EClass getGroundStationNetwork() { | 281 | public EClass getGroundStationNetwork() { |
300 | return groundStationNetworkEClass; | 282 | return groundStationNetworkEClass; |
301 | } | 283 | } |
@@ -336,28 +318,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
336 | * @generated | 318 | * @generated |
337 | */ | 319 | */ |
338 | @Override | 320 | @Override |
339 | public EClass getDirectedCommunicationLink() { | 321 | public EReference getCommSubsystem_Target() { |
340 | return directedCommunicationLinkEClass; | 322 | return (EReference) commSubsystemEClass.getEStructuralFeatures().get(0); |
341 | } | ||
342 | |||
343 | /** | ||
344 | * <!-- begin-user-doc --> | ||
345 | * <!-- end-user-doc --> | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public EReference getDirectedCommunicationLink_Source() { | ||
350 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(0); | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | @Override | ||
359 | public EReference getDirectedCommunicationLink_Target() { | ||
360 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(1); | ||
361 | } | 323 | } |
362 | 324 | ||
363 | /** | 325 | /** |
@@ -489,7 +451,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
489 | 451 | ||
490 | communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); | 452 | communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); |
491 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | 453 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); |
492 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMMUNICATION_LINK); | ||
493 | 454 | ||
494 | groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); | 455 | groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); |
495 | 456 | ||
@@ -497,10 +458,7 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
497 | createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); | 458 | createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); |
498 | 459 | ||
499 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | 460 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); |
500 | 461 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); | |
501 | directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); | ||
502 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); | ||
503 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__TARGET); | ||
504 | 462 | ||
505 | payloadEClass = createEClass(PAYLOAD); | 463 | payloadEClass = createEClass(PAYLOAD); |
506 | 464 | ||
@@ -583,9 +541,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
583 | initEReference(getCommunicatingElement_CommSubsystem(), this.getCommSubsystem(), null, "commSubsystem", null, 1, | 541 | initEReference(getCommunicatingElement_CommSubsystem(), this.getCommSubsystem(), null, "commSubsystem", null, 1, |
584 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | 542 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, |
585 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 543 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
586 | initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, | ||
587 | "communicationLink", null, 0, 1, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, | ||
588 | IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
589 | 544 | ||
590 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, | 545 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, |
591 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 546 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -598,15 +553,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
598 | 553 | ||
599 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, | 554 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, |
600 | IS_GENERATED_INSTANCE_CLASS); | 555 | IS_GENERATED_INSTANCE_CLASS); |
601 | 556 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, | |
602 | initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", | 557 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, |
603 | !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 558 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
604 | initEReference(getDirectedCommunicationLink_Source(), this.getCommSubsystem(), null, "source", null, 1, 1, | ||
605 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
606 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
607 | initEReference(getDirectedCommunicationLink_Target(), this.getCommSubsystem(), null, "target", null, 1, 1, | ||
608 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
609 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
610 | 559 | ||
611 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 560 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
612 | 561 | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java index 84ddf263..175f474f 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java | |||
@@ -97,11 +97,6 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl { | |||
97 | } | 97 | } |
98 | 98 | ||
99 | @Override | 99 | @Override |
100 | public Adapter caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
101 | return createDirectedCommunicationLinkAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter casePayload(Payload object) { | 100 | public Adapter casePayload(Payload object) { |
106 | return createPayloadAdapter(); | 101 | return createPayloadAdapter(); |
107 | } | 102 | } |
@@ -250,20 +245,6 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl { | |||
250 | } | 245 | } |
251 | 246 | ||
252 | /** | 247 | /** |
253 | * Creates a new adapter for an object of class '{@link satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | ||
254 | * <!-- begin-user-doc --> | ||
255 | * This default implementation returns null so that we can easily ignore cases; | ||
256 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
257 | * <!-- end-user-doc --> | ||
258 | * @return the new adapter. | ||
259 | * @see satellite.DirectedCommunicationLink | ||
260 | * @generated | ||
261 | */ | ||
262 | public Adapter createDirectedCommunicationLinkAdapter() { | ||
263 | return null; | ||
264 | } | ||
265 | |||
266 | /** | ||
267 | * Creates a new adapter for an object of class '{@link satellite.Payload <em>Payload</em>}'. | 248 | * Creates a new adapter for an object of class '{@link satellite.Payload <em>Payload</em>}'. |
268 | * <!-- begin-user-doc --> | 249 | * <!-- begin-user-doc --> |
269 | * This default implementation returns null so that we can easily ignore cases; | 250 | * This default implementation returns null so that we can easily ignore cases; |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java index 6975d851..541d8494 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java | |||
@@ -114,13 +114,6 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
114 | result = defaultCase(theEObject); | 114 | result = defaultCase(theEObject); |
115 | return result; | 115 | return result; |
116 | } | 116 | } |
117 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK: { | ||
118 | DirectedCommunicationLink directedCommunicationLink = (DirectedCommunicationLink) theEObject; | ||
119 | T result = caseDirectedCommunicationLink(directedCommunicationLink); | ||
120 | if (result == null) | ||
121 | result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case SatellitePackage.PAYLOAD: { | 117 | case SatellitePackage.PAYLOAD: { |
125 | Payload payload = (Payload) theEObject; | 118 | Payload payload = (Payload) theEObject; |
126 | T result = casePayload(payload); | 119 | T result = casePayload(payload); |
@@ -308,21 +301,6 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
308 | } | 301 | } |
309 | 302 | ||
310 | /** | 303 | /** |
311 | * Returns the result of interpreting the object as an instance of '<em>Directed Communication Link</em>'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This implementation returns null; | ||
314 | * returning a non-null result will terminate the switch. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @param object the target of the switch. | ||
317 | * @return the result of interpreting the object as an instance of '<em>Directed Communication Link</em>'. | ||
318 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
319 | * @generated | ||
320 | */ | ||
321 | public T caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
322 | return null; | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * Returns the result of interpreting the object as an instance of '<em>Payload</em>'. | 304 | * Returns the result of interpreting the object as an instance of '<em>Payload</em>'. |
327 | * <!-- begin-user-doc --> | 305 | * <!-- begin-user-doc --> |
328 | * This implementation returns null; | 306 | * This implementation returns null; |