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