aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-06-08 19:17:34 -0400
committerLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-06-08 19:17:34 -0400
commitb21af04ea821c3daa9ce8a6d26c63e9cd198f9a5 (patch)
tree4be566b25415ca97cb007b5da7d89f216ef515b2 /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite
parentMerge remote-tracking branch 'origin/master' into kris (diff)
downloadVIATRA-Generator-b21af04ea821c3daa9ce8a6d26c63e9cd198f9a5.tar.gz
VIATRA-Generator-b21af04ea821c3daa9ce8a6d26c63e9cd198f9a5.tar.zst
VIATRA-Generator-b21af04ea821c3daa9ce8a6d26c63e9cd198f9a5.zip
Trying to simplify Satellite case study
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/AntennaGain.java12
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java66
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommunicatingElement.java8
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java8
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java16
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat3U.java2
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat6U.java2
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/DirectedCommunicationLink.java8
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java4
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/KaCommSubsystem.java16
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatelliteFactory.java36
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java326
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/Spacecraft.java23
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SpacecraftKind.java12
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/TransceiverBand.java12
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/UHFCommSubsystem.java16
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/XCommSubsystem.java16
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java191
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat3UImpl.java2
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat6UImpl.java2
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java37
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/KaCommSubsystemImpl.java37
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatelliteFactoryImpl.java115
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java154
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java28
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/UHFCommSubsystemImpl.java37
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/XCommSubsystemImpl.java37
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java76
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java102
29 files changed, 664 insertions, 737 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/AntennaGain.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/AntennaGain.java
index 75bc548d..c4cdfbf6 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/AntennaGain.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/AntennaGain.java
@@ -51,10 +51,6 @@ public enum AntennaGain implements Enumerator {
51 /** 51 /**
52 * The '<em><b>LOW</b></em>' literal value. 52 * The '<em><b>LOW</b></em>' literal value.
53 * <!-- begin-user-doc --> 53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of '<em><b>LOW</b></em>' literal object isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc --> 54 * <!-- end-user-doc -->
59 * @see #LOW 55 * @see #LOW
60 * @model 56 * @model
@@ -66,10 +62,6 @@ public enum AntennaGain implements Enumerator {
66 /** 62 /**
67 * The '<em><b>MEDIUM</b></em>' literal value. 63 * The '<em><b>MEDIUM</b></em>' literal value.
68 * <!-- begin-user-doc --> 64 * <!-- begin-user-doc -->
69 * <p>
70 * If the meaning of '<em><b>MEDIUM</b></em>' literal object isn't clear,
71 * there really should be more of a description here...
72 * </p>
73 * <!-- end-user-doc --> 65 * <!-- end-user-doc -->
74 * @see #MEDIUM 66 * @see #MEDIUM
75 * @model 67 * @model
@@ -81,10 +73,6 @@ public enum AntennaGain implements Enumerator {
81 /** 73 /**
82 * The '<em><b>HIGH</b></em>' literal value. 74 * The '<em><b>HIGH</b></em>' literal value.
83 * <!-- begin-user-doc --> 75 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of '<em><b>HIGH</b></em>' literal object isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc --> 76 * <!-- end-user-doc -->
89 * @see #HIGH 77 * @see #HIGH
90 * @model 78 * @model
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 072a9705..2c9a5e2c 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,75 +9,11 @@ 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#getBand <em>Band</em>}</li>
17 * <li>{@link satellite.CommSubsystem#getGain <em>Gain</em>}</li>
18 * </ul>
19 * 12 *
20 * @see satellite.SatellitePackage#getCommSubsystem() 13 * @see satellite.SatellitePackage#getCommSubsystem()
21 * @model 14 * @model abstract="true"
22 * @generated 15 * @generated
23 */ 16 */
24public interface CommSubsystem extends EObject { 17public interface CommSubsystem extends EObject {
25 /**
26 * Returns the value of the '<em><b>Band</b></em>' attribute.
27 * The literals are from the enumeration {@link satellite.TransceiverBand}.
28 * <!-- begin-user-doc -->
29 * <p>
30 * If the meaning of the '<em>Band</em>' attribute isn't clear,
31 * there really should be more of a description here...
32 * </p>
33 * <!-- end-user-doc -->
34 * @return the value of the '<em>Band</em>' attribute.
35 * @see satellite.TransceiverBand
36 * @see #setBand(TransceiverBand)
37 * @see satellite.SatellitePackage#getCommSubsystem_Band()
38 * @model required="true"
39 * @generated
40 */
41 TransceiverBand getBand();
42
43 /**
44 * Sets the value of the '{@link satellite.CommSubsystem#getBand <em>Band</em>}' attribute.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @param value the new value of the '<em>Band</em>' attribute.
48 * @see satellite.TransceiverBand
49 * @see #getBand()
50 * @generated
51 */
52 void setBand(TransceiverBand value);
53
54 /**
55 * Returns the value of the '<em><b>Gain</b></em>' attribute.
56 * The literals are from the enumeration {@link satellite.AntennaGain}.
57 * <!-- begin-user-doc -->
58 * <p>
59 * If the meaning of the '<em>Gain</em>' attribute isn't clear,
60 * there really should be more of a description here...
61 * </p>
62 * <!-- end-user-doc -->
63 * @return the value of the '<em>Gain</em>' attribute.
64 * @see satellite.AntennaGain
65 * @see #setGain(AntennaGain)
66 * @see satellite.SatellitePackage#getCommSubsystem_Gain()
67 * @model required="true"
68 * @generated
69 */
70 AntennaGain getGain();
71
72 /**
73 * Sets the value of the '{@link satellite.CommSubsystem#getGain <em>Gain</em>}' attribute.
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @param value the new value of the '<em>Gain</em>' attribute.
77 * @see satellite.AntennaGain
78 * @see #getGain()
79 * @generated
80 */
81 void setGain(AntennaGain value);
82 18
83} // CommSubsystem 19} // 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 b96b281f..d2f1e984 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
@@ -28,10 +28,6 @@ public interface CommunicatingElement extends EObject {
28 * Returns the value of the '<em><b>Comm Subsystem</b></em>' containment reference list. 28 * Returns the value of the '<em><b>Comm Subsystem</b></em>' containment reference list.
29 * The list contents are of type {@link satellite.CommSubsystem}. 29 * The list contents are of type {@link satellite.CommSubsystem}.
30 * <!-- begin-user-doc --> 30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Comm Subsystem</em>' containment reference list isn't clear,
33 * there really should be more of a description here...
34 * </p>
35 * <!-- end-user-doc --> 31 * <!-- end-user-doc -->
36 * @return the value of the '<em>Comm Subsystem</em>' containment reference list. 32 * @return the value of the '<em>Comm Subsystem</em>' containment reference list.
37 * @see satellite.SatellitePackage#getCommunicatingElement_CommSubsystem() 33 * @see satellite.SatellitePackage#getCommunicatingElement_CommSubsystem()
@@ -43,10 +39,6 @@ public interface CommunicatingElement extends EObject {
43 /** 39 /**
44 * Returns the value of the '<em><b>Communication Link</b></em>' containment reference. 40 * Returns the value of the '<em><b>Communication Link</b></em>' containment reference.
45 * <!-- begin-user-doc --> 41 * <!-- begin-user-doc -->
46 * <p>
47 * If the meaning of the '<em>Communication Link</em>' containment reference isn't clear,
48 * there really should be more of a description here...
49 * </p>
50 * <!-- end-user-doc --> 42 * <!-- end-user-doc -->
51 * @return the value of the '<em>Communication Link</em>' containment reference. 43 * @return the value of the '<em>Communication Link</em>' containment reference.
52 * @see #setCommunicationLink(DirectedCommunicationLink) 44 * @see #setCommunicationLink(DirectedCommunicationLink)
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
index 9402232d..6182d7ad 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
@@ -27,10 +27,6 @@ public interface ConstellationMission extends EObject {
27 /** 27 /**
28 * Returns the value of the '<em><b>Ground Station Network</b></em>' containment reference. 28 * Returns the value of the '<em><b>Ground Station Network</b></em>' containment reference.
29 * <!-- begin-user-doc --> 29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Ground Station Network</em>' containment reference isn't clear,
32 * there really should be more of a description here...
33 * </p>
34 * <!-- end-user-doc --> 30 * <!-- end-user-doc -->
35 * @return the value of the '<em>Ground Station Network</em>' containment reference. 31 * @return the value of the '<em>Ground Station Network</em>' containment reference.
36 * @see #setGroundStationNetwork(GroundStationNetwork) 32 * @see #setGroundStationNetwork(GroundStationNetwork)
@@ -54,10 +50,6 @@ public interface ConstellationMission extends EObject {
54 * Returns the value of the '<em><b>Spacecraft</b></em>' containment reference list. 50 * Returns the value of the '<em><b>Spacecraft</b></em>' containment reference list.
55 * The list contents are of type {@link satellite.Spacecraft}. 51 * The list contents are of type {@link satellite.Spacecraft}.
56 * <!-- begin-user-doc --> 52 * <!-- begin-user-doc -->
57 * <p>
58 * If the meaning of the '<em>Spacecraft</em>' containment reference list isn't clear,
59 * there really should be more of a description here...
60 * </p>
61 * <!-- end-user-doc --> 53 * <!-- end-user-doc -->
62 * @return the value of the '<em>Spacecraft</em>' containment reference list. 54 * @return the value of the '<em>Spacecraft</em>' containment reference list.
63 * @see satellite.SatellitePackage#getConstellationMission_Spacecraft() 55 * @see satellite.SatellitePackage#getConstellationMission_Spacecraft()
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java
new file mode 100644
index 00000000..a38926d4
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java
@@ -0,0 +1,16 @@
1/**
2 */
3package 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 satellite.SatellitePackage#getCubeSat()
12 * @model abstract="true"
13 * @generated
14 */
15public interface CubeSat extends Spacecraft {
16} // CubeSat
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat3U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat3U.java
index 5758e165..c68bf52c 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat3U.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat3U.java
@@ -12,5 +12,5 @@ package satellite;
12 * @model 12 * @model
13 * @generated 13 * @generated
14 */ 14 */
15public interface CubeSat3U extends Spacecraft { 15public interface CubeSat3U extends CubeSat {
16} // CubeSat3U 16} // CubeSat3U
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat6U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat6U.java
index a8d8830f..5ade601a 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat6U.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat6U.java
@@ -12,5 +12,5 @@ package satellite;
12 * @model 12 * @model
13 * @generated 13 * @generated
14 */ 14 */
15public interface CubeSat6U extends Spacecraft { 15public interface CubeSat6U extends CubeSat {
16} // CubeSat6U 16} // CubeSat6U
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
index 67c8fcc8..dc76d466 100644
--- 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
@@ -25,10 +25,6 @@ public interface DirectedCommunicationLink extends EObject {
25 /** 25 /**
26 * Returns the value of the '<em><b>Source</b></em>' reference. 26 * Returns the value of the '<em><b>Source</b></em>' reference.
27 * <!-- begin-user-doc --> 27 * <!-- begin-user-doc -->
28 * <p>
29 * If the meaning of the '<em>Source</em>' reference isn't clear,
30 * there really should be more of a description here...
31 * </p>
32 * <!-- end-user-doc --> 28 * <!-- end-user-doc -->
33 * @return the value of the '<em>Source</em>' reference. 29 * @return the value of the '<em>Source</em>' reference.
34 * @see #setSource(CommSubsystem) 30 * @see #setSource(CommSubsystem)
@@ -51,10 +47,6 @@ public interface DirectedCommunicationLink extends EObject {
51 /** 47 /**
52 * Returns the value of the '<em><b>Target</b></em>' reference. 48 * Returns the value of the '<em><b>Target</b></em>' reference.
53 * <!-- begin-user-doc --> 49 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of the '<em>Target</em>' reference isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc --> 50 * <!-- end-user-doc -->
59 * @return the value of the '<em>Target</em>' reference. 51 * @return the value of the '<em>Target</em>' reference.
60 * @see #setTarget(CommSubsystem) 52 * @see #setTarget(CommSubsystem)
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
index 967923d4..eb4ea064 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
@@ -23,10 +23,6 @@ public interface InterferometryMission extends ConstellationMission {
23 * Returns the value of the '<em><b>Observation Time</b></em>' attribute. 23 * Returns the value of the '<em><b>Observation Time</b></em>' attribute.
24 * The default value is <code>"2.0"</code>. 24 * The default value is <code>"2.0"</code>.
25 * <!-- begin-user-doc --> 25 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>Observation Time</em>' attribute isn't clear,
28 * there really should be more of a description here...
29 * </p>
30 * <!-- end-user-doc --> 26 * <!-- end-user-doc -->
31 * @return the value of the '<em>Observation Time</em>' attribute. 27 * @return the value of the '<em>Observation Time</em>' attribute.
32 * @see #setObservationTime(float) 28 * @see #setObservationTime(float)
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/KaCommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/KaCommSubsystem.java
new file mode 100644
index 00000000..458831cf
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/KaCommSubsystem.java
@@ -0,0 +1,16 @@
1/**
2 */
3package satellite;
4
5/**
6 * <!-- begin-user-doc -->
7 * A representation of the model object '<em><b>Ka Comm Subsystem</b></em>'.
8 * <!-- end-user-doc -->
9 *
10 *
11 * @see satellite.SatellitePackage#getKaCommSubsystem()
12 * @model
13 * @generated
14 */
15public interface KaCommSubsystem extends CommSubsystem {
16} // KaCommSubsystem
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 04cb80ce..26182881 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>Comm Subsystem</em>'.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @return a new object of class '<em>Comm Subsystem</em>'.
47 * @generated
48 */
49 CommSubsystem createCommSubsystem();
50
51 /**
52 * Returns a new object of class '<em>Directed Communication Link</em>'. 43 * Returns a new object of class '<em>Directed Communication Link</em>'.
53 * <!-- begin-user-doc --> 44 * <!-- begin-user-doc -->
54 * <!-- end-user-doc --> 45 * <!-- end-user-doc -->
@@ -94,6 +85,33 @@ public interface SatelliteFactory extends EFactory {
94 SmallSat createSmallSat(); 85 SmallSat createSmallSat();
95 86
96 /** 87 /**
88 * Returns a new object of class '<em>UHF Comm Subsystem</em>'.
89 * <!-- begin-user-doc -->
90 * <!-- end-user-doc -->
91 * @return a new object of class '<em>UHF Comm Subsystem</em>'.
92 * @generated
93 */
94 UHFCommSubsystem createUHFCommSubsystem();
95
96 /**
97 * Returns a new object of class '<em>XComm Subsystem</em>'.
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @return a new object of class '<em>XComm Subsystem</em>'.
101 * @generated
102 */
103 XCommSubsystem createXCommSubsystem();
104
105 /**
106 * Returns a new object of class '<em>Ka Comm Subsystem</em>'.
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @return a new object of class '<em>Ka Comm Subsystem</em>'.
110 * @generated
111 */
112 KaCommSubsystem createKaCommSubsystem();
113
114 /**
97 * Returns the package supported by this factory. 115 * Returns the package supported by this factory.
98 * <!-- begin-user-doc --> 116 * <!-- begin-user-doc -->
99 * <!-- end-user-doc --> 117 * <!-- 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 f0d80ac2..8a9328f6 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
@@ -4,7 +4,6 @@ package satellite;
4 4
5import org.eclipse.emf.ecore.EAttribute; 5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass; 6import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EEnum;
8import org.eclipse.emf.ecore.EPackage; 7import org.eclipse.emf.ecore.EPackage;
9import org.eclipse.emf.ecore.EReference; 8import org.eclipse.emf.ecore.EReference;
10 9
@@ -22,7 +21,6 @@ import org.eclipse.emf.ecore.EReference;
22 * <!-- end-user-doc --> 21 * <!-- end-user-doc -->
23 * @see satellite.SatelliteFactory 22 * @see satellite.SatelliteFactory
24 * @model kind="package" 23 * @model kind="package"
25 * annotation="http://www.eclipse.org/emf/2002/Ecore settingDelegates='org.eclipse.viatra.query.querybasedfeature'"
26 * @generated 24 * @generated
27 */ 25 */
28public interface SatellitePackage extends EPackage { 26public interface SatellitePackage extends EPackage {
@@ -289,22 +287,13 @@ public interface SatellitePackage extends EPackage {
289 int SPACECRAFT__PAYLOAD = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; 287 int SPACECRAFT__PAYLOAD = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0;
290 288
291 /** 289 /**
292 * The feature id for the '<em><b>Kind</b></em>' attribute.
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 * @ordered
297 */
298 int SPACECRAFT__KIND = COMMUNICATING_ELEMENT_FEATURE_COUNT + 1;
299
300 /**
301 * The number of structural features of the '<em>Spacecraft</em>' class. 290 * The number of structural features of the '<em>Spacecraft</em>' class.
302 * <!-- begin-user-doc --> 291 * <!-- begin-user-doc -->
303 * <!-- end-user-doc --> 292 * <!-- end-user-doc -->
304 * @generated 293 * @generated
305 * @ordered 294 * @ordered
306 */ 295 */
307 int SPACECRAFT_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 2; 296 int SPACECRAFT_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 1;
308 297
309 /** 298 /**
310 * The number of operations of the '<em>Spacecraft</em>' class. 299 * The number of operations of the '<em>Spacecraft</em>' class.
@@ -326,31 +315,13 @@ public interface SatellitePackage extends EPackage {
326 int COMM_SUBSYSTEM = 5; 315 int COMM_SUBSYSTEM = 5;
327 316
328 /** 317 /**
329 * The feature id for the '<em><b>Band</b></em>' attribute.
330 * <!-- begin-user-doc -->
331 * <!-- end-user-doc -->
332 * @generated
333 * @ordered
334 */
335 int COMM_SUBSYSTEM__BAND = 0;
336
337 /**
338 * The feature id for the '<em><b>Gain</b></em>' attribute.
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 * @ordered
343 */
344 int COMM_SUBSYSTEM__GAIN = 1;
345
346 /**
347 * The number of structural features of the '<em>Comm Subsystem</em>' class. 318 * The number of structural features of the '<em>Comm Subsystem</em>' class.
348 * <!-- begin-user-doc --> 319 * <!-- begin-user-doc -->
349 * <!-- end-user-doc --> 320 * <!-- end-user-doc -->
350 * @generated 321 * @generated
351 * @ordered 322 * @ordered
352 */ 323 */
353 int COMM_SUBSYSTEM_FEATURE_COUNT = 2; 324 int COMM_SUBSYSTEM_FEATURE_COUNT = 0;
354 325
355 /** 326 /**
356 * The number of operations of the '<em>Comm Subsystem</em>' class. 327 * The number of operations of the '<em>Comm Subsystem</em>' class.
@@ -464,14 +435,14 @@ public interface SatellitePackage extends EPackage {
464 int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; 435 int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0;
465 436
466 /** 437 /**
467 * The meta object id for the '{@link satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. 438 * The meta object id for the '{@link satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class.
468 * <!-- begin-user-doc --> 439 * <!-- begin-user-doc -->
469 * <!-- end-user-doc --> 440 * <!-- end-user-doc -->
470 * @see satellite.impl.CubeSat3UImpl 441 * @see satellite.impl.CubeSatImpl
471 * @see satellite.impl.SatellitePackageImpl#getCubeSat3U() 442 * @see satellite.impl.SatellitePackageImpl#getCubeSat()
472 * @generated 443 * @generated
473 */ 444 */
474 int CUBE_SAT3_U = 9; 445 int CUBE_SAT = 12;
475 446
476 /** 447 /**
477 * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. 448 * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list.
@@ -480,7 +451,7 @@ public interface SatellitePackage extends EPackage {
480 * @generated 451 * @generated
481 * @ordered 452 * @ordered
482 */ 453 */
483 int CUBE_SAT3_U__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; 454 int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM;
484 455
485 /** 456 /**
486 * The feature id for the '<em><b>Communication Link</b></em>' containment reference. 457 * The feature id for the '<em><b>Communication Link</b></em>' containment reference.
@@ -489,7 +460,7 @@ public interface SatellitePackage extends EPackage {
489 * @generated 460 * @generated
490 * @ordered 461 * @ordered
491 */ 462 */
492 int CUBE_SAT3_U__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; 463 int CUBE_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK;
493 464
494 /** 465 /**
495 * The feature id for the '<em><b>Payload</b></em>' containment reference. 466 * The feature id for the '<em><b>Payload</b></em>' containment reference.
@@ -498,16 +469,62 @@ public interface SatellitePackage extends EPackage {
498 * @generated 469 * @generated
499 * @ordered 470 * @ordered
500 */ 471 */
501 int CUBE_SAT3_U__PAYLOAD = SPACECRAFT__PAYLOAD; 472 int CUBE_SAT__PAYLOAD = SPACECRAFT__PAYLOAD;
473
474 /**
475 * The number of structural features of the '<em>Cube Sat</em>' class.
476 * <!-- begin-user-doc -->
477 * <!-- end-user-doc -->
478 * @generated
479 * @ordered
480 */
481 int CUBE_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0;
502 482
503 /** 483 /**
504 * The feature id for the '<em><b>Kind</b></em>' attribute. 484 * The number of operations of the '<em>Cube Sat</em>' class.
505 * <!-- begin-user-doc --> 485 * <!-- begin-user-doc -->
506 * <!-- end-user-doc --> 486 * <!-- end-user-doc -->
507 * @generated 487 * @generated
508 * @ordered 488 * @ordered
509 */ 489 */
510 int CUBE_SAT3_U__KIND = SPACECRAFT__KIND; 490 int CUBE_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0;
491
492 /**
493 * The meta object id for the '{@link satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class.
494 * <!-- begin-user-doc -->
495 * <!-- end-user-doc -->
496 * @see satellite.impl.CubeSat3UImpl
497 * @see satellite.impl.SatellitePackageImpl#getCubeSat3U()
498 * @generated
499 */
500 int CUBE_SAT3_U = 9;
501
502 /**
503 * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list.
504 * <!-- begin-user-doc -->
505 * <!-- end-user-doc -->
506 * @generated
507 * @ordered
508 */
509 int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM;
510
511 /**
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.
522 * <!-- begin-user-doc -->
523 * <!-- end-user-doc -->
524 * @generated
525 * @ordered
526 */
527 int CUBE_SAT3_U__PAYLOAD = CUBE_SAT__PAYLOAD;
511 528
512 /** 529 /**
513 * The number of structural features of the '<em>Cube Sat3 U</em>' class. 530 * The number of structural features of the '<em>Cube Sat3 U</em>' class.
@@ -516,7 +533,7 @@ public interface SatellitePackage extends EPackage {
516 * @generated 533 * @generated
517 * @ordered 534 * @ordered
518 */ 535 */
519 int CUBE_SAT3_U_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; 536 int CUBE_SAT3_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0;
520 537
521 /** 538 /**
522 * The number of operations of the '<em>Cube Sat3 U</em>' class. 539 * The number of operations of the '<em>Cube Sat3 U</em>' class.
@@ -525,7 +542,7 @@ public interface SatellitePackage extends EPackage {
525 * @generated 542 * @generated
526 * @ordered 543 * @ordered
527 */ 544 */
528 int CUBE_SAT3_U_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; 545 int CUBE_SAT3_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0;
529 546
530 /** 547 /**
531 * The meta object id for the '{@link satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. 548 * The meta object id for the '{@link satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class.
@@ -544,7 +561,7 @@ public interface SatellitePackage extends EPackage {
544 * @generated 561 * @generated
545 * @ordered 562 * @ordered
546 */ 563 */
547 int CUBE_SAT6_U__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; 564 int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM;
548 565
549 /** 566 /**
550 * The feature id for the '<em><b>Communication Link</b></em>' containment reference. 567 * The feature id for the '<em><b>Communication Link</b></em>' containment reference.
@@ -553,7 +570,7 @@ public interface SatellitePackage extends EPackage {
553 * @generated 570 * @generated
554 * @ordered 571 * @ordered
555 */ 572 */
556 int CUBE_SAT6_U__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; 573 int CUBE_SAT6_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK;
557 574
558 /** 575 /**
559 * The feature id for the '<em><b>Payload</b></em>' containment reference. 576 * The feature id for the '<em><b>Payload</b></em>' containment reference.
@@ -562,16 +579,7 @@ public interface SatellitePackage extends EPackage {
562 * @generated 579 * @generated
563 * @ordered 580 * @ordered
564 */ 581 */
565 int CUBE_SAT6_U__PAYLOAD = SPACECRAFT__PAYLOAD; 582 int CUBE_SAT6_U__PAYLOAD = CUBE_SAT__PAYLOAD;
566
567 /**
568 * The feature id for the '<em><b>Kind</b></em>' attribute.
569 * <!-- begin-user-doc -->
570 * <!-- end-user-doc -->
571 * @generated
572 * @ordered
573 */
574 int CUBE_SAT6_U__KIND = SPACECRAFT__KIND;
575 583
576 /** 584 /**
577 * The number of structural features of the '<em>Cube Sat6 U</em>' class. 585 * The number of structural features of the '<em>Cube Sat6 U</em>' class.
@@ -580,7 +588,7 @@ public interface SatellitePackage extends EPackage {
580 * @generated 588 * @generated
581 * @ordered 589 * @ordered
582 */ 590 */
583 int CUBE_SAT6_U_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; 591 int CUBE_SAT6_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0;
584 592
585 /** 593 /**
586 * The number of operations of the '<em>Cube Sat6 U</em>' class. 594 * The number of operations of the '<em>Cube Sat6 U</em>' class.
@@ -589,7 +597,7 @@ public interface SatellitePackage extends EPackage {
589 * @generated 597 * @generated
590 * @ordered 598 * @ordered
591 */ 599 */
592 int CUBE_SAT6_U_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; 600 int CUBE_SAT6_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0;
593 601
594 /** 602 /**
595 * The meta object id for the '{@link satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. 603 * The meta object id for the '{@link satellite.impl.SmallSatImpl <em>Small Sat</em>}' class.
@@ -629,61 +637,106 @@ public interface SatellitePackage extends EPackage {
629 int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; 637 int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD;
630 638
631 /** 639 /**
632 * The feature id for the '<em><b>Kind</b></em>' attribute. 640 * The number of structural features of the '<em>Small Sat</em>' class.
633 * <!-- begin-user-doc --> 641 * <!-- begin-user-doc -->
634 * <!-- end-user-doc --> 642 * <!-- end-user-doc -->
635 * @generated 643 * @generated
636 * @ordered 644 * @ordered
637 */ 645 */
638 int SMALL_SAT__KIND = SPACECRAFT__KIND; 646 int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0;
639 647
640 /** 648 /**
641 * The number of structural features of the '<em>Small Sat</em>' class. 649 * The number of operations of the '<em>Small Sat</em>' class.
642 * <!-- begin-user-doc --> 650 * <!-- begin-user-doc -->
643 * <!-- end-user-doc --> 651 * <!-- end-user-doc -->
644 * @generated 652 * @generated
645 * @ordered 653 * @ordered
646 */ 654 */
647 int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; 655 int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0;
648 656
649 /** 657 /**
650 * The number of operations of the '<em>Small Sat</em>' class. 658 * The meta object id for the '{@link satellite.impl.UHFCommSubsystemImpl <em>UHF Comm Subsystem</em>}' class.
659 * <!-- begin-user-doc -->
660 * <!-- end-user-doc -->
661 * @see satellite.impl.UHFCommSubsystemImpl
662 * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem()
663 * @generated
664 */
665 int UHF_COMM_SUBSYSTEM = 13;
666
667 /**
668 * The number of structural features of the '<em>UHF Comm Subsystem</em>' class.
651 * <!-- begin-user-doc --> 669 * <!-- begin-user-doc -->
652 * <!-- end-user-doc --> 670 * <!-- end-user-doc -->
653 * @generated 671 * @generated
654 * @ordered 672 * @ordered
655 */ 673 */
656 int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; 674 int UHF_COMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0;
657 675
658 /** 676 /**
659 * The meta object id for the '{@link satellite.TransceiverBand <em>Transceiver Band</em>}' enum. 677 * The number of operations of the '<em>UHF Comm Subsystem</em>' class.
660 * <!-- begin-user-doc --> 678 * <!-- begin-user-doc -->
661 * <!-- end-user-doc --> 679 * <!-- end-user-doc -->
662 * @see satellite.TransceiverBand
663 * @see satellite.impl.SatellitePackageImpl#getTransceiverBand()
664 * @generated 680 * @generated
681 * @ordered
665 */ 682 */
666 int TRANSCEIVER_BAND = 12; 683 int UHF_COMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0;
667 684
668 /** 685 /**
669 * The meta object id for the '{@link satellite.AntennaGain <em>Antenna Gain</em>}' enum. 686 * The meta object id for the '{@link satellite.impl.XCommSubsystemImpl <em>XComm Subsystem</em>}' class.
670 * <!-- begin-user-doc --> 687 * <!-- begin-user-doc -->
671 * <!-- end-user-doc --> 688 * <!-- end-user-doc -->
672 * @see satellite.AntennaGain 689 * @see satellite.impl.XCommSubsystemImpl
673 * @see satellite.impl.SatellitePackageImpl#getAntennaGain() 690 * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem()
674 * @generated 691 * @generated
675 */ 692 */
676 int ANTENNA_GAIN = 13; 693 int XCOMM_SUBSYSTEM = 14;
677 694
678 /** 695 /**
679 * The meta object id for the '{@link satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. 696 * The number of structural features of the '<em>XComm Subsystem</em>' class.
680 * <!-- begin-user-doc --> 697 * <!-- begin-user-doc -->
681 * <!-- end-user-doc --> 698 * <!-- end-user-doc -->
682 * @see satellite.SpacecraftKind
683 * @see satellite.impl.SatellitePackageImpl#getSpacecraftKind()
684 * @generated 699 * @generated
700 * @ordered
685 */ 701 */
686 int SPACECRAFT_KIND = 14; 702 int XCOMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0;
703
704 /**
705 * The number of operations of the '<em>XComm Subsystem</em>' class.
706 * <!-- begin-user-doc -->
707 * <!-- end-user-doc -->
708 * @generated
709 * @ordered
710 */
711 int XCOMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0;
712
713 /**
714 * The meta object id for the '{@link satellite.impl.KaCommSubsystemImpl <em>Ka Comm Subsystem</em>}' class.
715 * <!-- begin-user-doc -->
716 * <!-- end-user-doc -->
717 * @see satellite.impl.KaCommSubsystemImpl
718 * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem()
719 * @generated
720 */
721 int KA_COMM_SUBSYSTEM = 15;
722
723 /**
724 * The number of structural features of the '<em>Ka Comm Subsystem</em>' class.
725 * <!-- begin-user-doc -->
726 * <!-- end-user-doc -->
727 * @generated
728 * @ordered
729 */
730 int KA_COMM_SUBSYSTEM_FEATURE_COUNT = COMM_SUBSYSTEM_FEATURE_COUNT + 0;
731
732 /**
733 * The number of operations of the '<em>Ka Comm Subsystem</em>' class.
734 * <!-- begin-user-doc -->
735 * <!-- end-user-doc -->
736 * @generated
737 * @ordered
738 */
739 int KA_COMM_SUBSYSTEM_OPERATION_COUNT = COMM_SUBSYSTEM_OPERATION_COUNT + 0;
687 740
688 /** 741 /**
689 * Returns the meta object for class '{@link satellite.ConstellationMission <em>Constellation Mission</em>}'. 742 * Returns the meta object for class '{@link satellite.ConstellationMission <em>Constellation Mission</em>}'.
@@ -802,17 +855,6 @@ public interface SatellitePackage extends EPackage {
802 EReference getSpacecraft_Payload(); 855 EReference getSpacecraft_Payload();
803 856
804 /** 857 /**
805 * Returns the meta object for the attribute '{@link satellite.Spacecraft#getKind <em>Kind</em>}'.
806 * <!-- begin-user-doc -->
807 * <!-- end-user-doc -->
808 * @return the meta object for the attribute '<em>Kind</em>'.
809 * @see satellite.Spacecraft#getKind()
810 * @see #getSpacecraft()
811 * @generated
812 */
813 EAttribute getSpacecraft_Kind();
814
815 /**
816 * Returns the meta object for class '{@link satellite.CommSubsystem <em>Comm Subsystem</em>}'. 858 * Returns the meta object for class '{@link satellite.CommSubsystem <em>Comm Subsystem</em>}'.
817 * <!-- begin-user-doc --> 859 * <!-- begin-user-doc -->
818 * <!-- end-user-doc --> 860 * <!-- end-user-doc -->
@@ -823,28 +865,6 @@ public interface SatellitePackage extends EPackage {
823 EClass getCommSubsystem(); 865 EClass getCommSubsystem();
824 866
825 /** 867 /**
826 * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getBand <em>Band</em>}'.
827 * <!-- begin-user-doc -->
828 * <!-- end-user-doc -->
829 * @return the meta object for the attribute '<em>Band</em>'.
830 * @see satellite.CommSubsystem#getBand()
831 * @see #getCommSubsystem()
832 * @generated
833 */
834 EAttribute getCommSubsystem_Band();
835
836 /**
837 * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getGain <em>Gain</em>}'.
838 * <!-- begin-user-doc -->
839 * <!-- end-user-doc -->
840 * @return the meta object for the attribute '<em>Gain</em>'.
841 * @see satellite.CommSubsystem#getGain()
842 * @see #getCommSubsystem()
843 * @generated
844 */
845 EAttribute getCommSubsystem_Gain();
846
847 /**
848 * Returns the meta object for class '{@link satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. 868 * Returns the meta object for class '{@link satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'.
849 * <!-- begin-user-doc --> 869 * <!-- begin-user-doc -->
850 * <!-- end-user-doc --> 870 * <!-- end-user-doc -->
@@ -927,34 +947,44 @@ public interface SatellitePackage extends EPackage {
927 EClass getSmallSat(); 947 EClass getSmallSat();
928 948
929 /** 949 /**
930 * Returns the meta object for enum '{@link satellite.TransceiverBand <em>Transceiver Band</em>}'. 950 * Returns the meta object for class '{@link satellite.CubeSat <em>Cube Sat</em>}'.
931 * <!-- begin-user-doc --> 951 * <!-- begin-user-doc -->
932 * <!-- end-user-doc --> 952 * <!-- end-user-doc -->
933 * @return the meta object for enum '<em>Transceiver Band</em>'. 953 * @return the meta object for class '<em>Cube Sat</em>'.
934 * @see satellite.TransceiverBand 954 * @see satellite.CubeSat
935 * @generated 955 * @generated
936 */ 956 */
937 EEnum getTransceiverBand(); 957 EClass getCubeSat();
938 958
939 /** 959 /**
940 * Returns the meta object for enum '{@link satellite.AntennaGain <em>Antenna Gain</em>}'. 960 * Returns the meta object for class '{@link satellite.UHFCommSubsystem <em>UHF Comm Subsystem</em>}'.
941 * <!-- begin-user-doc --> 961 * <!-- begin-user-doc -->
942 * <!-- end-user-doc --> 962 * <!-- end-user-doc -->
943 * @return the meta object for enum '<em>Antenna Gain</em>'. 963 * @return the meta object for class '<em>UHF Comm Subsystem</em>'.
944 * @see satellite.AntennaGain 964 * @see satellite.UHFCommSubsystem
945 * @generated 965 * @generated
946 */ 966 */
947 EEnum getAntennaGain(); 967 EClass getUHFCommSubsystem();
948 968
949 /** 969 /**
950 * Returns the meta object for enum '{@link satellite.SpacecraftKind <em>Spacecraft Kind</em>}'. 970 * Returns the meta object for class '{@link satellite.XCommSubsystem <em>XComm Subsystem</em>}'.
951 * <!-- begin-user-doc --> 971 * <!-- begin-user-doc -->
952 * <!-- end-user-doc --> 972 * <!-- end-user-doc -->
953 * @return the meta object for enum '<em>Spacecraft Kind</em>'. 973 * @return the meta object for class '<em>XComm Subsystem</em>'.
954 * @see satellite.SpacecraftKind 974 * @see satellite.XCommSubsystem
955 * @generated 975 * @generated
956 */ 976 */
957 EEnum getSpacecraftKind(); 977 EClass getXCommSubsystem();
978
979 /**
980 * Returns the meta object for class '{@link satellite.KaCommSubsystem <em>Ka Comm Subsystem</em>}'.
981 * <!-- begin-user-doc -->
982 * <!-- end-user-doc -->
983 * @return the meta object for class '<em>Ka Comm Subsystem</em>'.
984 * @see satellite.KaCommSubsystem
985 * @generated
986 */
987 EClass getKaCommSubsystem();
958 988
959 /** 989 /**
960 * Returns the factory that creates the instances of the model. 990 * Returns the factory that creates the instances of the model.
@@ -1079,14 +1109,6 @@ public interface SatellitePackage extends EPackage {
1079 EReference SPACECRAFT__PAYLOAD = eINSTANCE.getSpacecraft_Payload(); 1109 EReference SPACECRAFT__PAYLOAD = eINSTANCE.getSpacecraft_Payload();
1080 1110
1081 /** 1111 /**
1082 * The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
1083 * <!-- begin-user-doc -->
1084 * <!-- end-user-doc -->
1085 * @generated
1086 */
1087 EAttribute SPACECRAFT__KIND = eINSTANCE.getSpacecraft_Kind();
1088
1089 /**
1090 * The meta object literal for the '{@link satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class. 1112 * The meta object literal for the '{@link satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class.
1091 * <!-- begin-user-doc --> 1113 * <!-- begin-user-doc -->
1092 * <!-- end-user-doc --> 1114 * <!-- end-user-doc -->
@@ -1097,22 +1119,6 @@ public interface SatellitePackage extends EPackage {
1097 EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); 1119 EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem();
1098 1120
1099 /** 1121 /**
1100 * The meta object literal for the '<em><b>Band</b></em>' attribute feature.
1101 * <!-- begin-user-doc -->
1102 * <!-- end-user-doc -->
1103 * @generated
1104 */
1105 EAttribute COMM_SUBSYSTEM__BAND = eINSTANCE.getCommSubsystem_Band();
1106
1107 /**
1108 * The meta object literal for the '<em><b>Gain</b></em>' attribute feature.
1109 * <!-- begin-user-doc -->
1110 * <!-- end-user-doc -->
1111 * @generated
1112 */
1113 EAttribute COMM_SUBSYSTEM__GAIN = eINSTANCE.getCommSubsystem_Gain();
1114
1115 /**
1116 * The meta object literal for the '{@link satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class. 1122 * The meta object literal for the '{@link satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class.
1117 * <!-- begin-user-doc --> 1123 * <!-- begin-user-doc -->
1118 * <!-- end-user-doc --> 1124 * <!-- end-user-doc -->
@@ -1189,34 +1195,44 @@ public interface SatellitePackage extends EPackage {
1189 EClass SMALL_SAT = eINSTANCE.getSmallSat(); 1195 EClass SMALL_SAT = eINSTANCE.getSmallSat();
1190 1196
1191 /** 1197 /**
1192 * The meta object literal for the '{@link satellite.TransceiverBand <em>Transceiver Band</em>}' enum. 1198 * The meta object literal for the '{@link satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class.
1199 * <!-- begin-user-doc -->
1200 * <!-- end-user-doc -->
1201 * @see satellite.impl.CubeSatImpl
1202 * @see satellite.impl.SatellitePackageImpl#getCubeSat()
1203 * @generated
1204 */
1205 EClass CUBE_SAT = eINSTANCE.getCubeSat();
1206
1207 /**
1208 * The meta object literal for the '{@link satellite.impl.UHFCommSubsystemImpl <em>UHF Comm Subsystem</em>}' class.
1193 * <!-- begin-user-doc --> 1209 * <!-- begin-user-doc -->
1194 * <!-- end-user-doc --> 1210 * <!-- end-user-doc -->
1195 * @see satellite.TransceiverBand 1211 * @see satellite.impl.UHFCommSubsystemImpl
1196 * @see satellite.impl.SatellitePackageImpl#getTransceiverBand() 1212 * @see satellite.impl.SatellitePackageImpl#getUHFCommSubsystem()
1197 * @generated 1213 * @generated
1198 */ 1214 */
1199 EEnum TRANSCEIVER_BAND = eINSTANCE.getTransceiverBand(); 1215 EClass UHF_COMM_SUBSYSTEM = eINSTANCE.getUHFCommSubsystem();
1200 1216
1201 /** 1217 /**
1202 * The meta object literal for the '{@link satellite.AntennaGain <em>Antenna Gain</em>}' enum. 1218 * The meta object literal for the '{@link satellite.impl.XCommSubsystemImpl <em>XComm Subsystem</em>}' class.
1203 * <!-- begin-user-doc --> 1219 * <!-- begin-user-doc -->
1204 * <!-- end-user-doc --> 1220 * <!-- end-user-doc -->
1205 * @see satellite.AntennaGain 1221 * @see satellite.impl.XCommSubsystemImpl
1206 * @see satellite.impl.SatellitePackageImpl#getAntennaGain() 1222 * @see satellite.impl.SatellitePackageImpl#getXCommSubsystem()
1207 * @generated 1223 * @generated
1208 */ 1224 */
1209 EEnum ANTENNA_GAIN = eINSTANCE.getAntennaGain(); 1225 EClass XCOMM_SUBSYSTEM = eINSTANCE.getXCommSubsystem();
1210 1226
1211 /** 1227 /**
1212 * The meta object literal for the '{@link satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. 1228 * The meta object literal for the '{@link satellite.impl.KaCommSubsystemImpl <em>Ka Comm Subsystem</em>}' class.
1213 * <!-- begin-user-doc --> 1229 * <!-- begin-user-doc -->
1214 * <!-- end-user-doc --> 1230 * <!-- end-user-doc -->
1215 * @see satellite.SpacecraftKind 1231 * @see satellite.impl.KaCommSubsystemImpl
1216 * @see satellite.impl.SatellitePackageImpl#getSpacecraftKind() 1232 * @see satellite.impl.SatellitePackageImpl#getKaCommSubsystem()
1217 * @generated 1233 * @generated
1218 */ 1234 */
1219 EEnum SPACECRAFT_KIND = eINSTANCE.getSpacecraftKind(); 1235 EClass KA_COMM_SUBSYSTEM = eINSTANCE.getKaCommSubsystem();
1220 1236
1221 } 1237 }
1222 1238
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/Spacecraft.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/Spacecraft.java
index d8775572..b0a2754e 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/Spacecraft.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/Spacecraft.java
@@ -12,7 +12,6 @@ package satellite;
12 * </p> 12 * </p>
13 * <ul> 13 * <ul>
14 * <li>{@link satellite.Spacecraft#getPayload <em>Payload</em>}</li> 14 * <li>{@link satellite.Spacecraft#getPayload <em>Payload</em>}</li>
15 * <li>{@link satellite.Spacecraft#getKind <em>Kind</em>}</li>
16 * </ul> 15 * </ul>
17 * 16 *
18 * @see satellite.SatellitePackage#getSpacecraft() 17 * @see satellite.SatellitePackage#getSpacecraft()
@@ -23,10 +22,6 @@ public interface Spacecraft extends CommunicatingElement {
23 /** 22 /**
24 * Returns the value of the '<em><b>Payload</b></em>' containment reference. 23 * Returns the value of the '<em><b>Payload</b></em>' containment reference.
25 * <!-- begin-user-doc --> 24 * <!-- begin-user-doc -->
26 * <p>
27 * If the meaning of the '<em>Payload</em>' containment reference isn't clear,
28 * there really should be more of a description here...
29 * </p>
30 * <!-- end-user-doc --> 25 * <!-- end-user-doc -->
31 * @return the value of the '<em>Payload</em>' containment reference. 26 * @return the value of the '<em>Payload</em>' containment reference.
32 * @see #setPayload(Payload) 27 * @see #setPayload(Payload)
@@ -46,22 +41,4 @@ public interface Spacecraft extends CommunicatingElement {
46 */ 41 */
47 void setPayload(Payload value); 42 void setPayload(Payload value);
48 43
49 /**
50 * Returns the value of the '<em><b>Kind</b></em>' attribute.
51 * The literals are from the enumeration {@link satellite.SpacecraftKind}.
52 * <!-- begin-user-doc -->
53 * <p>
54 * If the meaning of the '<em>Kind</em>' attribute isn't clear,
55 * there really should be more of a description here...
56 * </p>
57 * <!-- end-user-doc -->
58 * @return the value of the '<em>Kind</em>' attribute.
59 * @see satellite.SpacecraftKind
60 * @see satellite.SatellitePackage#getSpacecraft_Kind()
61 * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
62 * annotation="org.eclipse.viatra.query.querybasedfeature patternFQN='hu.bme.mit.inf.dslreasoner.domains.satellite.queries.spacecraftOfKind'"
63 * @generated
64 */
65 SpacecraftKind getKind();
66
67} // Spacecraft 44} // Spacecraft
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SpacecraftKind.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SpacecraftKind.java
index 40bb432d..76232414 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SpacecraftKind.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SpacecraftKind.java
@@ -51,10 +51,6 @@ public enum SpacecraftKind implements Enumerator {
51 /** 51 /**
52 * The '<em><b>Cube Sat3 U</b></em>' literal value. 52 * The '<em><b>Cube Sat3 U</b></em>' literal value.
53 * <!-- begin-user-doc --> 53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of '<em><b>Cube Sat3 U</b></em>' literal object isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc --> 54 * <!-- end-user-doc -->
59 * @see #CUBE_SAT3_U 55 * @see #CUBE_SAT3_U
60 * @model name="CubeSat3U" 56 * @model name="CubeSat3U"
@@ -66,10 +62,6 @@ public enum SpacecraftKind implements Enumerator {
66 /** 62 /**
67 * The '<em><b>Cube Sat6 U</b></em>' literal value. 63 * The '<em><b>Cube Sat6 U</b></em>' literal value.
68 * <!-- begin-user-doc --> 64 * <!-- begin-user-doc -->
69 * <p>
70 * If the meaning of '<em><b>Cube Sat6 U</b></em>' literal object isn't clear,
71 * there really should be more of a description here...
72 * </p>
73 * <!-- end-user-doc --> 65 * <!-- end-user-doc -->
74 * @see #CUBE_SAT6_U 66 * @see #CUBE_SAT6_U
75 * @model name="CubeSat6U" 67 * @model name="CubeSat6U"
@@ -81,10 +73,6 @@ public enum SpacecraftKind implements Enumerator {
81 /** 73 /**
82 * The '<em><b>Small Sat</b></em>' literal value. 74 * The '<em><b>Small Sat</b></em>' literal value.
83 * <!-- begin-user-doc --> 75 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of '<em><b>Small Sat</b></em>' literal object isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc --> 76 * <!-- end-user-doc -->
89 * @see #SMALL_SAT 77 * @see #SMALL_SAT
90 * @model name="SmallSat" 78 * @model name="SmallSat"
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/TransceiverBand.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/TransceiverBand.java
index b6be75bf..9d8d5697 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/TransceiverBand.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/TransceiverBand.java
@@ -51,10 +51,6 @@ public enum TransceiverBand implements Enumerator {
51 /** 51 /**
52 * The '<em><b>UHF</b></em>' literal value. 52 * The '<em><b>UHF</b></em>' literal value.
53 * <!-- begin-user-doc --> 53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of '<em><b>UHF</b></em>' literal object isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc --> 54 * <!-- end-user-doc -->
59 * @see #UHF 55 * @see #UHF
60 * @model 56 * @model
@@ -66,10 +62,6 @@ public enum TransceiverBand implements Enumerator {
66 /** 62 /**
67 * The '<em><b>X</b></em>' literal value. 63 * The '<em><b>X</b></em>' literal value.
68 * <!-- begin-user-doc --> 64 * <!-- begin-user-doc -->
69 * <p>
70 * If the meaning of '<em><b>X</b></em>' literal object isn't clear,
71 * there really should be more of a description here...
72 * </p>
73 * <!-- end-user-doc --> 65 * <!-- end-user-doc -->
74 * @see #X 66 * @see #X
75 * @model 67 * @model
@@ -81,10 +73,6 @@ public enum TransceiverBand implements Enumerator {
81 /** 73 /**
82 * The '<em><b>Ka</b></em>' literal value. 74 * The '<em><b>Ka</b></em>' literal value.
83 * <!-- begin-user-doc --> 75 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of '<em><b>Ka</b></em>' literal object isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc --> 76 * <!-- end-user-doc -->
89 * @see #KA 77 * @see #KA
90 * @model name="Ka" 78 * @model name="Ka"
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/UHFCommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/UHFCommSubsystem.java
new file mode 100644
index 00000000..5b36d6c7
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/UHFCommSubsystem.java
@@ -0,0 +1,16 @@
1/**
2 */
3package satellite;
4
5/**
6 * <!-- begin-user-doc -->
7 * A representation of the model object '<em><b>UHF Comm Subsystem</b></em>'.
8 * <!-- end-user-doc -->
9 *
10 *
11 * @see satellite.SatellitePackage#getUHFCommSubsystem()
12 * @model
13 * @generated
14 */
15public interface UHFCommSubsystem extends CommSubsystem {
16} // UHFCommSubsystem
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/XCommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/XCommSubsystem.java
new file mode 100644
index 00000000..c2b0ecd5
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/XCommSubsystem.java
@@ -0,0 +1,16 @@
1/**
2 */
3package satellite;
4
5/**
6 * <!-- begin-user-doc -->
7 * A representation of the model object '<em><b>XComm Subsystem</b></em>'.
8 * <!-- end-user-doc -->
9 *
10 *
11 * @see satellite.SatellitePackage#getXCommSubsystem()
12 * @model
13 * @generated
14 */
15public interface XCommSubsystem extends CommSubsystem {
16} // XCommSubsystem
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 cf8f1fe8..cae35a0c 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,73 +2,19 @@
2 */ 2 */
3package satellite.impl; 3package satellite.impl;
4 4
5import org.eclipse.emf.common.notify.Notification;
6
7import org.eclipse.emf.ecore.EClass; 5import org.eclipse.emf.ecore.EClass;
8
9import org.eclipse.emf.ecore.impl.ENotificationImpl;
10import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 6import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
11
12import satellite.AntennaGain;
13import satellite.CommSubsystem; 7import satellite.CommSubsystem;
14import satellite.SatellitePackage; 8import satellite.SatellitePackage;
15import satellite.TransceiverBand;
16 9
17/** 10/**
18 * <!-- begin-user-doc --> 11 * <!-- begin-user-doc -->
19 * An implementation of the model object '<em><b>Comm Subsystem</b></em>'. 12 * An implementation of the model object '<em><b>Comm Subsystem</b></em>'.
20 * <!-- end-user-doc --> 13 * <!-- end-user-doc -->
21 * <p>
22 * The following features are implemented:
23 * </p>
24 * <ul>
25 * <li>{@link satellite.impl.CommSubsystemImpl#getBand <em>Band</em>}</li>
26 * <li>{@link satellite.impl.CommSubsystemImpl#getGain <em>Gain</em>}</li>
27 * </ul>
28 * 14 *
29 * @generated 15 * @generated
30 */ 16 */
31public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { 17public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem {
32 /**
33 * The default value of the '{@link #getBand() <em>Band</em>}' attribute.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getBand()
37 * @generated
38 * @ordered
39 */
40 protected static final TransceiverBand BAND_EDEFAULT = TransceiverBand.UHF;
41
42 /**
43 * The cached value of the '{@link #getBand() <em>Band</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #getBand()
47 * @generated
48 * @ordered
49 */
50 protected TransceiverBand band = BAND_EDEFAULT;
51
52 /**
53 * The default value of the '{@link #getGain() <em>Gain</em>}' attribute.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #getGain()
57 * @generated
58 * @ordered
59 */
60 protected static final AntennaGain GAIN_EDEFAULT = AntennaGain.LOW;
61
62 /**
63 * The cached value of the '{@link #getGain() <em>Gain</em>}' attribute.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #getGain()
67 * @generated
68 * @ordered
69 */
70 protected AntennaGain gain = GAIN_EDEFAULT;
71
72 /** 18 /**
73 * <!-- begin-user-doc --> 19 * <!-- begin-user-doc -->
74 * <!-- end-user-doc --> 20 * <!-- end-user-doc -->
@@ -88,139 +34,4 @@ public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements C
88 return SatellitePackage.Literals.COMM_SUBSYSTEM; 34 return SatellitePackage.Literals.COMM_SUBSYSTEM;
89 } 35 }
90 36
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 @Override
97 public TransceiverBand getBand() {
98 return band;
99 }
100
101 /**
102 * <!-- begin-user-doc -->
103 * <!-- end-user-doc -->
104 * @generated
105 */
106 @Override
107 public void setBand(TransceiverBand newBand) {
108 TransceiverBand oldBand = band;
109 band = newBand == null ? BAND_EDEFAULT : newBand;
110 if (eNotificationRequired())
111 eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__BAND, oldBand,
112 band));
113 }
114
115 /**
116 * <!-- begin-user-doc -->
117 * <!-- end-user-doc -->
118 * @generated
119 */
120 @Override
121 public AntennaGain getGain() {
122 return gain;
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 @Override
131 public void setGain(AntennaGain newGain) {
132 AntennaGain oldGain = gain;
133 gain = newGain == null ? GAIN_EDEFAULT : newGain;
134 if (eNotificationRequired())
135 eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__GAIN, oldGain,
136 gain));
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public Object eGet(int featureID, boolean resolve, boolean coreType) {
146 switch (featureID) {
147 case SatellitePackage.COMM_SUBSYSTEM__BAND:
148 return getBand();
149 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
150 return getGain();
151 }
152 return super.eGet(featureID, resolve, coreType);
153 }
154
155 /**
156 * <!-- begin-user-doc -->
157 * <!-- end-user-doc -->
158 * @generated
159 */
160 @Override
161 public void eSet(int featureID, Object newValue) {
162 switch (featureID) {
163 case SatellitePackage.COMM_SUBSYSTEM__BAND:
164 setBand((TransceiverBand) newValue);
165 return;
166 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
167 setGain((AntennaGain) newValue);
168 return;
169 }
170 super.eSet(featureID, newValue);
171 }
172
173 /**
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 */
178 @Override
179 public void eUnset(int featureID) {
180 switch (featureID) {
181 case SatellitePackage.COMM_SUBSYSTEM__BAND:
182 setBand(BAND_EDEFAULT);
183 return;
184 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
185 setGain(GAIN_EDEFAULT);
186 return;
187 }
188 super.eUnset(featureID);
189 }
190
191 /**
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 */
196 @Override
197 public boolean eIsSet(int featureID) {
198 switch (featureID) {
199 case SatellitePackage.COMM_SUBSYSTEM__BAND:
200 return band != BAND_EDEFAULT;
201 case SatellitePackage.COMM_SUBSYSTEM__GAIN:
202 return gain != GAIN_EDEFAULT;
203 }
204 return super.eIsSet(featureID);
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 @Override
213 public String toString() {
214 if (eIsProxy())
215 return super.toString();
216
217 StringBuilder result = new StringBuilder(super.toString());
218 result.append(" (band: ");
219 result.append(band);
220 result.append(", gain: ");
221 result.append(gain);
222 result.append(')');
223 return result.toString();
224 }
225
226} //CommSubsystemImpl 37} //CommSubsystemImpl
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat3UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat3UImpl.java
index a7ba37a7..350a9bcc 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat3UImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat3UImpl.java
@@ -14,7 +14,7 @@ import satellite.SatellitePackage;
14 * 14 *
15 * @generated 15 * @generated
16 */ 16 */
17public class CubeSat3UImpl extends SpacecraftImpl implements CubeSat3U { 17public class CubeSat3UImpl extends CubeSatImpl implements CubeSat3U {
18 /** 18 /**
19 * <!-- begin-user-doc --> 19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc --> 20 * <!-- end-user-doc -->
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat6UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat6UImpl.java
index d4f42e6c..3b9c5988 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat6UImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSat6UImpl.java
@@ -14,7 +14,7 @@ import satellite.SatellitePackage;
14 * 14 *
15 * @generated 15 * @generated
16 */ 16 */
17public class CubeSat6UImpl extends SpacecraftImpl implements CubeSat6U { 17public class CubeSat6UImpl extends CubeSatImpl implements CubeSat6U {
18 /** 18 /**
19 * <!-- begin-user-doc --> 19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc --> 20 * <!-- end-user-doc -->
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java
new file mode 100644
index 00000000..660bd062
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java
@@ -0,0 +1,37 @@
1/**
2 */
3package satellite.impl;
4
5import org.eclipse.emf.ecore.EClass;
6
7import satellite.CubeSat;
8import satellite.SatellitePackage;
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 */
17public 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/satellite/impl/KaCommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/KaCommSubsystemImpl.java
new file mode 100644
index 00000000..3f4fc432
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/KaCommSubsystemImpl.java
@@ -0,0 +1,37 @@
1/**
2 */
3package satellite.impl;
4
5import org.eclipse.emf.ecore.EClass;
6
7import satellite.KaCommSubsystem;
8import satellite.SatellitePackage;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>Ka Comm Subsystem</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class KaCommSubsystemImpl extends CommSubsystemImpl implements KaCommSubsystem {
18 /**
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 protected KaCommSubsystemImpl() {
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.KA_COMM_SUBSYSTEM;
35 }
36
37} //KaCommSubsystemImpl
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 e899dc79..135527c6 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
@@ -3,7 +3,6 @@
3package satellite.impl; 3package satellite.impl;
4 4
5import org.eclipse.emf.ecore.EClass; 5import org.eclipse.emf.ecore.EClass;
6import org.eclipse.emf.ecore.EDataType;
7import org.eclipse.emf.ecore.EObject; 6import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.ecore.EPackage; 7import org.eclipse.emf.ecore.EPackage;
9 8
@@ -61,8 +60,6 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
61 return createInterferometryMission(); 60 return createInterferometryMission();
62 case SatellitePackage.GROUND_STATION_NETWORK: 61 case SatellitePackage.GROUND_STATION_NETWORK:
63 return createGroundStationNetwork(); 62 return createGroundStationNetwork();
64 case SatellitePackage.COMM_SUBSYSTEM:
65 return createCommSubsystem();
66 case SatellitePackage.DIRECTED_COMMUNICATION_LINK: 63 case SatellitePackage.DIRECTED_COMMUNICATION_LINK:
67 return createDirectedCommunicationLink(); 64 return createDirectedCommunicationLink();
68 case SatellitePackage.INTERFEROMETRY_PAYLOAD: 65 case SatellitePackage.INTERFEROMETRY_PAYLOAD:
@@ -73,6 +70,12 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
73 return createCubeSat6U(); 70 return createCubeSat6U();
74 case SatellitePackage.SMALL_SAT: 71 case SatellitePackage.SMALL_SAT:
75 return createSmallSat(); 72 return createSmallSat();
73 case SatellitePackage.UHF_COMM_SUBSYSTEM:
74 return createUHFCommSubsystem();
75 case SatellitePackage.XCOMM_SUBSYSTEM:
76 return createXCommSubsystem();
77 case SatellitePackage.KA_COMM_SUBSYSTEM:
78 return createKaCommSubsystem();
76 default: 79 default:
77 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); 80 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
78 } 81 }
@@ -84,44 +87,6 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
84 * @generated 87 * @generated
85 */ 88 */
86 @Override 89 @Override
87 public Object createFromString(EDataType eDataType, String initialValue) {
88 switch (eDataType.getClassifierID()) {
89 case SatellitePackage.TRANSCEIVER_BAND:
90 return createTransceiverBandFromString(eDataType, initialValue);
91 case SatellitePackage.ANTENNA_GAIN:
92 return createAntennaGainFromString(eDataType, initialValue);
93 case SatellitePackage.SPACECRAFT_KIND:
94 return createSpacecraftKindFromString(eDataType, initialValue);
95 default:
96 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
97 }
98 }
99
100 /**
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @generated
104 */
105 @Override
106 public String convertToString(EDataType eDataType, Object instanceValue) {
107 switch (eDataType.getClassifierID()) {
108 case SatellitePackage.TRANSCEIVER_BAND:
109 return convertTransceiverBandToString(eDataType, instanceValue);
110 case SatellitePackage.ANTENNA_GAIN:
111 return convertAntennaGainToString(eDataType, instanceValue);
112 case SatellitePackage.SPACECRAFT_KIND:
113 return convertSpacecraftKindToString(eDataType, instanceValue);
114 default:
115 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
116 }
117 }
118
119 /**
120 * <!-- begin-user-doc -->
121 * <!-- end-user-doc -->
122 * @generated
123 */
124 @Override
125 public InterferometryMission createInterferometryMission() { 90 public InterferometryMission createInterferometryMission() {
126 InterferometryMissionImpl interferometryMission = new InterferometryMissionImpl(); 91 InterferometryMissionImpl interferometryMission = new InterferometryMissionImpl();
127 return interferometryMission; 92 return interferometryMission;
@@ -144,17 +109,6 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
144 * @generated 109 * @generated
145 */ 110 */
146 @Override 111 @Override
147 public CommSubsystem createCommSubsystem() {
148 CommSubsystemImpl commSubsystem = new CommSubsystemImpl();
149 return commSubsystem;
150 }
151
152 /**
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @generated
156 */
157 @Override
158 public DirectedCommunicationLink createDirectedCommunicationLink() { 112 public DirectedCommunicationLink createDirectedCommunicationLink() {
159 DirectedCommunicationLinkImpl directedCommunicationLink = new DirectedCommunicationLinkImpl(); 113 DirectedCommunicationLinkImpl directedCommunicationLink = new DirectedCommunicationLinkImpl();
160 return directedCommunicationLink; 114 return directedCommunicationLink;
@@ -209,43 +163,10 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
209 * <!-- end-user-doc --> 163 * <!-- end-user-doc -->
210 * @generated 164 * @generated
211 */ 165 */
212 public TransceiverBand createTransceiverBandFromString(EDataType eDataType, String initialValue) { 166 @Override
213 TransceiverBand result = TransceiverBand.get(initialValue); 167 public UHFCommSubsystem createUHFCommSubsystem() {
214 if (result == null) 168 UHFCommSubsystemImpl uhfCommSubsystem = new UHFCommSubsystemImpl();
215 throw new IllegalArgumentException( 169 return uhfCommSubsystem;
216 "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
217 return result;
218 }
219
220 /**
221 * <!-- begin-user-doc -->
222 * <!-- end-user-doc -->
223 * @generated
224 */
225 public String convertTransceiverBandToString(EDataType eDataType, Object instanceValue) {
226 return instanceValue == null ? null : instanceValue.toString();
227 }
228
229 /**
230 * <!-- begin-user-doc -->
231 * <!-- end-user-doc -->
232 * @generated
233 */
234 public AntennaGain createAntennaGainFromString(EDataType eDataType, String initialValue) {
235 AntennaGain result = AntennaGain.get(initialValue);
236 if (result == null)
237 throw new IllegalArgumentException(
238 "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
239 return result;
240 }
241
242 /**
243 * <!-- begin-user-doc -->
244 * <!-- end-user-doc -->
245 * @generated
246 */
247 public String convertAntennaGainToString(EDataType eDataType, Object instanceValue) {
248 return instanceValue == null ? null : instanceValue.toString();
249 } 170 }
250 171
251 /** 172 /**
@@ -253,12 +174,10 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
253 * <!-- end-user-doc --> 174 * <!-- end-user-doc -->
254 * @generated 175 * @generated
255 */ 176 */
256 public SpacecraftKind createSpacecraftKindFromString(EDataType eDataType, String initialValue) { 177 @Override
257 SpacecraftKind result = SpacecraftKind.get(initialValue); 178 public XCommSubsystem createXCommSubsystem() {
258 if (result == null) 179 XCommSubsystemImpl xCommSubsystem = new XCommSubsystemImpl();
259 throw new IllegalArgumentException( 180 return xCommSubsystem;
260 "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
261 return result;
262 } 181 }
263 182
264 /** 183 /**
@@ -266,8 +185,10 @@ public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFacto
266 * <!-- end-user-doc --> 185 * <!-- end-user-doc -->
267 * @generated 186 * @generated
268 */ 187 */
269 public String convertSpacecraftKindToString(EDataType eDataType, Object instanceValue) { 188 @Override
270 return instanceValue == null ? null : instanceValue.toString(); 189 public KaCommSubsystem createKaCommSubsystem() {
190 KaCommSubsystemImpl kaCommSubsystem = new KaCommSubsystemImpl();
191 return kaCommSubsystem;
271 } 192 }
272 193
273 /** 194 /**
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..daec68a9 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
@@ -4,29 +4,28 @@ package satellite.impl;
4 4
5import org.eclipse.emf.ecore.EAttribute; 5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass; 6import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EEnum;
8import org.eclipse.emf.ecore.EPackage; 7import org.eclipse.emf.ecore.EPackage;
9import org.eclipse.emf.ecore.EReference; 8import org.eclipse.emf.ecore.EReference;
10 9
11import org.eclipse.emf.ecore.impl.EPackageImpl; 10import org.eclipse.emf.ecore.impl.EPackageImpl;
12
13import satellite.AntennaGain;
14import satellite.CommSubsystem; 11import satellite.CommSubsystem;
15import satellite.CommunicatingElement; 12import satellite.CommunicatingElement;
16import satellite.ConstellationMission; 13import satellite.ConstellationMission;
14import satellite.CubeSat;
17import satellite.CubeSat3U; 15import satellite.CubeSat3U;
18import satellite.CubeSat6U; 16import satellite.CubeSat6U;
19import satellite.DirectedCommunicationLink; 17import satellite.DirectedCommunicationLink;
20import satellite.GroundStationNetwork; 18import satellite.GroundStationNetwork;
21import satellite.InterferometryMission; 19import satellite.InterferometryMission;
22import satellite.InterferometryPayload; 20import satellite.InterferometryPayload;
21import satellite.KaCommSubsystem;
23import satellite.Payload; 22import satellite.Payload;
24import satellite.SatelliteFactory; 23import satellite.SatelliteFactory;
25import satellite.SatellitePackage; 24import satellite.SatellitePackage;
26import satellite.SmallSat; 25import satellite.SmallSat;
27import satellite.Spacecraft; 26import satellite.Spacecraft;
28import satellite.SpacecraftKind; 27import satellite.UHFCommSubsystem;
29import satellite.TransceiverBand; 28import satellite.XCommSubsystem;
30 29
31/** 30/**
32 * <!-- begin-user-doc --> 31 * <!-- begin-user-doc -->
@@ -124,21 +123,28 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
124 * <!-- end-user-doc --> 123 * <!-- end-user-doc -->
125 * @generated 124 * @generated
126 */ 125 */
127 private EEnum transceiverBandEEnum = null; 126 private EClass cubeSatEClass = null;
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 private EClass uhfCommSubsystemEClass = null;
128 134
129 /** 135 /**
130 * <!-- begin-user-doc --> 136 * <!-- begin-user-doc -->
131 * <!-- end-user-doc --> 137 * <!-- end-user-doc -->
132 * @generated 138 * @generated
133 */ 139 */
134 private EEnum antennaGainEEnum = null; 140 private EClass xCommSubsystemEClass = null;
135 141
136 /** 142 /**
137 * <!-- begin-user-doc --> 143 * <!-- begin-user-doc -->
138 * <!-- end-user-doc --> 144 * <!-- end-user-doc -->
139 * @generated 145 * @generated
140 */ 146 */
141 private EEnum spacecraftKindEEnum = null; 147 private EClass kaCommSubsystemEClass = null;
142 148
143 /** 149 /**
144 * Creates an instance of the model <b>Package</b>, registered with 150 * Creates an instance of the model <b>Package</b>, registered with
@@ -320,16 +326,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
320 * @generated 326 * @generated
321 */ 327 */
322 @Override 328 @Override
323 public EAttribute getSpacecraft_Kind() {
324 return (EAttribute) spacecraftEClass.getEStructuralFeatures().get(1);
325 }
326
327 /**
328 * <!-- begin-user-doc -->
329 * <!-- end-user-doc -->
330 * @generated
331 */
332 @Override
333 public EClass getCommSubsystem() { 329 public EClass getCommSubsystem() {
334 return commSubsystemEClass; 330 return commSubsystemEClass;
335 } 331 }
@@ -340,26 +336,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
340 * @generated 336 * @generated
341 */ 337 */
342 @Override 338 @Override
343 public EAttribute getCommSubsystem_Band() {
344 return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(0);
345 }
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 @Override
353 public EAttribute getCommSubsystem_Gain() {
354 return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(1);
355 }
356
357 /**
358 * <!-- begin-user-doc -->
359 * <!-- end-user-doc -->
360 * @generated
361 */
362 @Override
363 public EClass getDirectedCommunicationLink() { 339 public EClass getDirectedCommunicationLink() {
364 return directedCommunicationLinkEClass; 340 return directedCommunicationLinkEClass;
365 } 341 }
@@ -440,8 +416,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
440 * @generated 416 * @generated
441 */ 417 */
442 @Override 418 @Override
443 public EEnum getTransceiverBand() { 419 public EClass getCubeSat() {
444 return transceiverBandEEnum; 420 return cubeSatEClass;
445 } 421 }
446 422
447 /** 423 /**
@@ -450,8 +426,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
450 * @generated 426 * @generated
451 */ 427 */
452 @Override 428 @Override
453 public EEnum getAntennaGain() { 429 public EClass getUHFCommSubsystem() {
454 return antennaGainEEnum; 430 return uhfCommSubsystemEClass;
455 } 431 }
456 432
457 /** 433 /**
@@ -460,8 +436,18 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
460 * @generated 436 * @generated
461 */ 437 */
462 @Override 438 @Override
463 public EEnum getSpacecraftKind() { 439 public EClass getXCommSubsystem() {
464 return spacecraftKindEEnum; 440 return xCommSubsystemEClass;
441 }
442
443 /**
444 * <!-- begin-user-doc -->
445 * <!-- end-user-doc -->
446 * @generated
447 */
448 @Override
449 public EClass getKaCommSubsystem() {
450 return kaCommSubsystemEClass;
465 } 451 }
466 452
467 /** 453 /**
@@ -509,11 +495,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
509 495
510 spacecraftEClass = createEClass(SPACECRAFT); 496 spacecraftEClass = createEClass(SPACECRAFT);
511 createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); 497 createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD);
512 createEAttribute(spacecraftEClass, SPACECRAFT__KIND);
513 498
514 commSubsystemEClass = createEClass(COMM_SUBSYSTEM); 499 commSubsystemEClass = createEClass(COMM_SUBSYSTEM);
515 createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND);
516 createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN);
517 500
518 directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); 501 directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK);
519 createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); 502 createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE);
@@ -529,10 +512,13 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
529 512
530 smallSatEClass = createEClass(SMALL_SAT); 513 smallSatEClass = createEClass(SMALL_SAT);
531 514
532 // Create enums 515 cubeSatEClass = createEClass(CUBE_SAT);
533 transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); 516
534 antennaGainEEnum = createEEnum(ANTENNA_GAIN); 517 uhfCommSubsystemEClass = createEClass(UHF_COMM_SUBSYSTEM);
535 spacecraftKindEEnum = createEEnum(SPACECRAFT_KIND); 518
519 xCommSubsystemEClass = createEClass(XCOMM_SUBSYSTEM);
520
521 kaCommSubsystemEClass = createEClass(KA_COMM_SUBSYSTEM);
536 } 522 }
537 523
538 /** 524 /**
@@ -568,9 +554,13 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
568 groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); 554 groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement());
569 spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); 555 spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement());
570 interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); 556 interferometryPayloadEClass.getESuperTypes().add(this.getPayload());
571 cubeSat3UEClass.getESuperTypes().add(this.getSpacecraft()); 557 cubeSat3UEClass.getESuperTypes().add(this.getCubeSat());
572 cubeSat6UEClass.getESuperTypes().add(this.getSpacecraft()); 558 cubeSat6UEClass.getESuperTypes().add(this.getCubeSat());
573 smallSatEClass.getESuperTypes().add(this.getSpacecraft()); 559 smallSatEClass.getESuperTypes().add(this.getSpacecraft());
560 cubeSatEClass.getESuperTypes().add(this.getSpacecraft());
561 uhfCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem());
562 xCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem());
563 kaCommSubsystemEClass.getESuperTypes().add(this.getCommSubsystem());
574 564
575 // Initialize classes, features, and operations; add parameters 565 // Initialize classes, features, and operations; add parameters
576 initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, 566 initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT,
@@ -605,15 +595,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
605 initEReference(getSpacecraft_Payload(), this.getPayload(), null, "payload", null, 0, 1, Spacecraft.class, 595 initEReference(getSpacecraft_Payload(), this.getPayload(), null, "payload", null, 0, 1, Spacecraft.class,
606 !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, 596 !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
607 IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 597 IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
608 initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class,
609 IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
610 598
611 initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, 599 initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE,
612 IS_GENERATED_INSTANCE_CLASS); 600 IS_GENERATED_INSTANCE_CLASS);
613 initEAttribute(getCommSubsystem_Band(), this.getTransceiverBand(), "band", null, 1, 1, CommSubsystem.class,
614 !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,
616 !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
617 601
618 initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", 602 initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink",
619 !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 603 !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -638,53 +622,19 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
638 initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, 622 initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE,
639 IS_GENERATED_INSTANCE_CLASS); 623 IS_GENERATED_INSTANCE_CLASS);
640 624
641 // Initialize enums and add enum literals 625 initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
642 initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand");
643 addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF);
644 addEEnumLiteral(transceiverBandEEnum, TransceiverBand.X);
645 addEEnumLiteral(transceiverBandEEnum, TransceiverBand.KA);
646 626
647 initEEnum(antennaGainEEnum, AntennaGain.class, "AntennaGain"); 627 initEClass(uhfCommSubsystemEClass, UHFCommSubsystem.class, "UHFCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE,
648 addEEnumLiteral(antennaGainEEnum, AntennaGain.LOW); 628 IS_GENERATED_INSTANCE_CLASS);
649 addEEnumLiteral(antennaGainEEnum, AntennaGain.MEDIUM);
650 addEEnumLiteral(antennaGainEEnum, AntennaGain.HIGH);
651 629
652 initEEnum(spacecraftKindEEnum, SpacecraftKind.class, "SpacecraftKind"); 630 initEClass(xCommSubsystemEClass, XCommSubsystem.class, "XCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE,
653 addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT3_U); 631 IS_GENERATED_INSTANCE_CLASS);
654 addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT6_U); 632
655 addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.SMALL_SAT); 633 initEClass(kaCommSubsystemEClass, KaCommSubsystem.class, "KaCommSubsystem", !IS_ABSTRACT, !IS_INTERFACE,
634 IS_GENERATED_INSTANCE_CLASS);
656 635
657 // Create resource 636 // Create resource
658 createResource(eNS_URI); 637 createResource(eNS_URI);
659
660 // Create annotations
661 // http://www.eclipse.org/emf/2002/Ecore
662 createEcoreAnnotations();
663 // org.eclipse.viatra.query.querybasedfeature
664 createOrgAnnotations();
665 }
666
667 /**
668 * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @generated
672 */
673 protected void createEcoreAnnotations() {
674 String source = "http://www.eclipse.org/emf/2002/Ecore";
675 addAnnotation(this, source, new String[] { "settingDelegates", "org.eclipse.viatra.query.querybasedfeature" });
676 }
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 } 638 }
689 639
690} //SatellitePackageImpl 640} //SatellitePackageImpl
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java
index 73609fbd..58f5d069 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SpacecraftImpl.java
@@ -6,7 +6,6 @@ import org.eclipse.emf.common.notify.Notification;
6import org.eclipse.emf.common.notify.NotificationChain; 6import org.eclipse.emf.common.notify.NotificationChain;
7 7
8import org.eclipse.emf.ecore.EClass; 8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EStructuralFeature;
10import org.eclipse.emf.ecore.InternalEObject; 9import org.eclipse.emf.ecore.InternalEObject;
11 10
12import org.eclipse.emf.ecore.impl.ENotificationImpl; 11import org.eclipse.emf.ecore.impl.ENotificationImpl;
@@ -14,7 +13,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
14import satellite.Payload; 13import satellite.Payload;
15import satellite.SatellitePackage; 14import satellite.SatellitePackage;
16import satellite.Spacecraft; 15import satellite.Spacecraft;
17import satellite.SpacecraftKind;
18 16
19/** 17/**
20 * <!-- begin-user-doc --> 18 * <!-- begin-user-doc -->
@@ -25,7 +23,6 @@ import satellite.SpacecraftKind;
25 * </p> 23 * </p>
26 * <ul> 24 * <ul>
27 * <li>{@link satellite.impl.SpacecraftImpl#getPayload <em>Payload</em>}</li> 25 * <li>{@link satellite.impl.SpacecraftImpl#getPayload <em>Payload</em>}</li>
28 * <li>{@link satellite.impl.SpacecraftImpl#getKind <em>Kind</em>}</li>
29 * </ul> 26 * </ul>
30 * 27 *
31 * @generated 28 * @generated
@@ -42,17 +39,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements
42 protected Payload payload; 39 protected Payload payload;
43 40
44 /** 41 /**
45 * The cached setting delegate for the '{@link #getKind() <em>Kind</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getKind()
49 * @generated
50 * @ordered
51 */
52 protected EStructuralFeature.Internal.SettingDelegate KIND__ESETTING_DELEGATE = ((EStructuralFeature.Internal) SatellitePackage.Literals.SPACECRAFT__KIND)
53 .getSettingDelegate();
54
55 /**
56 * <!-- begin-user-doc --> 42 * <!-- begin-user-doc -->
57 * <!-- end-user-doc --> 43 * <!-- end-user-doc -->
58 * @generated 44 * @generated
@@ -129,16 +115,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements
129 * @generated 115 * @generated
130 */ 116 */
131 @Override 117 @Override
132 public SpacecraftKind getKind() {
133 return (SpacecraftKind) KIND__ESETTING_DELEGATE.dynamicGet(this, null, 0, true, false);
134 }
135
136 /**
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @generated
140 */
141 @Override
142 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { 118 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
143 switch (featureID) { 119 switch (featureID) {
144 case SatellitePackage.SPACECRAFT__PAYLOAD: 120 case SatellitePackage.SPACECRAFT__PAYLOAD:
@@ -157,8 +133,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements
157 switch (featureID) { 133 switch (featureID) {
158 case SatellitePackage.SPACECRAFT__PAYLOAD: 134 case SatellitePackage.SPACECRAFT__PAYLOAD:
159 return getPayload(); 135 return getPayload();
160 case SatellitePackage.SPACECRAFT__KIND:
161 return getKind();
162 } 136 }
163 return super.eGet(featureID, resolve, coreType); 137 return super.eGet(featureID, resolve, coreType);
164 } 138 }
@@ -203,8 +177,6 @@ public abstract class SpacecraftImpl extends CommunicatingElementImpl implements
203 switch (featureID) { 177 switch (featureID) {
204 case SatellitePackage.SPACECRAFT__PAYLOAD: 178 case SatellitePackage.SPACECRAFT__PAYLOAD:
205 return payload != null; 179 return payload != null;
206 case SatellitePackage.SPACECRAFT__KIND:
207 return KIND__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);
208 } 180 }
209 return super.eIsSet(featureID); 181 return super.eIsSet(featureID);
210 } 182 }
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/UHFCommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/UHFCommSubsystemImpl.java
new file mode 100644
index 00000000..df21b9e1
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/UHFCommSubsystemImpl.java
@@ -0,0 +1,37 @@
1/**
2 */
3package satellite.impl;
4
5import org.eclipse.emf.ecore.EClass;
6
7import satellite.SatellitePackage;
8import satellite.UHFCommSubsystem;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>UHF Comm Subsystem</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class UHFCommSubsystemImpl extends CommSubsystemImpl implements UHFCommSubsystem {
18 /**
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 protected UHFCommSubsystemImpl() {
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.UHF_COMM_SUBSYSTEM;
35 }
36
37} //UHFCommSubsystemImpl
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/XCommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/XCommSubsystemImpl.java
new file mode 100644
index 00000000..c686a50e
--- /dev/null
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/XCommSubsystemImpl.java
@@ -0,0 +1,37 @@
1/**
2 */
3package satellite.impl;
4
5import org.eclipse.emf.ecore.EClass;
6
7import satellite.SatellitePackage;
8import satellite.XCommSubsystem;
9
10/**
11 * <!-- begin-user-doc -->
12 * An implementation of the model object '<em><b>XComm Subsystem</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * @generated
16 */
17public class XCommSubsystemImpl extends CommSubsystemImpl implements XCommSubsystem {
18 /**
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 protected XCommSubsystemImpl() {
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.XCOMM_SUBSYSTEM;
35 }
36
37} //XCommSubsystemImpl
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 1ecf7b19..84ddf263 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
@@ -127,6 +127,26 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl {
127 } 127 }
128 128
129 @Override 129 @Override
130 public Adapter caseCubeSat(CubeSat object) {
131 return createCubeSatAdapter();
132 }
133
134 @Override
135 public Adapter caseUHFCommSubsystem(UHFCommSubsystem object) {
136 return createUHFCommSubsystemAdapter();
137 }
138
139 @Override
140 public Adapter caseXCommSubsystem(XCommSubsystem object) {
141 return createXCommSubsystemAdapter();
142 }
143
144 @Override
145 public Adapter caseKaCommSubsystem(KaCommSubsystem object) {
146 return createKaCommSubsystemAdapter();
147 }
148
149 @Override
130 public Adapter defaultCase(EObject object) { 150 public Adapter defaultCase(EObject object) {
131 return createEObjectAdapter(); 151 return createEObjectAdapter();
132 } 152 }
@@ -314,6 +334,62 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl {
314 } 334 }
315 335
316 /** 336 /**
337 * Creates a new adapter for an object of class '{@link satellite.CubeSat <em>Cube Sat</em>}'.
338 * <!-- begin-user-doc -->
339 * This default implementation returns null so that we can easily ignore cases;
340 * it's useful to ignore a case when inheritance will catch all the cases anyway.
341 * <!-- end-user-doc -->
342 * @return the new adapter.
343 * @see satellite.CubeSat
344 * @generated
345 */
346 public Adapter createCubeSatAdapter() {
347 return null;
348 }
349
350 /**
351 * Creates a new adapter for an object of class '{@link satellite.UHFCommSubsystem <em>UHF Comm Subsystem</em>}'.
352 * <!-- begin-user-doc -->
353 * This default implementation returns null so that we can easily ignore cases;
354 * it's useful to ignore a case when inheritance will catch all the cases anyway.
355 * <!-- end-user-doc -->
356 * @return the new adapter.
357 * @see satellite.UHFCommSubsystem
358 * @generated
359 */
360 public Adapter createUHFCommSubsystemAdapter() {
361 return null;
362 }
363
364 /**
365 * Creates a new adapter for an object of class '{@link satellite.XCommSubsystem <em>XComm Subsystem</em>}'.
366 * <!-- begin-user-doc -->
367 * This default implementation returns null so that we can easily ignore cases;
368 * it's useful to ignore a case when inheritance will catch all the cases anyway.
369 * <!-- end-user-doc -->
370 * @return the new adapter.
371 * @see satellite.XCommSubsystem
372 * @generated
373 */
374 public Adapter createXCommSubsystemAdapter() {
375 return null;
376 }
377
378 /**
379 * Creates a new adapter for an object of class '{@link satellite.KaCommSubsystem <em>Ka Comm Subsystem</em>}'.
380 * <!-- begin-user-doc -->
381 * This default implementation returns null so that we can easily ignore cases;
382 * it's useful to ignore a case when inheritance will catch all the cases anyway.
383 * <!-- end-user-doc -->
384 * @return the new adapter.
385 * @see satellite.KaCommSubsystem
386 * @generated
387 */
388 public Adapter createKaCommSubsystemAdapter() {
389 return null;
390 }
391
392 /**
317 * Creates a new adapter for the default case. 393 * Creates a new adapter for the default case.
318 * <!-- begin-user-doc --> 394 * <!-- begin-user-doc -->
319 * This default implementation returns null. 395 * This default implementation returns null.
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 3eb78d75..6975d851 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
@@ -141,6 +141,8 @@ public class SatelliteSwitch<T> extends Switch<T> {
141 CubeSat3U cubeSat3U = (CubeSat3U) theEObject; 141 CubeSat3U cubeSat3U = (CubeSat3U) theEObject;
142 T result = caseCubeSat3U(cubeSat3U); 142 T result = caseCubeSat3U(cubeSat3U);
143 if (result == null) 143 if (result == null)
144 result = caseCubeSat(cubeSat3U);
145 if (result == null)
144 result = caseSpacecraft(cubeSat3U); 146 result = caseSpacecraft(cubeSat3U);
145 if (result == null) 147 if (result == null)
146 result = caseCommunicatingElement(cubeSat3U); 148 result = caseCommunicatingElement(cubeSat3U);
@@ -152,6 +154,8 @@ public class SatelliteSwitch<T> extends Switch<T> {
152 CubeSat6U cubeSat6U = (CubeSat6U) theEObject; 154 CubeSat6U cubeSat6U = (CubeSat6U) theEObject;
153 T result = caseCubeSat6U(cubeSat6U); 155 T result = caseCubeSat6U(cubeSat6U);
154 if (result == null) 156 if (result == null)
157 result = caseCubeSat(cubeSat6U);
158 if (result == null)
155 result = caseSpacecraft(cubeSat6U); 159 result = caseSpacecraft(cubeSat6U);
156 if (result == null) 160 if (result == null)
157 result = caseCommunicatingElement(cubeSat6U); 161 result = caseCommunicatingElement(cubeSat6U);
@@ -170,6 +174,44 @@ public class SatelliteSwitch<T> extends Switch<T> {
170 result = defaultCase(theEObject); 174 result = defaultCase(theEObject);
171 return result; 175 return result;
172 } 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 }
188 case SatellitePackage.UHF_COMM_SUBSYSTEM: {
189 UHFCommSubsystem uhfCommSubsystem = (UHFCommSubsystem) theEObject;
190 T result = caseUHFCommSubsystem(uhfCommSubsystem);
191 if (result == null)
192 result = caseCommSubsystem(uhfCommSubsystem);
193 if (result == null)
194 result = defaultCase(theEObject);
195 return result;
196 }
197 case SatellitePackage.XCOMM_SUBSYSTEM: {
198 XCommSubsystem xCommSubsystem = (XCommSubsystem) theEObject;
199 T result = caseXCommSubsystem(xCommSubsystem);
200 if (result == null)
201 result = caseCommSubsystem(xCommSubsystem);
202 if (result == null)
203 result = defaultCase(theEObject);
204 return result;
205 }
206 case SatellitePackage.KA_COMM_SUBSYSTEM: {
207 KaCommSubsystem kaCommSubsystem = (KaCommSubsystem) theEObject;
208 T result = caseKaCommSubsystem(kaCommSubsystem);
209 if (result == null)
210 result = caseCommSubsystem(kaCommSubsystem);
211 if (result == null)
212 result = defaultCase(theEObject);
213 return result;
214 }
173 default: 215 default:
174 return defaultCase(theEObject); 216 return defaultCase(theEObject);
175 } 217 }
@@ -356,6 +398,66 @@ public class SatelliteSwitch<T> extends Switch<T> {
356 } 398 }
357 399
358 /** 400 /**
401 * Returns the result of interpreting the object as an instance of '<em>Cube Sat</em>'.
402 * <!-- begin-user-doc -->
403 * This implementation returns null;
404 * returning a non-null result will terminate the switch.
405 * <!-- end-user-doc -->
406 * @param object the target of the switch.
407 * @return the result of interpreting the object as an instance of '<em>Cube Sat</em>'.
408 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
409 * @generated
410 */
411 public T caseCubeSat(CubeSat object) {
412 return null;
413 }
414
415 /**
416 * Returns the result of interpreting the object as an instance of '<em>UHF Comm Subsystem</em>'.
417 * <!-- begin-user-doc -->
418 * This implementation returns null;
419 * returning a non-null result will terminate the switch.
420 * <!-- end-user-doc -->
421 * @param object the target of the switch.
422 * @return the result of interpreting the object as an instance of '<em>UHF Comm Subsystem</em>'.
423 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
424 * @generated
425 */
426 public T caseUHFCommSubsystem(UHFCommSubsystem object) {
427 return null;
428 }
429
430 /**
431 * Returns the result of interpreting the object as an instance of '<em>XComm Subsystem</em>'.
432 * <!-- begin-user-doc -->
433 * This implementation returns null;
434 * returning a non-null result will terminate the switch.
435 * <!-- end-user-doc -->
436 * @param object the target of the switch.
437 * @return the result of interpreting the object as an instance of '<em>XComm Subsystem</em>'.
438 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
439 * @generated
440 */
441 public T caseXCommSubsystem(XCommSubsystem object) {
442 return null;
443 }
444
445 /**
446 * Returns the result of interpreting the object as an instance of '<em>Ka Comm Subsystem</em>'.
447 * <!-- begin-user-doc -->
448 * This implementation returns null;
449 * returning a non-null result will terminate the switch.
450 * <!-- end-user-doc -->
451 * @param object the target of the switch.
452 * @return the result of interpreting the object as an instance of '<em>Ka Comm Subsystem</em>'.
453 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
454 * @generated
455 */
456 public T caseKaCommSubsystem(KaCommSubsystem object) {
457 return null;
458 }
459
460 /**
359 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. 461 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
360 * <!-- begin-user-doc --> 462 * <!-- begin-user-doc -->
361 * This implementation returns null; 463 * This implementation returns null;