diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java | 59 |
1 files changed, 41 insertions, 18 deletions
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 2347fe07..68e4ce30 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,6 +14,7 @@ import satellite.AntennaGain; | |||
14 | import satellite.CommSubsystem; | 14 | import satellite.CommSubsystem; |
15 | import satellite.CommunicatingElement; | 15 | import satellite.CommunicatingElement; |
16 | import satellite.ConstellationMission; | 16 | import satellite.ConstellationMission; |
17 | import satellite.CubeSat; | ||
17 | import satellite.CubeSat3U; | 18 | import satellite.CubeSat3U; |
18 | import satellite.CubeSat6U; | 19 | import satellite.CubeSat6U; |
19 | import satellite.DirectedCommunicationLink; | 20 | import satellite.DirectedCommunicationLink; |
@@ -124,6 +125,13 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
124 | * <!-- end-user-doc --> | 125 | * <!-- end-user-doc --> |
125 | * @generated | 126 | * @generated |
126 | */ | 127 | */ |
128 | private EClass cubeSatEClass = null; | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
127 | private EEnum transceiverBandEEnum = null; | 135 | private EEnum transceiverBandEEnum = null; |
128 | 136 | ||
129 | /** | 137 | /** |
@@ -360,6 +368,16 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
360 | * @generated | 368 | * @generated |
361 | */ | 369 | */ |
362 | @Override | 370 | @Override |
371 | public EReference getCommSubsystem_CommunicationLink() { | ||
372 | return (EReference) commSubsystemEClass.getEStructuralFeatures().get(2); | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | @Override | ||
363 | public EClass getDirectedCommunicationLink() { | 381 | public EClass getDirectedCommunicationLink() { |
364 | return directedCommunicationLinkEClass; | 382 | return directedCommunicationLinkEClass; |
365 | } | 383 | } |
@@ -440,6 +458,16 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
440 | * @generated | 458 | * @generated |
441 | */ | 459 | */ |
442 | @Override | 460 | @Override |
461 | public EClass getCubeSat() { | ||
462 | return cubeSatEClass; | ||
463 | } | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | @Override | ||
443 | public EEnum getTransceiverBand() { | 471 | public EEnum getTransceiverBand() { |
444 | return transceiverBandEEnum; | 472 | return transceiverBandEEnum; |
445 | } | 473 | } |
@@ -514,6 +542,7 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
514 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | 542 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); |
515 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND); | 543 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND); |
516 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN); | 544 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN); |
545 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__COMMUNICATION_LINK); | ||
517 | 546 | ||
518 | directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); | 547 | directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); |
519 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); | 548 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); |
@@ -529,6 +558,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
529 | 558 | ||
530 | smallSatEClass = createEClass(SMALL_SAT); | 559 | smallSatEClass = createEClass(SMALL_SAT); |
531 | 560 | ||
561 | cubeSatEClass = createEClass(CUBE_SAT); | ||
562 | |||
532 | // Create enums | 563 | // Create enums |
533 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); | 564 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); |
534 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); | 565 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); |
@@ -568,9 +599,10 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
568 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); | 599 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); |
569 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); | 600 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); |
570 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); | 601 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); |
571 | cubeSat3UEClass.getESuperTypes().add(this.getSpacecraft()); | 602 | cubeSat3UEClass.getESuperTypes().add(this.getCubeSat()); |
572 | cubeSat6UEClass.getESuperTypes().add(this.getSpacecraft()); | 603 | cubeSat6UEClass.getESuperTypes().add(this.getCubeSat()); |
573 | smallSatEClass.getESuperTypes().add(this.getSpacecraft()); | 604 | smallSatEClass.getESuperTypes().add(this.getSpacecraft()); |
605 | cubeSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
574 | 606 | ||
575 | // Initialize classes, features, and operations; add parameters | 607 | // Initialize classes, features, and operations; add parameters |
576 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, | 608 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, |
@@ -594,8 +626,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
594 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | 626 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, |
595 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 627 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
596 | initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, | 628 | initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, |
597 | "communicationLink", null, 0, 1, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, | 629 | "communicationLink", null, 0, 1, CommunicatingElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, |
598 | IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 630 | !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); |
599 | 631 | ||
600 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, | 632 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, |
601 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 633 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -614,6 +646,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
614 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 646 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
615 | initEAttribute(getCommSubsystem_Gain(), this.getAntennaGain(), "gain", null, 1, 1, CommSubsystem.class, | 647 | initEAttribute(getCommSubsystem_Gain(), this.getAntennaGain(), "gain", null, 1, 1, CommSubsystem.class, |
616 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 648 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
649 | initEReference(getCommSubsystem_CommunicationLink(), this.getDirectedCommunicationLink(), null, | ||
650 | "communicationLink", null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, | ||
651 | IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
617 | 652 | ||
618 | initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", | 653 | initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", |
619 | !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 654 | !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
@@ -638,6 +673,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
638 | initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, | 673 | initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, |
639 | IS_GENERATED_INSTANCE_CLASS); | 674 | IS_GENERATED_INSTANCE_CLASS); |
640 | 675 | ||
676 | initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
677 | |||
641 | // Initialize enums and add enum literals | 678 | // Initialize enums and add enum literals |
642 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); | 679 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); |
643 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); | 680 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); |
@@ -660,8 +697,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
660 | // Create annotations | 697 | // Create annotations |
661 | // http://www.eclipse.org/emf/2002/Ecore | 698 | // http://www.eclipse.org/emf/2002/Ecore |
662 | createEcoreAnnotations(); | 699 | createEcoreAnnotations(); |
663 | // org.eclipse.viatra.query.querybasedfeature | ||
664 | createOrgAnnotations(); | ||
665 | } | 700 | } |
666 | 701 | ||
667 | /** | 702 | /** |
@@ -675,16 +710,4 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
675 | addAnnotation(this, source, new String[] { "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" }); | 710 | addAnnotation(this, source, new String[] { "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" }); |
676 | } | 711 | } |
677 | 712 | ||
678 | /** | ||
679 | * Initializes the annotations for <b>org.eclipse.viatra.query.querybasedfeature</b>. | ||
680 | * <!-- begin-user-doc --> | ||
681 | * <!-- end-user-doc --> | ||
682 | * @generated | ||
683 | */ | ||
684 | protected void createOrgAnnotations() { | ||
685 | String source = "org.eclipse.viatra.query.querybasedfeature"; | ||
686 | addAnnotation(getSpacecraft_Kind(), source, | ||
687 | new String[] { "patternFQN", "hu.bme.mit.inf.dslreasoner.domains.satellite.queries.spacecraftOfKind" }); | ||
688 | } | ||
689 | |||
690 | } //SatellitePackageImpl | 713 | } //SatellitePackageImpl |