diff options
author | 2019-05-06 18:42:22 -0400 | |
---|---|---|
committer | 2019-05-06 18:42:22 -0400 | |
commit | 09b1255f11ee17828da706f682e33f50316887fe (patch) | |
tree | f3783961c521b73201a9d079be78feb26e8a285c /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme | |
parent | Merge remote-tracking branch 'origin/master' into kris (diff) | |
download | VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.gz VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.zst VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.zip |
Trying to implement spacecraft case study
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme')
16 files changed, 862 insertions, 72 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java new file mode 100644 index 00000000..ef66dce5 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java | |||
@@ -0,0 +1,16 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Cube Sat</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat() | ||
12 | * @model abstract="true" | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface CubeSat extends Spacecraft { | ||
16 | } // CubeSat | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java index 39b2c2be..98dea285 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java | |||
@@ -12,5 +12,5 @@ package hu.bme.mit.inf.dslreasoner.domains.satellite; | |||
12 | * @model | 12 | * @model |
13 | * @generated | 13 | * @generated |
14 | */ | 14 | */ |
15 | public interface CubeSat3U extends Spacecraft { | 15 | public interface CubeSat3U extends CubeSat { |
16 | } // CubeSat3U | 16 | } // CubeSat3U |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java index 50b81a6b..eb64fe33 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java | |||
@@ -12,5 +12,5 @@ package hu.bme.mit.inf.dslreasoner.domains.satellite; | |||
12 | * @model | 12 | * @model |
13 | * @generated | 13 | * @generated |
14 | */ | 14 | */ |
15 | public interface CubeSat6U extends Spacecraft { | 15 | public interface CubeSat6U extends CubeSat { |
16 | } // CubeSat6U | 16 | } // CubeSat6U |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java index 958bbc08..3b2bc48a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java | |||
@@ -67,6 +67,33 @@ public interface SatelliteFactory extends EFactory { | |||
67 | InterferometryPayload createInterferometryPayload(); | 67 | InterferometryPayload createInterferometryPayload(); |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * Returns a new object of class '<em>Cube Sat3 U</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Cube Sat3 U</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | CubeSat3U createCubeSat3U(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Cube Sat6 U</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Cube Sat6 U</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | CubeSat6U createCubeSat6U(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>Small Sat</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>Small Sat</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | SmallSat createSmallSat(); | ||
95 | |||
96 | /** | ||
70 | * Returns the package supported by this factory. | 97 | * Returns the package supported by this factory. |
71 | * <!-- begin-user-doc --> | 98 | * <!-- begin-user-doc --> |
72 | * <!-- end-user-doc --> | 99 | * <!-- end-user-doc --> |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java index 61da12a0..1e129422 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java | |||
@@ -463,6 +463,262 @@ public interface SatellitePackage extends EPackage { | |||
463 | int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; | 463 | int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; |
464 | 464 | ||
465 | /** | 465 | /** |
466 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl | ||
470 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() | ||
471 | * @generated | ||
472 | */ | ||
473 | int CUBE_SAT = 12; | ||
474 | |||
475 | /** | ||
476 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @generated | ||
480 | * @ordered | ||
481 | */ | ||
482 | int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
483 | |||
484 | /** | ||
485 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | * @ordered | ||
490 | */ | ||
491 | int CUBE_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
492 | |||
493 | /** | ||
494 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @generated | ||
498 | * @ordered | ||
499 | */ | ||
500 | int CUBE_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
501 | |||
502 | /** | ||
503 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | * @ordered | ||
508 | */ | ||
509 | int CUBE_SAT__KIND = SPACECRAFT__KIND; | ||
510 | |||
511 | /** | ||
512 | * The number of structural features of the '<em>Cube Sat</em>' class. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @generated | ||
516 | * @ordered | ||
517 | */ | ||
518 | int CUBE_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
519 | |||
520 | /** | ||
521 | * The number of operations of the '<em>Cube Sat</em>' class. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @generated | ||
525 | * @ordered | ||
526 | */ | ||
527 | int CUBE_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
528 | |||
529 | /** | ||
530 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl | ||
534 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
535 | * @generated | ||
536 | */ | ||
537 | int CUBE_SAT3_U = 9; | ||
538 | |||
539 | /** | ||
540 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | * @ordered | ||
545 | */ | ||
546 | int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
547 | |||
548 | /** | ||
549 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * <!-- end-user-doc --> | ||
552 | * @generated | ||
553 | * @ordered | ||
554 | */ | ||
555 | int CUBE_SAT3_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
556 | |||
557 | /** | ||
558 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @generated | ||
562 | * @ordered | ||
563 | */ | ||
564 | int CUBE_SAT3_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
565 | |||
566 | /** | ||
567 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | * @ordered | ||
572 | */ | ||
573 | int CUBE_SAT3_U__KIND = CUBE_SAT__KIND; | ||
574 | |||
575 | /** | ||
576 | * The number of structural features of the '<em>Cube Sat3 U</em>' class. | ||
577 | * <!-- begin-user-doc --> | ||
578 | * <!-- end-user-doc --> | ||
579 | * @generated | ||
580 | * @ordered | ||
581 | */ | ||
582 | int CUBE_SAT3_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
583 | |||
584 | /** | ||
585 | * The number of operations of the '<em>Cube Sat3 U</em>' class. | ||
586 | * <!-- begin-user-doc --> | ||
587 | * <!-- end-user-doc --> | ||
588 | * @generated | ||
589 | * @ordered | ||
590 | */ | ||
591 | int CUBE_SAT3_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
592 | |||
593 | /** | ||
594 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
595 | * <!-- begin-user-doc --> | ||
596 | * <!-- end-user-doc --> | ||
597 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl | ||
598 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
599 | * @generated | ||
600 | */ | ||
601 | int CUBE_SAT6_U = 10; | ||
602 | |||
603 | /** | ||
604 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
605 | * <!-- begin-user-doc --> | ||
606 | * <!-- end-user-doc --> | ||
607 | * @generated | ||
608 | * @ordered | ||
609 | */ | ||
610 | int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
611 | |||
612 | /** | ||
613 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @generated | ||
617 | * @ordered | ||
618 | */ | ||
619 | int CUBE_SAT6_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
620 | |||
621 | /** | ||
622 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | * @ordered | ||
627 | */ | ||
628 | int CUBE_SAT6_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
629 | |||
630 | /** | ||
631 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * <!-- end-user-doc --> | ||
634 | * @generated | ||
635 | * @ordered | ||
636 | */ | ||
637 | int CUBE_SAT6_U__KIND = CUBE_SAT__KIND; | ||
638 | |||
639 | /** | ||
640 | * The number of structural features of the '<em>Cube Sat6 U</em>' class. | ||
641 | * <!-- begin-user-doc --> | ||
642 | * <!-- end-user-doc --> | ||
643 | * @generated | ||
644 | * @ordered | ||
645 | */ | ||
646 | int CUBE_SAT6_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
647 | |||
648 | /** | ||
649 | * The number of operations of the '<em>Cube Sat6 U</em>' class. | ||
650 | * <!-- begin-user-doc --> | ||
651 | * <!-- end-user-doc --> | ||
652 | * @generated | ||
653 | * @ordered | ||
654 | */ | ||
655 | int CUBE_SAT6_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
656 | |||
657 | /** | ||
658 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * <!-- end-user-doc --> | ||
661 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl | ||
662 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() | ||
663 | * @generated | ||
664 | */ | ||
665 | int SMALL_SAT = 11; | ||
666 | |||
667 | /** | ||
668 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @generated | ||
672 | * @ordered | ||
673 | */ | ||
674 | int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
675 | |||
676 | /** | ||
677 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
678 | * <!-- begin-user-doc --> | ||
679 | * <!-- end-user-doc --> | ||
680 | * @generated | ||
681 | * @ordered | ||
682 | */ | ||
683 | int SMALL_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
684 | |||
685 | /** | ||
686 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
687 | * <!-- begin-user-doc --> | ||
688 | * <!-- end-user-doc --> | ||
689 | * @generated | ||
690 | * @ordered | ||
691 | */ | ||
692 | int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
693 | |||
694 | /** | ||
695 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
696 | * <!-- begin-user-doc --> | ||
697 | * <!-- end-user-doc --> | ||
698 | * @generated | ||
699 | * @ordered | ||
700 | */ | ||
701 | int SMALL_SAT__KIND = SPACECRAFT__KIND; | ||
702 | |||
703 | /** | ||
704 | * The number of structural features of the '<em>Small Sat</em>' class. | ||
705 | * <!-- begin-user-doc --> | ||
706 | * <!-- end-user-doc --> | ||
707 | * @generated | ||
708 | * @ordered | ||
709 | */ | ||
710 | int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
711 | |||
712 | /** | ||
713 | * The number of operations of the '<em>Small Sat</em>' class. | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | * @ordered | ||
718 | */ | ||
719 | int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
720 | |||
721 | /** | ||
466 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. | 722 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. |
467 | * <!-- begin-user-doc --> | 723 | * <!-- begin-user-doc --> |
468 | * <!-- end-user-doc --> | 724 | * <!-- end-user-doc --> |
@@ -470,7 +726,7 @@ public interface SatellitePackage extends EPackage { | |||
470 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() | 726 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() |
471 | * @generated | 727 | * @generated |
472 | */ | 728 | */ |
473 | int TRANSCEIVER_BAND = 9; | 729 | int TRANSCEIVER_BAND = 13; |
474 | 730 | ||
475 | /** | 731 | /** |
476 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain <em>Antenna Gain</em>}' enum. | 732 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain <em>Antenna Gain</em>}' enum. |
@@ -480,7 +736,7 @@ public interface SatellitePackage extends EPackage { | |||
480 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() | 736 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() |
481 | * @generated | 737 | * @generated |
482 | */ | 738 | */ |
483 | int ANTENNA_GAIN = 10; | 739 | int ANTENNA_GAIN = 14; |
484 | 740 | ||
485 | /** | 741 | /** |
486 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. | 742 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. |
@@ -490,7 +746,7 @@ public interface SatellitePackage extends EPackage { | |||
490 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() | 746 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() |
491 | * @generated | 747 | * @generated |
492 | */ | 748 | */ |
493 | int SPACECRAFT_KIND = 11; | 749 | int SPACECRAFT_KIND = 15; |
494 | 750 | ||
495 | /** | 751 | /** |
496 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. | 752 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. |
@@ -704,6 +960,46 @@ public interface SatellitePackage extends EPackage { | |||
704 | EClass getInterferometryPayload(); | 960 | EClass getInterferometryPayload(); |
705 | 961 | ||
706 | /** | 962 | /** |
963 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
964 | * <!-- begin-user-doc --> | ||
965 | * <!-- end-user-doc --> | ||
966 | * @return the meta object for class '<em>Cube Sat3 U</em>'. | ||
967 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
968 | * @generated | ||
969 | */ | ||
970 | EClass getCubeSat3U(); | ||
971 | |||
972 | /** | ||
973 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
974 | * <!-- begin-user-doc --> | ||
975 | * <!-- end-user-doc --> | ||
976 | * @return the meta object for class '<em>Cube Sat6 U</em>'. | ||
977 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
978 | * @generated | ||
979 | */ | ||
980 | EClass getCubeSat6U(); | ||
981 | |||
982 | /** | ||
983 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
984 | * <!-- begin-user-doc --> | ||
985 | * <!-- end-user-doc --> | ||
986 | * @return the meta object for class '<em>Small Sat</em>'. | ||
987 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
988 | * @generated | ||
989 | */ | ||
990 | EClass getSmallSat(); | ||
991 | |||
992 | /** | ||
993 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat <em>Cube Sat</em>}'. | ||
994 | * <!-- begin-user-doc --> | ||
995 | * <!-- end-user-doc --> | ||
996 | * @return the meta object for class '<em>Cube Sat</em>'. | ||
997 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat | ||
998 | * @generated | ||
999 | */ | ||
1000 | EClass getCubeSat(); | ||
1001 | |||
1002 | /** | ||
707 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}'. | 1003 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}'. |
708 | * <!-- begin-user-doc --> | 1004 | * <!-- begin-user-doc --> |
709 | * <!-- end-user-doc --> | 1005 | * <!-- end-user-doc --> |
@@ -936,6 +1232,46 @@ public interface SatellitePackage extends EPackage { | |||
936 | EClass INTERFEROMETRY_PAYLOAD = eINSTANCE.getInterferometryPayload(); | 1232 | EClass INTERFEROMETRY_PAYLOAD = eINSTANCE.getInterferometryPayload(); |
937 | 1233 | ||
938 | /** | 1234 | /** |
1235 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
1236 | * <!-- begin-user-doc --> | ||
1237 | * <!-- end-user-doc --> | ||
1238 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl | ||
1239 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
1240 | * @generated | ||
1241 | */ | ||
1242 | EClass CUBE_SAT3_U = eINSTANCE.getCubeSat3U(); | ||
1243 | |||
1244 | /** | ||
1245 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
1246 | * <!-- begin-user-doc --> | ||
1247 | * <!-- end-user-doc --> | ||
1248 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl | ||
1249 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
1250 | * @generated | ||
1251 | */ | ||
1252 | EClass CUBE_SAT6_U = eINSTANCE.getCubeSat6U(); | ||
1253 | |||
1254 | /** | ||
1255 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
1256 | * <!-- begin-user-doc --> | ||
1257 | * <!-- end-user-doc --> | ||
1258 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl | ||
1259 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() | ||
1260 | * @generated | ||
1261 | */ | ||
1262 | EClass SMALL_SAT = eINSTANCE.getSmallSat(); | ||
1263 | |||
1264 | /** | ||
1265 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
1266 | * <!-- begin-user-doc --> | ||
1267 | * <!-- end-user-doc --> | ||
1268 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl | ||
1269 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() | ||
1270 | * @generated | ||
1271 | */ | ||
1272 | EClass CUBE_SAT = eINSTANCE.getCubeSat(); | ||
1273 | |||
1274 | /** | ||
939 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. | 1275 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. |
940 | * <!-- begin-user-doc --> | 1276 | * <!-- begin-user-doc --> |
941 | * <!-- end-user-doc --> | 1277 | * <!-- end-user-doc --> |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java index cc4b85a1..34f9750a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java | |||
@@ -57,22 +57,10 @@ public interface Spacecraft extends CommunicatingElement { | |||
57 | * <!-- end-user-doc --> | 57 | * <!-- end-user-doc --> |
58 | * @return the value of the '<em>Kind</em>' attribute. | 58 | * @return the value of the '<em>Kind</em>' attribute. |
59 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | 59 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind |
60 | * @see #setKind(SpacecraftKind) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Kind() | 60 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Kind() |
62 | * @model required="true" | 61 | * @model required="true" transient="true" changeable="false" volatile="true" derived="true" |
63 | * @generated | 62 | * @generated |
64 | */ | 63 | */ |
65 | SpacecraftKind getKind(); | 64 | SpacecraftKind getKind(); |
66 | 65 | ||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind <em>Kind</em>}' attribute. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Kind</em>' attribute. | ||
72 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | ||
73 | * @see #getKind() | ||
74 | * @generated | ||
75 | */ | ||
76 | void setKind(SpacecraftKind value); | ||
77 | |||
78 | } // Spacecraft | 66 | } // Spacecraft |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java index 8be6abc1..b0b6aede 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java | |||
@@ -38,13 +38,13 @@ public enum SpacecraftKind implements Enumerator { | |||
38 | */ | 38 | */ |
39 | CUBE_SAT6_U(1, "CubeSat6U", "CubeSat6U"), | 39 | CUBE_SAT6_U(1, "CubeSat6U", "CubeSat6U"), |
40 | /** | 40 | /** |
41 | * The '<em><b>Small Sat</b></em>' literal object. | 41 | * The '<em><b>Small Sat</b></em>' literal object. |
42 | * <!-- begin-user-doc --> | 42 | * <!-- begin-user-doc --> |
43 | * <!-- end-user-doc --> | 43 | * <!-- end-user-doc --> |
44 | * @see #SMALL_SAT_VALUE | 44 | * @see #SMALL_SAT_VALUE |
45 | * @generated | 45 | * @generated |
46 | * @ordered | 46 | * @ordered |
47 | */ | 47 | */ |
48 | SMALL_SAT(2, "SmallSat", "SmallSat"); | 48 | SMALL_SAT(2, "SmallSat", "SmallSat"); |
49 | 49 | ||
50 | /** | 50 | /** |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java new file mode 100644 index 00000000..3e0d6f2c --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat3 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat3UImpl extends CubeSatImpl implements CubeSat3U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat3UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT3_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat3UImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java new file mode 100644 index 00000000..7ad2bc87 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat6 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat6UImpl extends CubeSatImpl implements CubeSat6U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat6UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT6_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat6UImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java new file mode 100644 index 00000000..b8e364a3 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class CubeSatImpl extends SpacecraftImpl implements CubeSat { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSatImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT; | ||
35 | } | ||
36 | |||
37 | } //CubeSatImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java index 0cb07cfa..028ba662 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java | |||
@@ -67,6 +67,12 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto | |||
67 | return createDirectedCommunicationLink(); | 67 | return createDirectedCommunicationLink(); |
68 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: | 68 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: |
69 | return createInterferometryPayload(); | 69 | return createInterferometryPayload(); |
70 | case SatellitePackage.CUBE_SAT3_U: | ||
71 | return createCubeSat3U(); | ||
72 | case SatellitePackage.CUBE_SAT6_U: | ||
73 | return createCubeSat6U(); | ||
74 | case SatellitePackage.SMALL_SAT: | ||
75 | return createSmallSat(); | ||
70 | default: | 76 | default: |
71 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | 77 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); |
72 | } | 78 | } |
@@ -170,6 +176,39 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto | |||
170 | * <!-- end-user-doc --> | 176 | * <!-- end-user-doc --> |
171 | * @generated | 177 | * @generated |
172 | */ | 178 | */ |
179 | @Override | ||
180 | public CubeSat3U createCubeSat3U() { | ||
181 | CubeSat3UImpl cubeSat3U = new CubeSat3UImpl(); | ||
182 | return cubeSat3U; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | @Override | ||
191 | public CubeSat6U createCubeSat6U() { | ||
192 | CubeSat6UImpl cubeSat6U = new CubeSat6UImpl(); | ||
193 | return cubeSat6U; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public SmallSat createSmallSat() { | ||
203 | SmallSatImpl smallSat = new SmallSatImpl(); | ||
204 | return smallSat; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
173 | public TransceiverBand createTransceiverBandFromString(EDataType eDataType, String initialValue) { | 212 | public TransceiverBand createTransceiverBandFromString(EDataType eDataType, String initialValue) { |
174 | TransceiverBand result = TransceiverBand.get(initialValue); | 213 | TransceiverBand result = TransceiverBand.get(initialValue); |
175 | if (result == null) | 214 | if (result == null) |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java index 48ba32b8..bbe77e4d 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java | |||
@@ -6,6 +6,9 @@ import hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain; | |||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; | 6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; |
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; | 7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; |
8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; | 8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; |
9 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; | ||
10 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; | ||
11 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; | ||
9 | import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; | 12 | import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; |
10 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; | 13 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; |
11 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; | 14 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; |
@@ -13,6 +16,7 @@ import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; | |||
13 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; | 16 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; |
14 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory; | 17 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory; |
15 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | 18 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; |
19 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; | ||
16 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; | 20 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; |
17 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; | 21 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; |
18 | import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; | 22 | import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; |
@@ -100,6 +104,34 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
100 | * <!-- end-user-doc --> | 104 | * <!-- end-user-doc --> |
101 | * @generated | 105 | * @generated |
102 | */ | 106 | */ |
107 | private EClass cubeSat3UEClass = null; | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | private EClass cubeSat6UEClass = null; | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | private EClass smallSatEClass = null; | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | private EClass cubeSatEClass = null; | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
103 | private EEnum transceiverBandEEnum = null; | 135 | private EEnum transceiverBandEEnum = null; |
104 | 136 | ||
105 | /** | 137 | /** |
@@ -386,6 +418,46 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
386 | * @generated | 418 | * @generated |
387 | */ | 419 | */ |
388 | @Override | 420 | @Override |
421 | public EClass getCubeSat3U() { | ||
422 | return cubeSat3UEClass; | ||
423 | } | ||
424 | |||
425 | /** | ||
426 | * <!-- begin-user-doc --> | ||
427 | * <!-- end-user-doc --> | ||
428 | * @generated | ||
429 | */ | ||
430 | @Override | ||
431 | public EClass getCubeSat6U() { | ||
432 | return cubeSat6UEClass; | ||
433 | } | ||
434 | |||
435 | /** | ||
436 | * <!-- begin-user-doc --> | ||
437 | * <!-- end-user-doc --> | ||
438 | * @generated | ||
439 | */ | ||
440 | @Override | ||
441 | public EClass getSmallSat() { | ||
442 | return smallSatEClass; | ||
443 | } | ||
444 | |||
445 | /** | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @generated | ||
449 | */ | ||
450 | @Override | ||
451 | public EClass getCubeSat() { | ||
452 | return cubeSatEClass; | ||
453 | } | ||
454 | |||
455 | /** | ||
456 | * <!-- begin-user-doc --> | ||
457 | * <!-- end-user-doc --> | ||
458 | * @generated | ||
459 | */ | ||
460 | @Override | ||
389 | public EEnum getTransceiverBand() { | 461 | public EEnum getTransceiverBand() { |
390 | return transceiverBandEEnum; | 462 | return transceiverBandEEnum; |
391 | } | 463 | } |
@@ -469,6 +541,14 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
469 | 541 | ||
470 | interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); | 542 | interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); |
471 | 543 | ||
544 | cubeSat3UEClass = createEClass(CUBE_SAT3_U); | ||
545 | |||
546 | cubeSat6UEClass = createEClass(CUBE_SAT6_U); | ||
547 | |||
548 | smallSatEClass = createEClass(SMALL_SAT); | ||
549 | |||
550 | cubeSatEClass = createEClass(CUBE_SAT); | ||
551 | |||
472 | // Create enums | 552 | // Create enums |
473 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); | 553 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); |
474 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); | 554 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); |
@@ -508,6 +588,10 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
508 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); | 588 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); |
509 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); | 589 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); |
510 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); | 590 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); |
591 | cubeSat3UEClass.getESuperTypes().add(this.getCubeSat()); | ||
592 | cubeSat6UEClass.getESuperTypes().add(this.getCubeSat()); | ||
593 | smallSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
594 | cubeSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
511 | 595 | ||
512 | // Initialize classes, features, and operations; add parameters | 596 | // Initialize classes, features, and operations; add parameters |
513 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, | 597 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, |
@@ -543,7 +627,7 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
543 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, | 627 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, |
544 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 628 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
545 | initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class, | 629 | initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class, |
546 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 630 | IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); |
547 | 631 | ||
548 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, | 632 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, |
549 | IS_GENERATED_INSTANCE_CLASS); | 633 | IS_GENERATED_INSTANCE_CLASS); |
@@ -566,6 +650,17 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
566 | initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, | 650 | initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, |
567 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 651 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
568 | 652 | ||
653 | initEClass(cubeSat3UEClass, CubeSat3U.class, "CubeSat3U", !IS_ABSTRACT, !IS_INTERFACE, | ||
654 | IS_GENERATED_INSTANCE_CLASS); | ||
655 | |||
656 | initEClass(cubeSat6UEClass, CubeSat6U.class, "CubeSat6U", !IS_ABSTRACT, !IS_INTERFACE, | ||
657 | IS_GENERATED_INSTANCE_CLASS); | ||
658 | |||
659 | initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, | ||
660 | IS_GENERATED_INSTANCE_CLASS); | ||
661 | |||
662 | initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
663 | |||
569 | // Initialize enums and add enum literals | 664 | // Initialize enums and add enum literals |
570 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); | 665 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); |
571 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); | 666 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java new file mode 100644 index 00000000..522991ad --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Small Sat</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class SmallSatImpl extends SpacecraftImpl implements SmallSat { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected SmallSatImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.SMALL_SAT; | ||
35 | } | ||
36 | |||
37 | } //SmallSatImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java index 2135af2c..9d74270a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java | |||
@@ -49,15 +49,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
49 | * @ordered | 49 | * @ordered |
50 | */ | 50 | */ |
51 | protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; | 51 | protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; |
52 | /** | ||
53 | * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getKind() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected SpacecraftKind kind = KIND_EDEFAULT; | ||
61 | 52 | ||
62 | /** | 53 | /** |
63 | * <!-- begin-user-doc --> | 54 | * <!-- begin-user-doc --> |
@@ -137,20 +128,9 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
137 | */ | 128 | */ |
138 | @Override | 129 | @Override |
139 | public SpacecraftKind getKind() { | 130 | public SpacecraftKind getKind() { |
140 | return kind; | 131 | // TODO: implement this method to return the 'Kind' attribute |
141 | } | 132 | // Ensure that you remove @generated or mark it @generated NOT |
142 | 133 | throw new UnsupportedOperationException(); | |
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public void setKind(SpacecraftKind newKind) { | ||
150 | SpacecraftKind oldKind = kind; | ||
151 | kind = newKind == null ? KIND_EDEFAULT : newKind; | ||
152 | if (eNotificationRequired()) | ||
153 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.SPACECRAFT__KIND, oldKind, kind)); | ||
154 | } | 134 | } |
155 | 135 | ||
156 | /** | 136 | /** |
@@ -194,9 +174,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
194 | case SatellitePackage.SPACECRAFT__PAYLOAD: | 174 | case SatellitePackage.SPACECRAFT__PAYLOAD: |
195 | setPayload((Payload) newValue); | 175 | setPayload((Payload) newValue); |
196 | return; | 176 | return; |
197 | case SatellitePackage.SPACECRAFT__KIND: | ||
198 | setKind((SpacecraftKind) newValue); | ||
199 | return; | ||
200 | } | 177 | } |
201 | super.eSet(featureID, newValue); | 178 | super.eSet(featureID, newValue); |
202 | } | 179 | } |
@@ -212,9 +189,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
212 | case SatellitePackage.SPACECRAFT__PAYLOAD: | 189 | case SatellitePackage.SPACECRAFT__PAYLOAD: |
213 | setPayload((Payload) null); | 190 | setPayload((Payload) null); |
214 | return; | 191 | return; |
215 | case SatellitePackage.SPACECRAFT__KIND: | ||
216 | setKind(KIND_EDEFAULT); | ||
217 | return; | ||
218 | } | 192 | } |
219 | super.eUnset(featureID); | 193 | super.eUnset(featureID); |
220 | } | 194 | } |
@@ -230,26 +204,9 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements | |||
230 | case SatellitePackage.SPACECRAFT__PAYLOAD: | 204 | case SatellitePackage.SPACECRAFT__PAYLOAD: |
231 | return payload != null; | 205 | return payload != null; |
232 | case SatellitePackage.SPACECRAFT__KIND: | 206 | case SatellitePackage.SPACECRAFT__KIND: |
233 | return kind != KIND_EDEFAULT; | 207 | return getKind() != KIND_EDEFAULT; |
234 | } | 208 | } |
235 | return super.eIsSet(featureID); | 209 | return super.eIsSet(featureID); |
236 | } | 210 | } |
237 | 211 | ||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | @Override | ||
244 | public String toString() { | ||
245 | if (eIsProxy()) | ||
246 | return super.toString(); | ||
247 | |||
248 | StringBuilder result = new StringBuilder(super.toString()); | ||
249 | result.append(" (kind: "); | ||
250 | result.append(kind); | ||
251 | result.append(')'); | ||
252 | return result.toString(); | ||
253 | } | ||
254 | |||
255 | } //SpacecraftImpl | 212 | } //SpacecraftImpl |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java index 639a40b7..fd948334 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java | |||
@@ -112,6 +112,26 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl { | |||
112 | } | 112 | } |
113 | 113 | ||
114 | @Override | 114 | @Override |
115 | public Adapter caseCubeSat3U(CubeSat3U object) { | ||
116 | return createCubeSat3UAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
121 | return createCubeSat6UAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseSmallSat(SmallSat object) { | ||
126 | return createSmallSatAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter caseCubeSat(CubeSat object) { | ||
131 | return createCubeSatAdapter(); | ||
132 | } | ||
133 | |||
134 | @Override | ||
115 | public Adapter defaultCase(EObject object) { | 135 | public Adapter defaultCase(EObject object) { |
116 | return createEObjectAdapter(); | 136 | return createEObjectAdapter(); |
117 | } | 137 | } |
@@ -257,6 +277,62 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl { | |||
257 | } | 277 | } |
258 | 278 | ||
259 | /** | 279 | /** |
280 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * This default implementation returns null so that we can easily ignore cases; | ||
283 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
284 | * <!-- end-user-doc --> | ||
285 | * @return the new adapter. | ||
286 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
287 | * @generated | ||
288 | */ | ||
289 | public Adapter createCubeSat3UAdapter() { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This default implementation returns null so that we can easily ignore cases; | ||
297 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return the new adapter. | ||
300 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
301 | * @generated | ||
302 | */ | ||
303 | public Adapter createCubeSat6UAdapter() { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This default implementation returns null so that we can easily ignore cases; | ||
311 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @return the new adapter. | ||
314 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
315 | * @generated | ||
316 | */ | ||
317 | public Adapter createSmallSatAdapter() { | ||
318 | return null; | ||
319 | } | ||
320 | |||
321 | /** | ||
322 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat <em>Cube Sat</em>}'. | ||
323 | * <!-- begin-user-doc --> | ||
324 | * This default implementation returns null so that we can easily ignore cases; | ||
325 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
326 | * <!-- end-user-doc --> | ||
327 | * @return the new adapter. | ||
328 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat | ||
329 | * @generated | ||
330 | */ | ||
331 | public Adapter createCubeSatAdapter() { | ||
332 | return null; | ||
333 | } | ||
334 | |||
335 | /** | ||
260 | * Creates a new adapter for the default case. | 336 | * Creates a new adapter for the default case. |
261 | * <!-- begin-user-doc --> | 337 | * <!-- begin-user-doc --> |
262 | * This default implementation returns null. | 338 | * This default implementation returns null. |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java index e78a1cd2..08180b64 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java | |||
@@ -137,6 +137,54 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
137 | result = defaultCase(theEObject); | 137 | result = defaultCase(theEObject); |
138 | return result; | 138 | return result; |
139 | } | 139 | } |
140 | case SatellitePackage.CUBE_SAT3_U: { | ||
141 | CubeSat3U cubeSat3U = (CubeSat3U) theEObject; | ||
142 | T result = caseCubeSat3U(cubeSat3U); | ||
143 | if (result == null) | ||
144 | result = caseCubeSat(cubeSat3U); | ||
145 | if (result == null) | ||
146 | result = caseSpacecraft(cubeSat3U); | ||
147 | if (result == null) | ||
148 | result = caseCommunicatingElement(cubeSat3U); | ||
149 | if (result == null) | ||
150 | result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | case SatellitePackage.CUBE_SAT6_U: { | ||
154 | CubeSat6U cubeSat6U = (CubeSat6U) theEObject; | ||
155 | T result = caseCubeSat6U(cubeSat6U); | ||
156 | if (result == null) | ||
157 | result = caseCubeSat(cubeSat6U); | ||
158 | if (result == null) | ||
159 | result = caseSpacecraft(cubeSat6U); | ||
160 | if (result == null) | ||
161 | result = caseCommunicatingElement(cubeSat6U); | ||
162 | if (result == null) | ||
163 | result = defaultCase(theEObject); | ||
164 | return result; | ||
165 | } | ||
166 | case SatellitePackage.SMALL_SAT: { | ||
167 | SmallSat smallSat = (SmallSat) theEObject; | ||
168 | T result = caseSmallSat(smallSat); | ||
169 | if (result == null) | ||
170 | result = caseSpacecraft(smallSat); | ||
171 | if (result == null) | ||
172 | result = caseCommunicatingElement(smallSat); | ||
173 | if (result == null) | ||
174 | result = defaultCase(theEObject); | ||
175 | return result; | ||
176 | } | ||
177 | case SatellitePackage.CUBE_SAT: { | ||
178 | CubeSat cubeSat = (CubeSat) theEObject; | ||
179 | T result = caseCubeSat(cubeSat); | ||
180 | if (result == null) | ||
181 | result = caseSpacecraft(cubeSat); | ||
182 | if (result == null) | ||
183 | result = caseCommunicatingElement(cubeSat); | ||
184 | if (result == null) | ||
185 | result = defaultCase(theEObject); | ||
186 | return result; | ||
187 | } | ||
140 | default: | 188 | default: |
141 | return defaultCase(theEObject); | 189 | return defaultCase(theEObject); |
142 | } | 190 | } |
@@ -278,6 +326,66 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
278 | } | 326 | } |
279 | 327 | ||
280 | /** | 328 | /** |
329 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * This implementation returns null; | ||
332 | * returning a non-null result will terminate the switch. | ||
333 | * <!-- end-user-doc --> | ||
334 | * @param object the target of the switch. | ||
335 | * @return the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
336 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
337 | * @generated | ||
338 | */ | ||
339 | public T caseCubeSat3U(CubeSat3U object) { | ||
340 | return null; | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * This implementation returns null; | ||
347 | * returning a non-null result will terminate the switch. | ||
348 | * <!-- end-user-doc --> | ||
349 | * @param object the target of the switch. | ||
350 | * @return the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
351 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
352 | * @generated | ||
353 | */ | ||
354 | public T caseCubeSat6U(CubeSat6U object) { | ||
355 | return null; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * Returns the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
360 | * <!-- begin-user-doc --> | ||
361 | * This implementation returns null; | ||
362 | * returning a non-null result will terminate the switch. | ||
363 | * <!-- end-user-doc --> | ||
364 | * @param object the target of the switch. | ||
365 | * @return the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
366 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
367 | * @generated | ||
368 | */ | ||
369 | public T caseSmallSat(SmallSat object) { | ||
370 | return null; | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * This implementation returns null; | ||
377 | * returning a non-null result will terminate the switch. | ||
378 | * <!-- end-user-doc --> | ||
379 | * @param object the target of the switch. | ||
380 | * @return the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
381 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
382 | * @generated | ||
383 | */ | ||
384 | public T caseCubeSat(CubeSat object) { | ||
385 | return null; | ||
386 | } | ||
387 | |||
388 | /** | ||
281 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 389 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
282 | * <!-- begin-user-doc --> | 390 | * <!-- begin-user-doc --> |
283 | * This implementation returns null; | 391 | * This implementation returns null; |