diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen')
62 files changed, 617 insertions, 6648 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java deleted file mode 100644 index 20a2c59f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/AntennaGain.java +++ /dev/null | |||
@@ -1,242 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Antenna Gain</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getAntennaGain() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum AntennaGain implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>LOW</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #LOW_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | LOW(0, "LOW", "LOW"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>MEDIUM</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #MEDIUM_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | MEDIUM(1, "MEDIUM", "MEDIUM"), | ||
40 | |||
41 | /** | ||
42 | * The '<em><b>HIGH</b></em>' literal object. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #HIGH_VALUE | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | HIGH(2, "HIGH", "HIGH"); | ||
50 | |||
51 | /** | ||
52 | * The '<em><b>LOW</b></em>' literal value. | ||
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 --> | ||
59 | * @see #LOW | ||
60 | * @model | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | public static final int LOW_VALUE = 0; | ||
65 | |||
66 | /** | ||
67 | * The '<em><b>MEDIUM</b></em>' literal value. | ||
68 | * <!-- 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 --> | ||
74 | * @see #MEDIUM | ||
75 | * @model | ||
76 | * @generated | ||
77 | * @ordered | ||
78 | */ | ||
79 | public static final int MEDIUM_VALUE = 1; | ||
80 | |||
81 | /** | ||
82 | * The '<em><b>HIGH</b></em>' literal value. | ||
83 | * <!-- 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 --> | ||
89 | * @see #HIGH | ||
90 | * @model | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | public static final int HIGH_VALUE = 2; | ||
95 | |||
96 | /** | ||
97 | * An array of all the '<em><b>Antenna Gain</b></em>' enumerators. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | private static final AntennaGain[] VALUES_ARRAY = new AntennaGain[] { LOW, MEDIUM, HIGH, }; | ||
103 | |||
104 | /** | ||
105 | * A public read-only list of all the '<em><b>Antenna Gain</b></em>' enumerators. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public static final List<AntennaGain> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
111 | |||
112 | /** | ||
113 | * Returns the '<em><b>Antenna Gain</b></em>' literal with the specified literal value. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @param literal the literal. | ||
117 | * @return the matching enumerator or <code>null</code>. | ||
118 | * @generated | ||
119 | */ | ||
120 | public static AntennaGain get(String literal) { | ||
121 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
122 | AntennaGain result = VALUES_ARRAY[i]; | ||
123 | if (result.toString().equals(literal)) { | ||
124 | return result; | ||
125 | } | ||
126 | } | ||
127 | return null; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * Returns the '<em><b>Antenna Gain</b></em>' literal with the specified name. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @param name the name. | ||
135 | * @return the matching enumerator or <code>null</code>. | ||
136 | * @generated | ||
137 | */ | ||
138 | public static AntennaGain getByName(String name) { | ||
139 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
140 | AntennaGain result = VALUES_ARRAY[i]; | ||
141 | if (result.getName().equals(name)) { | ||
142 | return result; | ||
143 | } | ||
144 | } | ||
145 | return null; | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * Returns the '<em><b>Antenna Gain</b></em>' literal with the specified integer value. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @param value the integer value. | ||
153 | * @return the matching enumerator or <code>null</code>. | ||
154 | * @generated | ||
155 | */ | ||
156 | public static AntennaGain get(int value) { | ||
157 | switch (value) { | ||
158 | case LOW_VALUE: | ||
159 | return LOW; | ||
160 | case MEDIUM_VALUE: | ||
161 | return MEDIUM; | ||
162 | case HIGH_VALUE: | ||
163 | return HIGH; | ||
164 | } | ||
165 | return null; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | private final int value; | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | private final String name; | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | private final String literal; | ||
188 | |||
189 | /** | ||
190 | * Only this class can construct instances. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | private AntennaGain(int value, String name, String literal) { | ||
196 | this.value = value; | ||
197 | this.name = name; | ||
198 | this.literal = literal; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public int getValue() { | ||
208 | return value; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public String getName() { | ||
218 | return name; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public String getLiteral() { | ||
228 | return literal; | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * Returns the literal value of the enumerator, which is its string representation. | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public String toString() { | ||
239 | return literal; | ||
240 | } | ||
241 | |||
242 | } //AntennaGain | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java deleted file mode 100644 index 255bfc4e..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommSubsystem.java +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Comm Subsystem</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand <em>Band</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain <em>Gain</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public 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 hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand | ||
36 | * @see #setBand(TransceiverBand) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem_Band() | ||
38 | * @model required="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | TransceiverBand getBand(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain | ||
65 | * @see #setGain(AntennaGain) | ||
66 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommSubsystem_Gain() | ||
67 | * @model required="true" | ||
68 | * @generated | ||
69 | */ | ||
70 | AntennaGain getGain(); | ||
71 | |||
72 | /** | ||
73 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain | ||
78 | * @see #getGain() | ||
79 | * @generated | ||
80 | */ | ||
81 | void setGain(AntennaGain value); | ||
82 | |||
83 | } // CommSubsystem | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java deleted file mode 100644 index 3a4224cd..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CommunicatingElement.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Communicating Element</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface CommunicatingElement extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
29 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem}. | ||
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 --> | ||
36 | * @return the value of the '<em>Comm Subsystem</em>' containment reference list. | ||
37 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement_CommSubsystem() | ||
38 | * @model containment="true" required="true" upper="2" | ||
39 | * @generated | ||
40 | */ | ||
41 | EList<CommSubsystem> getCommSubsystem(); | ||
42 | |||
43 | /** | ||
44 | * Returns the value of the '<em><b>Communication Link</b></em>' containment reference. | ||
45 | * <!-- 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 --> | ||
51 | * @return the value of the '<em>Communication Link</em>' containment reference. | ||
52 | * @see #setCommunicationLink(DirectedCommunicationLink) | ||
53 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCommunicatingElement_CommunicationLink() | ||
54 | * @model containment="true" | ||
55 | * @generated | ||
56 | */ | ||
57 | DirectedCommunicationLink getCommunicationLink(); | ||
58 | |||
59 | /** | ||
60 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}' containment reference. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @param value the new value of the '<em>Communication Link</em>' containment reference. | ||
64 | * @see #getCommunicationLink() | ||
65 | * @generated | ||
66 | */ | ||
67 | void setCommunicationLink(DirectedCommunicationLink value); | ||
68 | |||
69 | } // CommunicatingElement | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java deleted file mode 100644 index 82fb5971..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/ConstellationMission.java +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Constellation Mission</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}</li> | ||
19 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft <em>Spacecraft</em>}</li> | ||
20 | * </ul> | ||
21 | * | ||
22 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission() | ||
23 | * @model abstract="true" | ||
24 | * @generated | ||
25 | */ | ||
26 | public interface ConstellationMission extends EObject { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Ground Station Network</b></em>' containment reference. | ||
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 --> | ||
35 | * @return the value of the '<em>Ground Station Network</em>' containment reference. | ||
36 | * @see #setGroundStationNetwork(GroundStationNetwork) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission_GroundStationNetwork() | ||
38 | * @model containment="true" required="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | GroundStationNetwork getGroundStationNetwork(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Ground Station Network</em>' containment reference. | ||
48 | * @see #getGroundStationNetwork() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setGroundStationNetwork(GroundStationNetwork value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Spacecraft</b></em>' containment reference list. | ||
55 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft}. | ||
56 | * <!-- 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 --> | ||
62 | * @return the value of the '<em>Spacecraft</em>' containment reference list. | ||
63 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getConstellationMission_Spacecraft() | ||
64 | * @model containment="true" lower="2" upper="50" | ||
65 | * @generated | ||
66 | */ | ||
67 | EList<Spacecraft> getSpacecraft(); | ||
68 | |||
69 | } // ConstellationMission | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java deleted file mode 100644 index 98dea285..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat3U.java +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Cube Sat3 U</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat3U() | ||
12 | * @model | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface CubeSat3U extends CubeSat { | ||
16 | } // CubeSat3U | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java deleted file mode 100644 index eb64fe33..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat6U.java +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Cube Sat6 U</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat6U() | ||
12 | * @model | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface CubeSat6U extends CubeSat { | ||
16 | } // CubeSat6U | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java deleted file mode 100644 index b4eb1a82..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/DirectedCommunicationLink.java +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Directed Communication Link</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource <em>Source</em>}</li> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget <em>Target</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface DirectedCommunicationLink extends EObject { | ||
25 | /** | ||
26 | * Returns the value of the '<em><b>Source</b></em>' reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <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 --> | ||
33 | * @return the value of the '<em>Source</em>' reference. | ||
34 | * @see #setSource(CommSubsystem) | ||
35 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink_Source() | ||
36 | * @model required="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | CommSubsystem getSource(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource <em>Source</em>}' reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Source</em>' reference. | ||
46 | * @see #getSource() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setSource(CommSubsystem value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
53 | * <!-- 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 --> | ||
59 | * @return the value of the '<em>Target</em>' reference. | ||
60 | * @see #setTarget(CommSubsystem) | ||
61 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getDirectedCommunicationLink_Target() | ||
62 | * @model required="true" | ||
63 | * @generated | ||
64 | */ | ||
65 | CommSubsystem getTarget(); | ||
66 | |||
67 | /** | ||
68 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget <em>Target</em>}' reference. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @param value the new value of the '<em>Target</em>' reference. | ||
72 | * @see #getTarget() | ||
73 | * @generated | ||
74 | */ | ||
75 | void setTarget(CommSubsystem value); | ||
76 | |||
77 | } // DirectedCommunicationLink | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java deleted file mode 100644 index e256d24d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/GroundStationNetwork.java +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Ground Station Network</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getGroundStationNetwork() | ||
12 | * @model | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface GroundStationNetwork extends CommunicatingElement { | ||
16 | } // GroundStationNetwork | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java deleted file mode 100644 index 976ba160..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryMission.java +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Interferometry Mission</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * <p> | ||
11 | * The following features are supported: | ||
12 | * </p> | ||
13 | * <ul> | ||
14 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}</li> | ||
15 | * </ul> | ||
16 | * | ||
17 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryMission() | ||
18 | * @model | ||
19 | * @generated | ||
20 | */ | ||
21 | public interface InterferometryMission extends ConstellationMission { | ||
22 | /** | ||
23 | * Returns the value of the '<em><b>Observation Time</b></em>' attribute. | ||
24 | * The default value is <code>"2.0"</code>. | ||
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 --> | ||
31 | * @return the value of the '<em>Observation Time</em>' attribute. | ||
32 | * @see #setObservationTime(float) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryMission_ObservationTime() | ||
34 | * @model default="2.0" required="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | float getObservationTime(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Observation Time</em>' attribute. | ||
44 | * @see #getObservationTime() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setObservationTime(float value); | ||
48 | |||
49 | } // InterferometryMission | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java deleted file mode 100644 index 06b47f38..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/InterferometryPayload.java +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Interferometry Payload</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getInterferometryPayload() | ||
12 | * @model | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface InterferometryPayload extends Payload { | ||
16 | } // InterferometryPayload | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java deleted file mode 100644 index 6f7f1418..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Payload.java +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Payload</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * | ||
13 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getPayload() | ||
14 | * @model abstract="true" | ||
15 | * @generated | ||
16 | */ | ||
17 | public interface Payload extends EObject { | ||
18 | } // Payload | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java deleted file mode 100644 index 3b2bc48a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatelliteFactory.java +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface SatelliteFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | SatelliteFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatelliteFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Interferometry Mission</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Interferometry Mission</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | InterferometryMission createInterferometryMission(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Ground Station Network</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Ground Station Network</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | GroundStationNetwork createGroundStationNetwork(); | ||
41 | |||
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>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Directed Communication Link</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | DirectedCommunicationLink createDirectedCommunicationLink(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Interferometry Payload</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Interferometry Payload</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | InterferometryPayload createInterferometryPayload(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Cube Sat3 U</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Cube Sat3 U</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | CubeSat3U createCubeSat3U(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Cube Sat6 U</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Cube Sat6 U</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | CubeSat6U createCubeSat6U(); | ||
86 | |||
87 | /** | ||
88 | * Returns a new object of class '<em>Small Sat</em>'. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return a new object of class '<em>Small Sat</em>'. | ||
92 | * @generated | ||
93 | */ | ||
94 | SmallSat createSmallSat(); | ||
95 | |||
96 | /** | ||
97 | * Returns the package supported by this factory. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @return the package supported by this factory. | ||
101 | * @generated | ||
102 | */ | ||
103 | SatellitePackage getSatellitePackage(); | ||
104 | |||
105 | } //SatelliteFactory | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java deleted file mode 100644 index 1e129422..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SatellitePackage.java +++ /dev/null | |||
@@ -1,1306 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import org.eclipse.emf.ecore.EReference; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * The <b>Package</b> for the model. | ||
14 | * It contains accessors for the meta objects to represent | ||
15 | * <ul> | ||
16 | * <li>each class,</li> | ||
17 | * <li>each feature of each class,</li> | ||
18 | * <li>each operation of each class,</li> | ||
19 | * <li>each enum,</li> | ||
20 | * <li>and each data type</li> | ||
21 | * </ul> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory | ||
24 | * @model kind="package" | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface SatellitePackage extends EPackage { | ||
28 | /** | ||
29 | * The package name. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | String eNAME = "satellite"; | ||
35 | |||
36 | /** | ||
37 | * The package namespace URI. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | String eNS_URI = "http://www.example.org/satellite"; | ||
43 | |||
44 | /** | ||
45 | * The package namespace name. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | String eNS_PREFIX = "satellite"; | ||
51 | |||
52 | /** | ||
53 | * The singleton instance of the package. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | SatellitePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl.init(); | ||
59 | |||
60 | /** | ||
61 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl <em>Constellation Mission</em>}' class. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl | ||
65 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getConstellationMission() | ||
66 | * @generated | ||
67 | */ | ||
68 | int CONSTELLATION_MISSION = 0; | ||
69 | |||
70 | /** | ||
71 | * The feature id for the '<em><b>Ground Station Network</b></em>' containment reference. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | int CONSTELLATION_MISSION__GROUND_STATION_NETWORK = 0; | ||
78 | |||
79 | /** | ||
80 | * The feature id for the '<em><b>Spacecraft</b></em>' containment reference list. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | int CONSTELLATION_MISSION__SPACECRAFT = 1; | ||
87 | |||
88 | /** | ||
89 | * The number of structural features of the '<em>Constellation Mission</em>' class. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | int CONSTELLATION_MISSION_FEATURE_COUNT = 2; | ||
96 | |||
97 | /** | ||
98 | * The number of operations of the '<em>Constellation Mission</em>' class. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | * @ordered | ||
103 | */ | ||
104 | int CONSTELLATION_MISSION_OPERATION_COUNT = 0; | ||
105 | |||
106 | /** | ||
107 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl <em>Interferometry Mission</em>}' class. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl | ||
111 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryMission() | ||
112 | * @generated | ||
113 | */ | ||
114 | int INTERFEROMETRY_MISSION = 1; | ||
115 | |||
116 | /** | ||
117 | * The feature id for the '<em><b>Ground Station Network</b></em>' containment reference. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @generated | ||
121 | * @ordered | ||
122 | */ | ||
123 | int INTERFEROMETRY_MISSION__GROUND_STATION_NETWORK = CONSTELLATION_MISSION__GROUND_STATION_NETWORK; | ||
124 | |||
125 | /** | ||
126 | * The feature id for the '<em><b>Spacecraft</b></em>' containment reference list. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @generated | ||
130 | * @ordered | ||
131 | */ | ||
132 | int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT; | ||
133 | |||
134 | /** | ||
135 | * The feature id for the '<em><b>Observation Time</b></em>' attribute. | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | * @ordered | ||
140 | */ | ||
141 | int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0; | ||
142 | |||
143 | /** | ||
144 | * The number of structural features of the '<em>Interferometry Mission</em>' class. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | * @ordered | ||
149 | */ | ||
150 | int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1; | ||
151 | |||
152 | /** | ||
153 | * The number of operations of the '<em>Interferometry Mission</em>' class. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | * @ordered | ||
158 | */ | ||
159 | int INTERFEROMETRY_MISSION_OPERATION_COUNT = CONSTELLATION_MISSION_OPERATION_COUNT + 0; | ||
160 | |||
161 | /** | ||
162 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl | ||
166 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommunicatingElement() | ||
167 | * @generated | ||
168 | */ | ||
169 | int COMMUNICATING_ELEMENT = 2; | ||
170 | |||
171 | /** | ||
172 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | * @ordered | ||
177 | */ | ||
178 | int COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = 0; | ||
179 | |||
180 | /** | ||
181 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | * @ordered | ||
186 | */ | ||
187 | int COMMUNICATING_ELEMENT__COMMUNICATION_LINK = 1; | ||
188 | |||
189 | /** | ||
190 | * The number of structural features of the '<em>Communicating Element</em>' class. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | * @ordered | ||
195 | */ | ||
196 | int COMMUNICATING_ELEMENT_FEATURE_COUNT = 2; | ||
197 | |||
198 | /** | ||
199 | * The number of operations of the '<em>Communicating Element</em>' class. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | * @ordered | ||
204 | */ | ||
205 | int COMMUNICATING_ELEMENT_OPERATION_COUNT = 0; | ||
206 | |||
207 | /** | ||
208 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl | ||
212 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getGroundStationNetwork() | ||
213 | * @generated | ||
214 | */ | ||
215 | int GROUND_STATION_NETWORK = 3; | ||
216 | |||
217 | /** | ||
218 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | * @ordered | ||
223 | */ | ||
224 | int GROUND_STATION_NETWORK__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | ||
225 | |||
226 | /** | ||
227 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | * @ordered | ||
232 | */ | ||
233 | int GROUND_STATION_NETWORK__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; | ||
234 | |||
235 | /** | ||
236 | * The number of structural features of the '<em>Ground Station Network</em>' class. | ||
237 | * <!-- begin-user-doc --> | ||
238 | * <!-- end-user-doc --> | ||
239 | * @generated | ||
240 | * @ordered | ||
241 | */ | ||
242 | int GROUND_STATION_NETWORK_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; | ||
243 | |||
244 | /** | ||
245 | * The number of operations of the '<em>Ground Station Network</em>' class. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | * @ordered | ||
250 | */ | ||
251 | int GROUND_STATION_NETWORK_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; | ||
252 | |||
253 | /** | ||
254 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl <em>Spacecraft</em>}' class. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * <!-- end-user-doc --> | ||
257 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl | ||
258 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraft() | ||
259 | * @generated | ||
260 | */ | ||
261 | int SPACECRAFT = 4; | ||
262 | |||
263 | /** | ||
264 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @generated | ||
268 | * @ordered | ||
269 | */ | ||
270 | int SPACECRAFT__COMM_SUBSYSTEM = COMMUNICATING_ELEMENT__COMM_SUBSYSTEM; | ||
271 | |||
272 | /** | ||
273 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | * @ordered | ||
278 | */ | ||
279 | int SPACECRAFT__COMMUNICATION_LINK = COMMUNICATING_ELEMENT__COMMUNICATION_LINK; | ||
280 | |||
281 | /** | ||
282 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
283 | * <!-- begin-user-doc --> | ||
284 | * <!-- end-user-doc --> | ||
285 | * @generated | ||
286 | * @ordered | ||
287 | */ | ||
288 | int SPACECRAFT__PAYLOAD = COMMUNICATING_ELEMENT_FEATURE_COUNT + 0; | ||
289 | |||
290 | /** | ||
291 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | * @ordered | ||
296 | */ | ||
297 | int SPACECRAFT__KIND = COMMUNICATING_ELEMENT_FEATURE_COUNT + 1; | ||
298 | |||
299 | /** | ||
300 | * The number of structural features of the '<em>Spacecraft</em>' class. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | * @ordered | ||
305 | */ | ||
306 | int SPACECRAFT_FEATURE_COUNT = COMMUNICATING_ELEMENT_FEATURE_COUNT + 2; | ||
307 | |||
308 | /** | ||
309 | * The number of operations of the '<em>Spacecraft</em>' class. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | * @ordered | ||
314 | */ | ||
315 | int SPACECRAFT_OPERATION_COUNT = COMMUNICATING_ELEMENT_OPERATION_COUNT + 0; | ||
316 | |||
317 | /** | ||
318 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl | ||
322 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommSubsystem() | ||
323 | * @generated | ||
324 | */ | ||
325 | int COMM_SUBSYSTEM = 5; | ||
326 | |||
327 | /** | ||
328 | * The feature id for the '<em><b>Band</b></em>' attribute. | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | * @ordered | ||
333 | */ | ||
334 | int COMM_SUBSYSTEM__BAND = 0; | ||
335 | |||
336 | /** | ||
337 | * The feature id for the '<em><b>Gain</b></em>' attribute. | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @generated | ||
341 | * @ordered | ||
342 | */ | ||
343 | int COMM_SUBSYSTEM__GAIN = 1; | ||
344 | |||
345 | /** | ||
346 | * The number of structural features of the '<em>Comm Subsystem</em>' class. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * <!-- end-user-doc --> | ||
349 | * @generated | ||
350 | * @ordered | ||
351 | */ | ||
352 | int COMM_SUBSYSTEM_FEATURE_COUNT = 2; | ||
353 | |||
354 | /** | ||
355 | * The number of operations of the '<em>Comm Subsystem</em>' class. | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | * @ordered | ||
360 | */ | ||
361 | int COMM_SUBSYSTEM_OPERATION_COUNT = 0; | ||
362 | |||
363 | /** | ||
364 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class. | ||
365 | * <!-- begin-user-doc --> | ||
366 | * <!-- end-user-doc --> | ||
367 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl | ||
368 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() | ||
369 | * @generated | ||
370 | */ | ||
371 | int DIRECTED_COMMUNICATION_LINK = 6; | ||
372 | |||
373 | /** | ||
374 | * The feature id for the '<em><b>Source</b></em>' reference. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * <!-- end-user-doc --> | ||
377 | * @generated | ||
378 | * @ordered | ||
379 | */ | ||
380 | int DIRECTED_COMMUNICATION_LINK__SOURCE = 0; | ||
381 | |||
382 | /** | ||
383 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | * @ordered | ||
388 | */ | ||
389 | int DIRECTED_COMMUNICATION_LINK__TARGET = 1; | ||
390 | |||
391 | /** | ||
392 | * The number of structural features of the '<em>Directed Communication Link</em>' class. | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | * @ordered | ||
397 | */ | ||
398 | int DIRECTED_COMMUNICATION_LINK_FEATURE_COUNT = 2; | ||
399 | |||
400 | /** | ||
401 | * The number of operations of the '<em>Directed Communication Link</em>' class. | ||
402 | * <!-- begin-user-doc --> | ||
403 | * <!-- end-user-doc --> | ||
404 | * @generated | ||
405 | * @ordered | ||
406 | */ | ||
407 | int DIRECTED_COMMUNICATION_LINK_OPERATION_COUNT = 0; | ||
408 | |||
409 | /** | ||
410 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl <em>Payload</em>}' class. | ||
411 | * <!-- begin-user-doc --> | ||
412 | * <!-- end-user-doc --> | ||
413 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl | ||
414 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getPayload() | ||
415 | * @generated | ||
416 | */ | ||
417 | int PAYLOAD = 7; | ||
418 | |||
419 | /** | ||
420 | * The number of structural features of the '<em>Payload</em>' class. | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | * @ordered | ||
425 | */ | ||
426 | int PAYLOAD_FEATURE_COUNT = 0; | ||
427 | |||
428 | /** | ||
429 | * The number of operations of the '<em>Payload</em>' class. | ||
430 | * <!-- begin-user-doc --> | ||
431 | * <!-- end-user-doc --> | ||
432 | * @generated | ||
433 | * @ordered | ||
434 | */ | ||
435 | int PAYLOAD_OPERATION_COUNT = 0; | ||
436 | |||
437 | /** | ||
438 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl <em>Interferometry Payload</em>}' class. | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl | ||
442 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryPayload() | ||
443 | * @generated | ||
444 | */ | ||
445 | int INTERFEROMETRY_PAYLOAD = 8; | ||
446 | |||
447 | /** | ||
448 | * The number of structural features of the '<em>Interferometry Payload</em>' class. | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | * @ordered | ||
453 | */ | ||
454 | int INTERFEROMETRY_PAYLOAD_FEATURE_COUNT = PAYLOAD_FEATURE_COUNT + 0; | ||
455 | |||
456 | /** | ||
457 | * The number of operations of the '<em>Interferometry Payload</em>' class. | ||
458 | * <!-- begin-user-doc --> | ||
459 | * <!-- end-user-doc --> | ||
460 | * @generated | ||
461 | * @ordered | ||
462 | */ | ||
463 | int INTERFEROMETRY_PAYLOAD_OPERATION_COUNT = PAYLOAD_OPERATION_COUNT + 0; | ||
464 | |||
465 | /** | ||
466 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
467 | * <!-- begin-user-doc --> | ||
468 | * <!-- end-user-doc --> | ||
469 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl | ||
470 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() | ||
471 | * @generated | ||
472 | */ | ||
473 | int CUBE_SAT = 12; | ||
474 | |||
475 | /** | ||
476 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
477 | * <!-- begin-user-doc --> | ||
478 | * <!-- end-user-doc --> | ||
479 | * @generated | ||
480 | * @ordered | ||
481 | */ | ||
482 | int CUBE_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
483 | |||
484 | /** | ||
485 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | * @ordered | ||
490 | */ | ||
491 | int CUBE_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
492 | |||
493 | /** | ||
494 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
495 | * <!-- begin-user-doc --> | ||
496 | * <!-- end-user-doc --> | ||
497 | * @generated | ||
498 | * @ordered | ||
499 | */ | ||
500 | int CUBE_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
501 | |||
502 | /** | ||
503 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * <!-- end-user-doc --> | ||
506 | * @generated | ||
507 | * @ordered | ||
508 | */ | ||
509 | int CUBE_SAT__KIND = SPACECRAFT__KIND; | ||
510 | |||
511 | /** | ||
512 | * The number of structural features of the '<em>Cube Sat</em>' class. | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @generated | ||
516 | * @ordered | ||
517 | */ | ||
518 | int CUBE_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
519 | |||
520 | /** | ||
521 | * The number of operations of the '<em>Cube Sat</em>' class. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * <!-- end-user-doc --> | ||
524 | * @generated | ||
525 | * @ordered | ||
526 | */ | ||
527 | int CUBE_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
528 | |||
529 | /** | ||
530 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * <!-- end-user-doc --> | ||
533 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl | ||
534 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
535 | * @generated | ||
536 | */ | ||
537 | int CUBE_SAT3_U = 9; | ||
538 | |||
539 | /** | ||
540 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | * @ordered | ||
545 | */ | ||
546 | int CUBE_SAT3_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
547 | |||
548 | /** | ||
549 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * <!-- end-user-doc --> | ||
552 | * @generated | ||
553 | * @ordered | ||
554 | */ | ||
555 | int CUBE_SAT3_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
556 | |||
557 | /** | ||
558 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @generated | ||
562 | * @ordered | ||
563 | */ | ||
564 | int CUBE_SAT3_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
565 | |||
566 | /** | ||
567 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | * @ordered | ||
572 | */ | ||
573 | int CUBE_SAT3_U__KIND = CUBE_SAT__KIND; | ||
574 | |||
575 | /** | ||
576 | * The number of structural features of the '<em>Cube Sat3 U</em>' class. | ||
577 | * <!-- begin-user-doc --> | ||
578 | * <!-- end-user-doc --> | ||
579 | * @generated | ||
580 | * @ordered | ||
581 | */ | ||
582 | int CUBE_SAT3_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
583 | |||
584 | /** | ||
585 | * The number of operations of the '<em>Cube Sat3 U</em>' class. | ||
586 | * <!-- begin-user-doc --> | ||
587 | * <!-- end-user-doc --> | ||
588 | * @generated | ||
589 | * @ordered | ||
590 | */ | ||
591 | int CUBE_SAT3_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
592 | |||
593 | /** | ||
594 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
595 | * <!-- begin-user-doc --> | ||
596 | * <!-- end-user-doc --> | ||
597 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl | ||
598 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
599 | * @generated | ||
600 | */ | ||
601 | int CUBE_SAT6_U = 10; | ||
602 | |||
603 | /** | ||
604 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
605 | * <!-- begin-user-doc --> | ||
606 | * <!-- end-user-doc --> | ||
607 | * @generated | ||
608 | * @ordered | ||
609 | */ | ||
610 | int CUBE_SAT6_U__COMM_SUBSYSTEM = CUBE_SAT__COMM_SUBSYSTEM; | ||
611 | |||
612 | /** | ||
613 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @generated | ||
617 | * @ordered | ||
618 | */ | ||
619 | int CUBE_SAT6_U__COMMUNICATION_LINK = CUBE_SAT__COMMUNICATION_LINK; | ||
620 | |||
621 | /** | ||
622 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | * @ordered | ||
627 | */ | ||
628 | int CUBE_SAT6_U__PAYLOAD = CUBE_SAT__PAYLOAD; | ||
629 | |||
630 | /** | ||
631 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
632 | * <!-- begin-user-doc --> | ||
633 | * <!-- end-user-doc --> | ||
634 | * @generated | ||
635 | * @ordered | ||
636 | */ | ||
637 | int CUBE_SAT6_U__KIND = CUBE_SAT__KIND; | ||
638 | |||
639 | /** | ||
640 | * The number of structural features of the '<em>Cube Sat6 U</em>' class. | ||
641 | * <!-- begin-user-doc --> | ||
642 | * <!-- end-user-doc --> | ||
643 | * @generated | ||
644 | * @ordered | ||
645 | */ | ||
646 | int CUBE_SAT6_U_FEATURE_COUNT = CUBE_SAT_FEATURE_COUNT + 0; | ||
647 | |||
648 | /** | ||
649 | * The number of operations of the '<em>Cube Sat6 U</em>' class. | ||
650 | * <!-- begin-user-doc --> | ||
651 | * <!-- end-user-doc --> | ||
652 | * @generated | ||
653 | * @ordered | ||
654 | */ | ||
655 | int CUBE_SAT6_U_OPERATION_COUNT = CUBE_SAT_OPERATION_COUNT + 0; | ||
656 | |||
657 | /** | ||
658 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * <!-- end-user-doc --> | ||
661 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl | ||
662 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() | ||
663 | * @generated | ||
664 | */ | ||
665 | int SMALL_SAT = 11; | ||
666 | |||
667 | /** | ||
668 | * The feature id for the '<em><b>Comm Subsystem</b></em>' containment reference list. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * <!-- end-user-doc --> | ||
671 | * @generated | ||
672 | * @ordered | ||
673 | */ | ||
674 | int SMALL_SAT__COMM_SUBSYSTEM = SPACECRAFT__COMM_SUBSYSTEM; | ||
675 | |||
676 | /** | ||
677 | * The feature id for the '<em><b>Communication Link</b></em>' containment reference. | ||
678 | * <!-- begin-user-doc --> | ||
679 | * <!-- end-user-doc --> | ||
680 | * @generated | ||
681 | * @ordered | ||
682 | */ | ||
683 | int SMALL_SAT__COMMUNICATION_LINK = SPACECRAFT__COMMUNICATION_LINK; | ||
684 | |||
685 | /** | ||
686 | * The feature id for the '<em><b>Payload</b></em>' containment reference. | ||
687 | * <!-- begin-user-doc --> | ||
688 | * <!-- end-user-doc --> | ||
689 | * @generated | ||
690 | * @ordered | ||
691 | */ | ||
692 | int SMALL_SAT__PAYLOAD = SPACECRAFT__PAYLOAD; | ||
693 | |||
694 | /** | ||
695 | * The feature id for the '<em><b>Kind</b></em>' attribute. | ||
696 | * <!-- begin-user-doc --> | ||
697 | * <!-- end-user-doc --> | ||
698 | * @generated | ||
699 | * @ordered | ||
700 | */ | ||
701 | int SMALL_SAT__KIND = SPACECRAFT__KIND; | ||
702 | |||
703 | /** | ||
704 | * The number of structural features of the '<em>Small Sat</em>' class. | ||
705 | * <!-- begin-user-doc --> | ||
706 | * <!-- end-user-doc --> | ||
707 | * @generated | ||
708 | * @ordered | ||
709 | */ | ||
710 | int SMALL_SAT_FEATURE_COUNT = SPACECRAFT_FEATURE_COUNT + 0; | ||
711 | |||
712 | /** | ||
713 | * The number of operations of the '<em>Small Sat</em>' class. | ||
714 | * <!-- begin-user-doc --> | ||
715 | * <!-- end-user-doc --> | ||
716 | * @generated | ||
717 | * @ordered | ||
718 | */ | ||
719 | int SMALL_SAT_OPERATION_COUNT = SPACECRAFT_OPERATION_COUNT + 0; | ||
720 | |||
721 | /** | ||
722 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. | ||
723 | * <!-- begin-user-doc --> | ||
724 | * <!-- end-user-doc --> | ||
725 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand | ||
726 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() | ||
727 | * @generated | ||
728 | */ | ||
729 | int TRANSCEIVER_BAND = 13; | ||
730 | |||
731 | /** | ||
732 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain <em>Antenna Gain</em>}' enum. | ||
733 | * <!-- begin-user-doc --> | ||
734 | * <!-- end-user-doc --> | ||
735 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain | ||
736 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() | ||
737 | * @generated | ||
738 | */ | ||
739 | int ANTENNA_GAIN = 14; | ||
740 | |||
741 | /** | ||
742 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. | ||
743 | * <!-- begin-user-doc --> | ||
744 | * <!-- end-user-doc --> | ||
745 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | ||
746 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() | ||
747 | * @generated | ||
748 | */ | ||
749 | int SPACECRAFT_KIND = 15; | ||
750 | |||
751 | /** | ||
752 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
753 | * <!-- begin-user-doc --> | ||
754 | * <!-- end-user-doc --> | ||
755 | * @return the meta object for class '<em>Constellation Mission</em>'. | ||
756 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission | ||
757 | * @generated | ||
758 | */ | ||
759 | EClass getConstellationMission(); | ||
760 | |||
761 | /** | ||
762 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork <em>Ground Station Network</em>}'. | ||
763 | * <!-- begin-user-doc --> | ||
764 | * <!-- end-user-doc --> | ||
765 | * @return the meta object for the containment reference '<em>Ground Station Network</em>'. | ||
766 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getGroundStationNetwork() | ||
767 | * @see #getConstellationMission() | ||
768 | * @generated | ||
769 | */ | ||
770 | EReference getConstellationMission_GroundStationNetwork(); | ||
771 | |||
772 | /** | ||
773 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft <em>Spacecraft</em>}'. | ||
774 | * <!-- begin-user-doc --> | ||
775 | * <!-- end-user-doc --> | ||
776 | * @return the meta object for the containment reference list '<em>Spacecraft</em>'. | ||
777 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission#getSpacecraft() | ||
778 | * @see #getConstellationMission() | ||
779 | * @generated | ||
780 | */ | ||
781 | EReference getConstellationMission_Spacecraft(); | ||
782 | |||
783 | /** | ||
784 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
785 | * <!-- begin-user-doc --> | ||
786 | * <!-- end-user-doc --> | ||
787 | * @return the meta object for class '<em>Interferometry Mission</em>'. | ||
788 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission | ||
789 | * @generated | ||
790 | */ | ||
791 | EClass getInterferometryMission(); | ||
792 | |||
793 | /** | ||
794 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}'. | ||
795 | * <!-- begin-user-doc --> | ||
796 | * <!-- end-user-doc --> | ||
797 | * @return the meta object for the attribute '<em>Observation Time</em>'. | ||
798 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission#getObservationTime() | ||
799 | * @see #getInterferometryMission() | ||
800 | * @generated | ||
801 | */ | ||
802 | EAttribute getInterferometryMission_ObservationTime(); | ||
803 | |||
804 | /** | ||
805 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
806 | * <!-- begin-user-doc --> | ||
807 | * <!-- end-user-doc --> | ||
808 | * @return the meta object for class '<em>Communicating Element</em>'. | ||
809 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement | ||
810 | * @generated | ||
811 | */ | ||
812 | EClass getCommunicatingElement(); | ||
813 | |||
814 | /** | ||
815 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommSubsystem <em>Comm Subsystem</em>}'. | ||
816 | * <!-- begin-user-doc --> | ||
817 | * <!-- end-user-doc --> | ||
818 | * @return the meta object for the containment reference list '<em>Comm Subsystem</em>'. | ||
819 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommSubsystem() | ||
820 | * @see #getCommunicatingElement() | ||
821 | * @generated | ||
822 | */ | ||
823 | EReference getCommunicatingElement_CommSubsystem(); | ||
824 | |||
825 | /** | ||
826 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink <em>Communication Link</em>}'. | ||
827 | * <!-- begin-user-doc --> | ||
828 | * <!-- end-user-doc --> | ||
829 | * @return the meta object for the containment reference '<em>Communication Link</em>'. | ||
830 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement#getCommunicationLink() | ||
831 | * @see #getCommunicatingElement() | ||
832 | * @generated | ||
833 | */ | ||
834 | EReference getCommunicatingElement_CommunicationLink(); | ||
835 | |||
836 | /** | ||
837 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
838 | * <!-- begin-user-doc --> | ||
839 | * <!-- end-user-doc --> | ||
840 | * @return the meta object for class '<em>Ground Station Network</em>'. | ||
841 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork | ||
842 | * @generated | ||
843 | */ | ||
844 | EClass getGroundStationNetwork(); | ||
845 | |||
846 | /** | ||
847 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft <em>Spacecraft</em>}'. | ||
848 | * <!-- begin-user-doc --> | ||
849 | * <!-- end-user-doc --> | ||
850 | * @return the meta object for class '<em>Spacecraft</em>'. | ||
851 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft | ||
852 | * @generated | ||
853 | */ | ||
854 | EClass getSpacecraft(); | ||
855 | |||
856 | /** | ||
857 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload <em>Payload</em>}'. | ||
858 | * <!-- begin-user-doc --> | ||
859 | * <!-- end-user-doc --> | ||
860 | * @return the meta object for the containment reference '<em>Payload</em>'. | ||
861 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload() | ||
862 | * @see #getSpacecraft() | ||
863 | * @generated | ||
864 | */ | ||
865 | EReference getSpacecraft_Payload(); | ||
866 | |||
867 | /** | ||
868 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind <em>Kind</em>}'. | ||
869 | * <!-- begin-user-doc --> | ||
870 | * <!-- end-user-doc --> | ||
871 | * @return the meta object for the attribute '<em>Kind</em>'. | ||
872 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind() | ||
873 | * @see #getSpacecraft() | ||
874 | * @generated | ||
875 | */ | ||
876 | EAttribute getSpacecraft_Kind(); | ||
877 | |||
878 | /** | ||
879 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
880 | * <!-- begin-user-doc --> | ||
881 | * <!-- end-user-doc --> | ||
882 | * @return the meta object for class '<em>Comm Subsystem</em>'. | ||
883 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem | ||
884 | * @generated | ||
885 | */ | ||
886 | EClass getCommSubsystem(); | ||
887 | |||
888 | /** | ||
889 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand <em>Band</em>}'. | ||
890 | * <!-- begin-user-doc --> | ||
891 | * <!-- end-user-doc --> | ||
892 | * @return the meta object for the attribute '<em>Band</em>'. | ||
893 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getBand() | ||
894 | * @see #getCommSubsystem() | ||
895 | * @generated | ||
896 | */ | ||
897 | EAttribute getCommSubsystem_Band(); | ||
898 | |||
899 | /** | ||
900 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain <em>Gain</em>}'. | ||
901 | * <!-- begin-user-doc --> | ||
902 | * <!-- end-user-doc --> | ||
903 | * @return the meta object for the attribute '<em>Gain</em>'. | ||
904 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem#getGain() | ||
905 | * @see #getCommSubsystem() | ||
906 | * @generated | ||
907 | */ | ||
908 | EAttribute getCommSubsystem_Gain(); | ||
909 | |||
910 | /** | ||
911 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | ||
912 | * <!-- begin-user-doc --> | ||
913 | * <!-- end-user-doc --> | ||
914 | * @return the meta object for class '<em>Directed Communication Link</em>'. | ||
915 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink | ||
916 | * @generated | ||
917 | */ | ||
918 | EClass getDirectedCommunicationLink(); | ||
919 | |||
920 | /** | ||
921 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource <em>Source</em>}'. | ||
922 | * <!-- begin-user-doc --> | ||
923 | * <!-- end-user-doc --> | ||
924 | * @return the meta object for the reference '<em>Source</em>'. | ||
925 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getSource() | ||
926 | * @see #getDirectedCommunicationLink() | ||
927 | * @generated | ||
928 | */ | ||
929 | EReference getDirectedCommunicationLink_Source(); | ||
930 | |||
931 | /** | ||
932 | * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget <em>Target</em>}'. | ||
933 | * <!-- begin-user-doc --> | ||
934 | * <!-- end-user-doc --> | ||
935 | * @return the meta object for the reference '<em>Target</em>'. | ||
936 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink#getTarget() | ||
937 | * @see #getDirectedCommunicationLink() | ||
938 | * @generated | ||
939 | */ | ||
940 | EReference getDirectedCommunicationLink_Target(); | ||
941 | |||
942 | /** | ||
943 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload <em>Payload</em>}'. | ||
944 | * <!-- begin-user-doc --> | ||
945 | * <!-- end-user-doc --> | ||
946 | * @return the meta object for class '<em>Payload</em>'. | ||
947 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload | ||
948 | * @generated | ||
949 | */ | ||
950 | EClass getPayload(); | ||
951 | |||
952 | /** | ||
953 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
954 | * <!-- begin-user-doc --> | ||
955 | * <!-- end-user-doc --> | ||
956 | * @return the meta object for class '<em>Interferometry Payload</em>'. | ||
957 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload | ||
958 | * @generated | ||
959 | */ | ||
960 | EClass getInterferometryPayload(); | ||
961 | |||
962 | /** | ||
963 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
964 | * <!-- begin-user-doc --> | ||
965 | * <!-- end-user-doc --> | ||
966 | * @return the meta object for class '<em>Cube Sat3 U</em>'. | ||
967 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
968 | * @generated | ||
969 | */ | ||
970 | EClass getCubeSat3U(); | ||
971 | |||
972 | /** | ||
973 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
974 | * <!-- begin-user-doc --> | ||
975 | * <!-- end-user-doc --> | ||
976 | * @return the meta object for class '<em>Cube Sat6 U</em>'. | ||
977 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
978 | * @generated | ||
979 | */ | ||
980 | EClass getCubeSat6U(); | ||
981 | |||
982 | /** | ||
983 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
984 | * <!-- begin-user-doc --> | ||
985 | * <!-- end-user-doc --> | ||
986 | * @return the meta object for class '<em>Small Sat</em>'. | ||
987 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
988 | * @generated | ||
989 | */ | ||
990 | EClass getSmallSat(); | ||
991 | |||
992 | /** | ||
993 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat <em>Cube Sat</em>}'. | ||
994 | * <!-- begin-user-doc --> | ||
995 | * <!-- end-user-doc --> | ||
996 | * @return the meta object for class '<em>Cube Sat</em>'. | ||
997 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat | ||
998 | * @generated | ||
999 | */ | ||
1000 | EClass getCubeSat(); | ||
1001 | |||
1002 | /** | ||
1003 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}'. | ||
1004 | * <!-- begin-user-doc --> | ||
1005 | * <!-- end-user-doc --> | ||
1006 | * @return the meta object for enum '<em>Transceiver Band</em>'. | ||
1007 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand | ||
1008 | * @generated | ||
1009 | */ | ||
1010 | EEnum getTransceiverBand(); | ||
1011 | |||
1012 | /** | ||
1013 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain <em>Antenna Gain</em>}'. | ||
1014 | * <!-- begin-user-doc --> | ||
1015 | * <!-- end-user-doc --> | ||
1016 | * @return the meta object for enum '<em>Antenna Gain</em>'. | ||
1017 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain | ||
1018 | * @generated | ||
1019 | */ | ||
1020 | EEnum getAntennaGain(); | ||
1021 | |||
1022 | /** | ||
1023 | * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind <em>Spacecraft Kind</em>}'. | ||
1024 | * <!-- begin-user-doc --> | ||
1025 | * <!-- end-user-doc --> | ||
1026 | * @return the meta object for enum '<em>Spacecraft Kind</em>'. | ||
1027 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | ||
1028 | * @generated | ||
1029 | */ | ||
1030 | EEnum getSpacecraftKind(); | ||
1031 | |||
1032 | /** | ||
1033 | * Returns the factory that creates the instances of the model. | ||
1034 | * <!-- begin-user-doc --> | ||
1035 | * <!-- end-user-doc --> | ||
1036 | * @return the factory that creates the instances of the model. | ||
1037 | * @generated | ||
1038 | */ | ||
1039 | SatelliteFactory getSatelliteFactory(); | ||
1040 | |||
1041 | /** | ||
1042 | * <!-- begin-user-doc --> | ||
1043 | * Defines literals for the meta objects that represent | ||
1044 | * <ul> | ||
1045 | * <li>each class,</li> | ||
1046 | * <li>each feature of each class,</li> | ||
1047 | * <li>each operation of each class,</li> | ||
1048 | * <li>each enum,</li> | ||
1049 | * <li>and each data type</li> | ||
1050 | * </ul> | ||
1051 | * <!-- end-user-doc --> | ||
1052 | * @generated | ||
1053 | */ | ||
1054 | interface Literals { | ||
1055 | /** | ||
1056 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl <em>Constellation Mission</em>}' class. | ||
1057 | * <!-- begin-user-doc --> | ||
1058 | * <!-- end-user-doc --> | ||
1059 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl | ||
1060 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getConstellationMission() | ||
1061 | * @generated | ||
1062 | */ | ||
1063 | EClass CONSTELLATION_MISSION = eINSTANCE.getConstellationMission(); | ||
1064 | |||
1065 | /** | ||
1066 | * The meta object literal for the '<em><b>Ground Station Network</b></em>' containment reference feature. | ||
1067 | * <!-- begin-user-doc --> | ||
1068 | * <!-- end-user-doc --> | ||
1069 | * @generated | ||
1070 | */ | ||
1071 | EReference CONSTELLATION_MISSION__GROUND_STATION_NETWORK = eINSTANCE | ||
1072 | .getConstellationMission_GroundStationNetwork(); | ||
1073 | |||
1074 | /** | ||
1075 | * The meta object literal for the '<em><b>Spacecraft</b></em>' containment reference list feature. | ||
1076 | * <!-- begin-user-doc --> | ||
1077 | * <!-- end-user-doc --> | ||
1078 | * @generated | ||
1079 | */ | ||
1080 | EReference CONSTELLATION_MISSION__SPACECRAFT = eINSTANCE.getConstellationMission_Spacecraft(); | ||
1081 | |||
1082 | /** | ||
1083 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl <em>Interferometry Mission</em>}' class. | ||
1084 | * <!-- begin-user-doc --> | ||
1085 | * <!-- end-user-doc --> | ||
1086 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl | ||
1087 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryMission() | ||
1088 | * @generated | ||
1089 | */ | ||
1090 | EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission(); | ||
1091 | |||
1092 | /** | ||
1093 | * The meta object literal for the '<em><b>Observation Time</b></em>' attribute feature. | ||
1094 | * <!-- begin-user-doc --> | ||
1095 | * <!-- end-user-doc --> | ||
1096 | * @generated | ||
1097 | */ | ||
1098 | EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime(); | ||
1099 | |||
1100 | /** | ||
1101 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class. | ||
1102 | * <!-- begin-user-doc --> | ||
1103 | * <!-- end-user-doc --> | ||
1104 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl | ||
1105 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommunicatingElement() | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | EClass COMMUNICATING_ELEMENT = eINSTANCE.getCommunicatingElement(); | ||
1109 | |||
1110 | /** | ||
1111 | * The meta object literal for the '<em><b>Comm Subsystem</b></em>' containment reference list feature. | ||
1112 | * <!-- begin-user-doc --> | ||
1113 | * <!-- end-user-doc --> | ||
1114 | * @generated | ||
1115 | */ | ||
1116 | EReference COMMUNICATING_ELEMENT__COMM_SUBSYSTEM = eINSTANCE.getCommunicatingElement_CommSubsystem(); | ||
1117 | |||
1118 | /** | ||
1119 | * The meta object literal for the '<em><b>Communication Link</b></em>' containment reference feature. | ||
1120 | * <!-- begin-user-doc --> | ||
1121 | * <!-- end-user-doc --> | ||
1122 | * @generated | ||
1123 | */ | ||
1124 | EReference COMMUNICATING_ELEMENT__COMMUNICATION_LINK = eINSTANCE.getCommunicatingElement_CommunicationLink(); | ||
1125 | |||
1126 | /** | ||
1127 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl <em>Ground Station Network</em>}' class. | ||
1128 | * <!-- begin-user-doc --> | ||
1129 | * <!-- end-user-doc --> | ||
1130 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.GroundStationNetworkImpl | ||
1131 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getGroundStationNetwork() | ||
1132 | * @generated | ||
1133 | */ | ||
1134 | EClass GROUND_STATION_NETWORK = eINSTANCE.getGroundStationNetwork(); | ||
1135 | |||
1136 | /** | ||
1137 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl <em>Spacecraft</em>}' class. | ||
1138 | * <!-- begin-user-doc --> | ||
1139 | * <!-- end-user-doc --> | ||
1140 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl | ||
1141 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraft() | ||
1142 | * @generated | ||
1143 | */ | ||
1144 | EClass SPACECRAFT = eINSTANCE.getSpacecraft(); | ||
1145 | |||
1146 | /** | ||
1147 | * The meta object literal for the '<em><b>Payload</b></em>' containment reference feature. | ||
1148 | * <!-- begin-user-doc --> | ||
1149 | * <!-- end-user-doc --> | ||
1150 | * @generated | ||
1151 | */ | ||
1152 | EReference SPACECRAFT__PAYLOAD = eINSTANCE.getSpacecraft_Payload(); | ||
1153 | |||
1154 | /** | ||
1155 | * The meta object literal for the '<em><b>Kind</b></em>' attribute feature. | ||
1156 | * <!-- begin-user-doc --> | ||
1157 | * <!-- end-user-doc --> | ||
1158 | * @generated | ||
1159 | */ | ||
1160 | EAttribute SPACECRAFT__KIND = eINSTANCE.getSpacecraft_Kind(); | ||
1161 | |||
1162 | /** | ||
1163 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl <em>Comm Subsystem</em>}' class. | ||
1164 | * <!-- begin-user-doc --> | ||
1165 | * <!-- end-user-doc --> | ||
1166 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl | ||
1167 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCommSubsystem() | ||
1168 | * @generated | ||
1169 | */ | ||
1170 | EClass COMM_SUBSYSTEM = eINSTANCE.getCommSubsystem(); | ||
1171 | |||
1172 | /** | ||
1173 | * The meta object literal for the '<em><b>Band</b></em>' attribute feature. | ||
1174 | * <!-- begin-user-doc --> | ||
1175 | * <!-- end-user-doc --> | ||
1176 | * @generated | ||
1177 | */ | ||
1178 | EAttribute COMM_SUBSYSTEM__BAND = eINSTANCE.getCommSubsystem_Band(); | ||
1179 | |||
1180 | /** | ||
1181 | * The meta object literal for the '<em><b>Gain</b></em>' attribute feature. | ||
1182 | * <!-- begin-user-doc --> | ||
1183 | * <!-- end-user-doc --> | ||
1184 | * @generated | ||
1185 | */ | ||
1186 | EAttribute COMM_SUBSYSTEM__GAIN = eINSTANCE.getCommSubsystem_Gain(); | ||
1187 | |||
1188 | /** | ||
1189 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl <em>Directed Communication Link</em>}' class. | ||
1190 | * <!-- begin-user-doc --> | ||
1191 | * <!-- end-user-doc --> | ||
1192 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl | ||
1193 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getDirectedCommunicationLink() | ||
1194 | * @generated | ||
1195 | */ | ||
1196 | EClass DIRECTED_COMMUNICATION_LINK = eINSTANCE.getDirectedCommunicationLink(); | ||
1197 | |||
1198 | /** | ||
1199 | * The meta object literal for the '<em><b>Source</b></em>' reference feature. | ||
1200 | * <!-- begin-user-doc --> | ||
1201 | * <!-- end-user-doc --> | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | EReference DIRECTED_COMMUNICATION_LINK__SOURCE = eINSTANCE.getDirectedCommunicationLink_Source(); | ||
1205 | |||
1206 | /** | ||
1207 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
1208 | * <!-- begin-user-doc --> | ||
1209 | * <!-- end-user-doc --> | ||
1210 | * @generated | ||
1211 | */ | ||
1212 | EReference DIRECTED_COMMUNICATION_LINK__TARGET = eINSTANCE.getDirectedCommunicationLink_Target(); | ||
1213 | |||
1214 | /** | ||
1215 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl <em>Payload</em>}' class. | ||
1216 | * <!-- begin-user-doc --> | ||
1217 | * <!-- end-user-doc --> | ||
1218 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.PayloadImpl | ||
1219 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getPayload() | ||
1220 | * @generated | ||
1221 | */ | ||
1222 | EClass PAYLOAD = eINSTANCE.getPayload(); | ||
1223 | |||
1224 | /** | ||
1225 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl <em>Interferometry Payload</em>}' class. | ||
1226 | * <!-- begin-user-doc --> | ||
1227 | * <!-- end-user-doc --> | ||
1228 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryPayloadImpl | ||
1229 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getInterferometryPayload() | ||
1230 | * @generated | ||
1231 | */ | ||
1232 | EClass INTERFEROMETRY_PAYLOAD = eINSTANCE.getInterferometryPayload(); | ||
1233 | |||
1234 | /** | ||
1235 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl <em>Cube Sat3 U</em>}' class. | ||
1236 | * <!-- begin-user-doc --> | ||
1237 | * <!-- end-user-doc --> | ||
1238 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat3UImpl | ||
1239 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat3U() | ||
1240 | * @generated | ||
1241 | */ | ||
1242 | EClass CUBE_SAT3_U = eINSTANCE.getCubeSat3U(); | ||
1243 | |||
1244 | /** | ||
1245 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl <em>Cube Sat6 U</em>}' class. | ||
1246 | * <!-- begin-user-doc --> | ||
1247 | * <!-- end-user-doc --> | ||
1248 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSat6UImpl | ||
1249 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat6U() | ||
1250 | * @generated | ||
1251 | */ | ||
1252 | EClass CUBE_SAT6_U = eINSTANCE.getCubeSat6U(); | ||
1253 | |||
1254 | /** | ||
1255 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl <em>Small Sat</em>}' class. | ||
1256 | * <!-- begin-user-doc --> | ||
1257 | * <!-- end-user-doc --> | ||
1258 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SmallSatImpl | ||
1259 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSmallSat() | ||
1260 | * @generated | ||
1261 | */ | ||
1262 | EClass SMALL_SAT = eINSTANCE.getSmallSat(); | ||
1263 | |||
1264 | /** | ||
1265 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl <em>Cube Sat</em>}' class. | ||
1266 | * <!-- begin-user-doc --> | ||
1267 | * <!-- end-user-doc --> | ||
1268 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CubeSatImpl | ||
1269 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getCubeSat() | ||
1270 | * @generated | ||
1271 | */ | ||
1272 | EClass CUBE_SAT = eINSTANCE.getCubeSat(); | ||
1273 | |||
1274 | /** | ||
1275 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand <em>Transceiver Band</em>}' enum. | ||
1276 | * <!-- begin-user-doc --> | ||
1277 | * <!-- end-user-doc --> | ||
1278 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand | ||
1279 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getTransceiverBand() | ||
1280 | * @generated | ||
1281 | */ | ||
1282 | EEnum TRANSCEIVER_BAND = eINSTANCE.getTransceiverBand(); | ||
1283 | |||
1284 | /** | ||
1285 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain <em>Antenna Gain</em>}' enum. | ||
1286 | * <!-- begin-user-doc --> | ||
1287 | * <!-- end-user-doc --> | ||
1288 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain | ||
1289 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getAntennaGain() | ||
1290 | * @generated | ||
1291 | */ | ||
1292 | EEnum ANTENNA_GAIN = eINSTANCE.getAntennaGain(); | ||
1293 | |||
1294 | /** | ||
1295 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind <em>Spacecraft Kind</em>}' enum. | ||
1296 | * <!-- begin-user-doc --> | ||
1297 | * <!-- end-user-doc --> | ||
1298 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | ||
1299 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SatellitePackageImpl#getSpacecraftKind() | ||
1300 | * @generated | ||
1301 | */ | ||
1302 | EEnum SPACECRAFT_KIND = eINSTANCE.getSpacecraftKind(); | ||
1303 | |||
1304 | } | ||
1305 | |||
1306 | } //SatellitePackage | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java deleted file mode 100644 index b3a3d63c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SmallSat.java +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Small Sat</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * | ||
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSmallSat() | ||
12 | * @model | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface SmallSat extends Spacecraft { | ||
16 | } // SmallSat | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java deleted file mode 100644 index 34f9750a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/Spacecraft.java +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | /** | ||
6 | * <!-- begin-user-doc --> | ||
7 | * A representation of the model object '<em><b>Spacecraft</b></em>'. | ||
8 | * <!-- end-user-doc --> | ||
9 | * | ||
10 | * <p> | ||
11 | * The following features are supported: | ||
12 | * </p> | ||
13 | * <ul> | ||
14 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload <em>Payload</em>}</li> | ||
15 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getKind <em>Kind</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft() | ||
19 | * @model abstract="true" | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface Spacecraft extends CommunicatingElement { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Payload</b></em>' containment reference. | ||
25 | * <!-- 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 --> | ||
31 | * @return the value of the '<em>Payload</em>' containment reference. | ||
32 | * @see #setPayload(Payload) | ||
33 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Payload() | ||
34 | * @model containment="true" | ||
35 | * @generated | ||
36 | */ | ||
37 | Payload getPayload(); | ||
38 | |||
39 | /** | ||
40 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft#getPayload <em>Payload</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @param value the new value of the '<em>Payload</em>' containment reference. | ||
44 | * @see #getPayload() | ||
45 | * @generated | ||
46 | */ | ||
47 | void setPayload(Payload value); | ||
48 | |||
49 | /** | ||
50 | * Returns the value of the '<em><b>Kind</b></em>' attribute. | ||
51 | * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.domains.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 hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind | ||
60 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraft_Kind() | ||
61 | * @model required="true" transient="true" changeable="false" volatile="true" derived="true" | ||
62 | * @generated | ||
63 | */ | ||
64 | SpacecraftKind getKind(); | ||
65 | |||
66 | } // Spacecraft | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java deleted file mode 100644 index b0b6aede..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/SpacecraftKind.java +++ /dev/null | |||
@@ -1,241 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Spacecraft Kind</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getSpacecraftKind() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum SpacecraftKind implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>Cube Sat3 U</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #CUBE_SAT3_U_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | CUBE_SAT3_U(0, "CubeSat3U", "CubeSat3U"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>Cube Sat6 U</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #CUBE_SAT6_U_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | CUBE_SAT6_U(1, "CubeSat6U", "CubeSat6U"), | ||
40 | /** | ||
41 | * The '<em><b>Small Sat</b></em>' literal object. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #SMALL_SAT_VALUE | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | SMALL_SAT(2, "SmallSat", "SmallSat"); | ||
49 | |||
50 | /** | ||
51 | * The '<em><b>Cube Sat3 U</b></em>' literal value. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <p> | ||
54 | * If the meaning of '<em><b>Cube Sat3 U</b></em>' literal object isn't clear, | ||
55 | * there really should be more of a description here... | ||
56 | * </p> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @see #CUBE_SAT3_U | ||
59 | * @model name="CubeSat3U" | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | public static final int CUBE_SAT3_U_VALUE = 0; | ||
64 | |||
65 | /** | ||
66 | * The '<em><b>Cube Sat6 U</b></em>' literal value. | ||
67 | * <!-- begin-user-doc --> | ||
68 | * <p> | ||
69 | * If the meaning of '<em><b>Cube Sat6 U</b></em>' literal object isn't clear, | ||
70 | * there really should be more of a description here... | ||
71 | * </p> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @see #CUBE_SAT6_U | ||
74 | * @model name="CubeSat6U" | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | public static final int CUBE_SAT6_U_VALUE = 1; | ||
79 | |||
80 | /** | ||
81 | * The '<em><b>Small Sat</b></em>' literal value. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <p> | ||
84 | * If the meaning of '<em><b>Small Sat</b></em>' literal object isn't clear, | ||
85 | * there really should be more of a description here... | ||
86 | * </p> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @see #SMALL_SAT | ||
89 | * @model name="SmallSat" | ||
90 | * @generated | ||
91 | * @ordered | ||
92 | */ | ||
93 | public static final int SMALL_SAT_VALUE = 2; | ||
94 | |||
95 | /** | ||
96 | * An array of all the '<em><b>Spacecraft Kind</b></em>' enumerators. | ||
97 | * <!-- begin-user-doc --> | ||
98 | * <!-- end-user-doc --> | ||
99 | * @generated | ||
100 | */ | ||
101 | private static final SpacecraftKind[] VALUES_ARRAY = new SpacecraftKind[] { CUBE_SAT3_U, CUBE_SAT6_U, SMALL_SAT, }; | ||
102 | |||
103 | /** | ||
104 | * A public read-only list of all the '<em><b>Spacecraft Kind</b></em>' enumerators. | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public static final List<SpacecraftKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
110 | |||
111 | /** | ||
112 | * Returns the '<em><b>Spacecraft Kind</b></em>' literal with the specified literal value. | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @param literal the literal. | ||
116 | * @return the matching enumerator or <code>null</code>. | ||
117 | * @generated | ||
118 | */ | ||
119 | public static SpacecraftKind get(String literal) { | ||
120 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
121 | SpacecraftKind result = VALUES_ARRAY[i]; | ||
122 | if (result.toString().equals(literal)) { | ||
123 | return result; | ||
124 | } | ||
125 | } | ||
126 | return null; | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * Returns the '<em><b>Spacecraft Kind</b></em>' literal with the specified name. | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @param name the name. | ||
134 | * @return the matching enumerator or <code>null</code>. | ||
135 | * @generated | ||
136 | */ | ||
137 | public static SpacecraftKind getByName(String name) { | ||
138 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
139 | SpacecraftKind result = VALUES_ARRAY[i]; | ||
140 | if (result.getName().equals(name)) { | ||
141 | return result; | ||
142 | } | ||
143 | } | ||
144 | return null; | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * Returns the '<em><b>Spacecraft Kind</b></em>' literal with the specified integer value. | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @param value the integer value. | ||
152 | * @return the matching enumerator or <code>null</code>. | ||
153 | * @generated | ||
154 | */ | ||
155 | public static SpacecraftKind get(int value) { | ||
156 | switch (value) { | ||
157 | case CUBE_SAT3_U_VALUE: | ||
158 | return CUBE_SAT3_U; | ||
159 | case CUBE_SAT6_U_VALUE: | ||
160 | return CUBE_SAT6_U; | ||
161 | case SMALL_SAT_VALUE: | ||
162 | return SMALL_SAT; | ||
163 | } | ||
164 | return null; | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | private final int value; | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | private final String name; | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | private final String literal; | ||
187 | |||
188 | /** | ||
189 | * Only this class can construct instances. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | private SpacecraftKind(int value, String name, String literal) { | ||
195 | this.value = value; | ||
196 | this.name = name; | ||
197 | this.literal = literal; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * <!-- begin-user-doc --> | ||
202 | * <!-- end-user-doc --> | ||
203 | * @generated | ||
204 | */ | ||
205 | @Override | ||
206 | public int getValue() { | ||
207 | return value; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public String getName() { | ||
217 | return name; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * <!-- begin-user-doc --> | ||
222 | * <!-- end-user-doc --> | ||
223 | * @generated | ||
224 | */ | ||
225 | @Override | ||
226 | public String getLiteral() { | ||
227 | return literal; | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * Returns the literal value of the enumerator, which is its string representation. | ||
232 | * <!-- begin-user-doc --> | ||
233 | * <!-- end-user-doc --> | ||
234 | * @generated | ||
235 | */ | ||
236 | @Override | ||
237 | public String toString() { | ||
238 | return literal; | ||
239 | } | ||
240 | |||
241 | } //SpacecraftKind | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java deleted file mode 100644 index 62aae5f7..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/TransceiverBand.java +++ /dev/null | |||
@@ -1,242 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Transceiver Band</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getTransceiverBand() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum TransceiverBand implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>UHF</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #UHF_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | UHF(0, "UHF", "UHF"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>X</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #X_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | X(1, "X", "X"), | ||
40 | |||
41 | /** | ||
42 | * The '<em><b>Ka</b></em>' literal object. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #KA_VALUE | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | KA(2, "Ka", "Ka"); | ||
50 | |||
51 | /** | ||
52 | * The '<em><b>UHF</b></em>' literal value. | ||
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 --> | ||
59 | * @see #UHF | ||
60 | * @model | ||
61 | * @generated | ||
62 | * @ordered | ||
63 | */ | ||
64 | public static final int UHF_VALUE = 0; | ||
65 | |||
66 | /** | ||
67 | * The '<em><b>X</b></em>' literal value. | ||
68 | * <!-- 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 --> | ||
74 | * @see #X | ||
75 | * @model | ||
76 | * @generated | ||
77 | * @ordered | ||
78 | */ | ||
79 | public static final int X_VALUE = 1; | ||
80 | |||
81 | /** | ||
82 | * The '<em><b>Ka</b></em>' literal value. | ||
83 | * <!-- 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 --> | ||
89 | * @see #KA | ||
90 | * @model name="Ka" | ||
91 | * @generated | ||
92 | * @ordered | ||
93 | */ | ||
94 | public static final int KA_VALUE = 2; | ||
95 | |||
96 | /** | ||
97 | * An array of all the '<em><b>Transceiver Band</b></em>' enumerators. | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | private static final TransceiverBand[] VALUES_ARRAY = new TransceiverBand[] { UHF, X, KA, }; | ||
103 | |||
104 | /** | ||
105 | * A public read-only list of all the '<em><b>Transceiver Band</b></em>' enumerators. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | public static final List<TransceiverBand> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
111 | |||
112 | /** | ||
113 | * Returns the '<em><b>Transceiver Band</b></em>' literal with the specified literal value. | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @param literal the literal. | ||
117 | * @return the matching enumerator or <code>null</code>. | ||
118 | * @generated | ||
119 | */ | ||
120 | public static TransceiverBand get(String literal) { | ||
121 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
122 | TransceiverBand result = VALUES_ARRAY[i]; | ||
123 | if (result.toString().equals(literal)) { | ||
124 | return result; | ||
125 | } | ||
126 | } | ||
127 | return null; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * Returns the '<em><b>Transceiver Band</b></em>' literal with the specified name. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @param name the name. | ||
135 | * @return the matching enumerator or <code>null</code>. | ||
136 | * @generated | ||
137 | */ | ||
138 | public static TransceiverBand getByName(String name) { | ||
139 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
140 | TransceiverBand result = VALUES_ARRAY[i]; | ||
141 | if (result.getName().equals(name)) { | ||
142 | return result; | ||
143 | } | ||
144 | } | ||
145 | return null; | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * Returns the '<em><b>Transceiver Band</b></em>' literal with the specified integer value. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @param value the integer value. | ||
153 | * @return the matching enumerator or <code>null</code>. | ||
154 | * @generated | ||
155 | */ | ||
156 | public static TransceiverBand get(int value) { | ||
157 | switch (value) { | ||
158 | case UHF_VALUE: | ||
159 | return UHF; | ||
160 | case X_VALUE: | ||
161 | return X; | ||
162 | case KA_VALUE: | ||
163 | return KA; | ||
164 | } | ||
165 | return null; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | private final int value; | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | private final String name; | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | private final String literal; | ||
188 | |||
189 | /** | ||
190 | * Only this class can construct instances. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * <!-- end-user-doc --> | ||
193 | * @generated | ||
194 | */ | ||
195 | private TransceiverBand(int value, String name, String literal) { | ||
196 | this.value = value; | ||
197 | this.name = name; | ||
198 | this.literal = literal; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public int getValue() { | ||
208 | return value; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public String getName() { | ||
218 | return name; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public String getLiteral() { | ||
228 | return literal; | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * Returns the literal value of the enumerator, which is its string representation. | ||
233 | * <!-- begin-user-doc --> | ||
234 | * <!-- end-user-doc --> | ||
235 | * @generated | ||
236 | */ | ||
237 | @Override | ||
238 | public String toString() { | ||
239 | return literal; | ||
240 | } | ||
241 | |||
242 | } //TransceiverBand | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java deleted file mode 100644 index fbde1603..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommSubsystemImpl.java +++ /dev/null | |||
@@ -1,226 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Comm Subsystem</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl#getBand <em>Band</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommSubsystemImpl#getGain <em>Gain</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public 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 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | protected CommSubsystemImpl() { | ||
78 | super(); | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | protected EClass eStaticClass() { | ||
88 | return SatellitePackage.Literals.COMM_SUBSYSTEM; | ||
89 | } | ||
90 | |||
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 | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java deleted file mode 100644 index 4b51e52e..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CommunicatingElementImpl.java +++ /dev/null | |||
@@ -1,237 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; | ||
8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Communicating Element</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl#getCommSubsystem <em>Comm Subsystem</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.CommunicatingElementImpl#getCommunicationLink <em>Communication Link</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public abstract class CommunicatingElementImpl extends MinimalEObjectImpl.Container implements CommunicatingElement { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getCommSubsystem() <em>Comm Subsystem</em>}' containment reference list. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getCommSubsystem() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected EList<CommSubsystem> commSubsystem; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getCommunicationLink() <em>Communication Link</em>}' containment reference. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getCommunicationLink() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected DirectedCommunicationLink communicationLink; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected CommunicatingElementImpl() { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() { | ||
77 | return SatellitePackage.Literals.COMMUNICATING_ELEMENT; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public EList<CommSubsystem> getCommSubsystem() { | ||
87 | if (commSubsystem == null) { | ||
88 | commSubsystem = new EObjectContainmentEList<CommSubsystem>(CommSubsystem.class, this, | ||
89 | SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | ||
90 | } | ||
91 | return commSubsystem; | ||
92 | } | ||
93 | |||
94 | /** | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @generated | ||
98 | */ | ||
99 | @Override | ||
100 | public DirectedCommunicationLink getCommunicationLink() { | ||
101 | return communicationLink; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | public NotificationChain basicSetCommunicationLink(DirectedCommunicationLink newCommunicationLink, | ||
110 | NotificationChain msgs) { | ||
111 | DirectedCommunicationLink oldCommunicationLink = communicationLink; | ||
112 | communicationLink = newCommunicationLink; | ||
113 | if (eNotificationRequired()) { | ||
114 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, | ||
115 | SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, oldCommunicationLink, | ||
116 | newCommunicationLink); | ||
117 | if (msgs == null) | ||
118 | msgs = notification; | ||
119 | else | ||
120 | msgs.add(notification); | ||
121 | } | ||
122 | return msgs; | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | @Override | ||
131 | public void setCommunicationLink(DirectedCommunicationLink newCommunicationLink) { | ||
132 | if (newCommunicationLink != communicationLink) { | ||
133 | NotificationChain msgs = null; | ||
134 | if (communicationLink != null) | ||
135 | msgs = ((InternalEObject) communicationLink).eInverseRemove(this, | ||
136 | EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null, | ||
137 | msgs); | ||
138 | if (newCommunicationLink != null) | ||
139 | msgs = ((InternalEObject) newCommunicationLink).eInverseAdd(this, | ||
140 | EOPPOSITE_FEATURE_BASE - SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, null, | ||
141 | msgs); | ||
142 | msgs = basicSetCommunicationLink(newCommunicationLink, msgs); | ||
143 | if (msgs != null) | ||
144 | msgs.dispatch(); | ||
145 | } else if (eNotificationRequired()) | ||
146 | eNotify(new ENotificationImpl(this, Notification.SET, | ||
147 | SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK, newCommunicationLink, | ||
148 | newCommunicationLink)); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
158 | switch (featureID) { | ||
159 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
160 | return ((InternalEList<?>) getCommSubsystem()).basicRemove(otherEnd, msgs); | ||
161 | case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: | ||
162 | return basicSetCommunicationLink(null, msgs); | ||
163 | } | ||
164 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
174 | switch (featureID) { | ||
175 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
176 | return getCommSubsystem(); | ||
177 | case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: | ||
178 | return getCommunicationLink(); | ||
179 | } | ||
180 | return super.eGet(featureID, resolve, coreType); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @SuppressWarnings("unchecked") | ||
189 | @Override | ||
190 | public void eSet(int featureID, Object newValue) { | ||
191 | switch (featureID) { | ||
192 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
193 | getCommSubsystem().clear(); | ||
194 | getCommSubsystem().addAll((Collection<? extends CommSubsystem>) newValue); | ||
195 | return; | ||
196 | case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: | ||
197 | setCommunicationLink((DirectedCommunicationLink) newValue); | ||
198 | return; | ||
199 | } | ||
200 | super.eSet(featureID, newValue); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public void eUnset(int featureID) { | ||
210 | switch (featureID) { | ||
211 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
212 | getCommSubsystem().clear(); | ||
213 | return; | ||
214 | case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: | ||
215 | setCommunicationLink((DirectedCommunicationLink) null); | ||
216 | return; | ||
217 | } | ||
218 | super.eUnset(featureID); | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public boolean eIsSet(int featureID) { | ||
228 | switch (featureID) { | ||
229 | case SatellitePackage.COMMUNICATING_ELEMENT__COMM_SUBSYSTEM: | ||
230 | return commSubsystem != null && !commSubsystem.isEmpty(); | ||
231 | case SatellitePackage.COMMUNICATING_ELEMENT__COMMUNICATION_LINK: | ||
232 | return communicationLink != null; | ||
233 | } | ||
234 | return super.eIsSet(featureID); | ||
235 | } | ||
236 | |||
237 | } //CommunicatingElementImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java deleted file mode 100644 index 710b5982..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/ConstellationMissionImpl.java +++ /dev/null | |||
@@ -1,237 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.Notification; | ||
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | |||
15 | import org.eclipse.emf.common.util.EList; | ||
16 | |||
17 | import org.eclipse.emf.ecore.EClass; | ||
18 | import org.eclipse.emf.ecore.InternalEObject; | ||
19 | |||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
23 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
24 | import org.eclipse.emf.ecore.util.InternalEList; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Constellation Mission</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl#getGroundStationNetwork <em>Ground Station Network</em>}</li> | ||
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.ConstellationMissionImpl#getSpacecraft <em>Spacecraft</em>}</li> | ||
36 | * </ul> | ||
37 | * | ||
38 | * @generated | ||
39 | */ | ||
40 | public abstract class ConstellationMissionImpl extends MinimalEObjectImpl.Container implements ConstellationMission { | ||
41 | /** | ||
42 | * The cached value of the '{@link #getGroundStationNetwork() <em>Ground Station Network</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getGroundStationNetwork() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected GroundStationNetwork groundStationNetwork; | ||
50 | |||
51 | /** | ||
52 | * The cached value of the '{@link #getSpacecraft() <em>Spacecraft</em>}' containment reference list. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #getSpacecraft() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected EList<Spacecraft> spacecraft; | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | protected ConstellationMissionImpl() { | ||
67 | super(); | ||
68 | } | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | @Override | ||
76 | protected EClass eStaticClass() { | ||
77 | return SatellitePackage.Literals.CONSTELLATION_MISSION; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | */ | ||
85 | @Override | ||
86 | public GroundStationNetwork getGroundStationNetwork() { | ||
87 | return groundStationNetwork; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public NotificationChain basicSetGroundStationNetwork(GroundStationNetwork newGroundStationNetwork, | ||
96 | NotificationChain msgs) { | ||
97 | GroundStationNetwork oldGroundStationNetwork = groundStationNetwork; | ||
98 | groundStationNetwork = newGroundStationNetwork; | ||
99 | if (eNotificationRequired()) { | ||
100 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, | ||
101 | SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, oldGroundStationNetwork, | ||
102 | newGroundStationNetwork); | ||
103 | if (msgs == null) | ||
104 | msgs = notification; | ||
105 | else | ||
106 | msgs.add(notification); | ||
107 | } | ||
108 | return msgs; | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public void setGroundStationNetwork(GroundStationNetwork newGroundStationNetwork) { | ||
118 | if (newGroundStationNetwork != groundStationNetwork) { | ||
119 | NotificationChain msgs = null; | ||
120 | if (groundStationNetwork != null) | ||
121 | msgs = ((InternalEObject) groundStationNetwork).eInverseRemove(this, | ||
122 | EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, | ||
123 | msgs); | ||
124 | if (newGroundStationNetwork != null) | ||
125 | msgs = ((InternalEObject) newGroundStationNetwork).eInverseAdd(this, | ||
126 | EOPPOSITE_FEATURE_BASE - SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, null, | ||
127 | msgs); | ||
128 | msgs = basicSetGroundStationNetwork(newGroundStationNetwork, msgs); | ||
129 | if (msgs != null) | ||
130 | msgs.dispatch(); | ||
131 | } else if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, | ||
133 | SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK, newGroundStationNetwork, | ||
134 | newGroundStationNetwork)); | ||
135 | } | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | @Override | ||
143 | public EList<Spacecraft> getSpacecraft() { | ||
144 | if (spacecraft == null) { | ||
145 | spacecraft = new EObjectContainmentEList<Spacecraft>(Spacecraft.class, this, | ||
146 | SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT); | ||
147 | } | ||
148 | return spacecraft; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
158 | switch (featureID) { | ||
159 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
160 | return basicSetGroundStationNetwork(null, msgs); | ||
161 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
162 | return ((InternalEList<?>) getSpacecraft()).basicRemove(otherEnd, msgs); | ||
163 | } | ||
164 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * <!-- begin-user-doc --> | ||
169 | * <!-- end-user-doc --> | ||
170 | * @generated | ||
171 | */ | ||
172 | @Override | ||
173 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
174 | switch (featureID) { | ||
175 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
176 | return getGroundStationNetwork(); | ||
177 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
178 | return getSpacecraft(); | ||
179 | } | ||
180 | return super.eGet(featureID, resolve, coreType); | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @SuppressWarnings("unchecked") | ||
189 | @Override | ||
190 | public void eSet(int featureID, Object newValue) { | ||
191 | switch (featureID) { | ||
192 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
193 | setGroundStationNetwork((GroundStationNetwork) newValue); | ||
194 | return; | ||
195 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
196 | getSpacecraft().clear(); | ||
197 | getSpacecraft().addAll((Collection<? extends Spacecraft>) newValue); | ||
198 | return; | ||
199 | } | ||
200 | super.eSet(featureID, newValue); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public void eUnset(int featureID) { | ||
210 | switch (featureID) { | ||
211 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
212 | setGroundStationNetwork((GroundStationNetwork) null); | ||
213 | return; | ||
214 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
215 | getSpacecraft().clear(); | ||
216 | return; | ||
217 | } | ||
218 | super.eUnset(featureID); | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * <!-- begin-user-doc --> | ||
223 | * <!-- end-user-doc --> | ||
224 | * @generated | ||
225 | */ | ||
226 | @Override | ||
227 | public boolean eIsSet(int featureID) { | ||
228 | switch (featureID) { | ||
229 | case SatellitePackage.CONSTELLATION_MISSION__GROUND_STATION_NETWORK: | ||
230 | return groundStationNetwork != null; | ||
231 | case SatellitePackage.CONSTELLATION_MISSION__SPACECRAFT: | ||
232 | return spacecraft != null && !spacecraft.isEmpty(); | ||
233 | } | ||
234 | return super.eIsSet(featureID); | ||
235 | } | ||
236 | |||
237 | } //ConstellationMissionImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java deleted file mode 100644 index 3e0d6f2c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat3UImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat3 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat3UImpl extends CubeSatImpl implements CubeSat3U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat3UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT3_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat3UImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java deleted file mode 100644 index 7ad2bc87..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSat6UImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Cube Sat6 U</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CubeSat6UImpl extends CubeSatImpl implements CubeSat6U { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CubeSat6UImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.CUBE_SAT6_U; | ||
35 | } | ||
36 | |||
37 | } //CubeSat6UImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java deleted file mode 100644 index b0338e2d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/DirectedCommunicationLinkImpl.java +++ /dev/null | |||
@@ -1,227 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | import org.eclipse.emf.ecore.InternalEObject; | ||
13 | |||
14 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
15 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Directed Communication Link</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl#getSource <em>Source</em>}</li> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.DirectedCommunicationLinkImpl#getTarget <em>Target</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class DirectedCommunicationLinkImpl extends MinimalEObjectImpl.Container implements DirectedCommunicationLink { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getSource() <em>Source</em>}' reference. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getSource() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected CommSubsystem source; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getTarget() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected CommSubsystem target; | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | protected DirectedCommunicationLinkImpl() { | ||
58 | super(); | ||
59 | } | ||
60 | |||
61 | /** | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected EClass eStaticClass() { | ||
68 | return SatellitePackage.Literals.DIRECTED_COMMUNICATION_LINK; | ||
69 | } | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | @Override | ||
77 | public CommSubsystem getSource() { | ||
78 | if (source != null && source.eIsProxy()) { | ||
79 | InternalEObject oldSource = (InternalEObject) source; | ||
80 | source = (CommSubsystem) eResolveProxy(oldSource); | ||
81 | if (source != oldSource) { | ||
82 | if (eNotificationRequired()) | ||
83 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, | ||
84 | SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, oldSource, source)); | ||
85 | } | ||
86 | } | ||
87 | return source; | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | public CommSubsystem basicGetSource() { | ||
96 | return source; | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public void setSource(CommSubsystem newSource) { | ||
106 | CommSubsystem oldSource = source; | ||
107 | source = newSource; | ||
108 | if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE, | ||
110 | oldSource, source)); | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | @Override | ||
119 | public CommSubsystem getTarget() { | ||
120 | if (target != null && target.eIsProxy()) { | ||
121 | InternalEObject oldTarget = (InternalEObject) target; | ||
122 | target = (CommSubsystem) eResolveProxy(oldTarget); | ||
123 | if (target != oldTarget) { | ||
124 | if (eNotificationRequired()) | ||
125 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, | ||
126 | SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, oldTarget, target)); | ||
127 | } | ||
128 | } | ||
129 | return target; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | public CommSubsystem basicGetTarget() { | ||
138 | return target; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @Override | ||
147 | public void setTarget(CommSubsystem newTarget) { | ||
148 | CommSubsystem oldTarget = target; | ||
149 | target = newTarget; | ||
150 | if (eNotificationRequired()) | ||
151 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET, | ||
152 | oldTarget, target)); | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
162 | switch (featureID) { | ||
163 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
164 | if (resolve) | ||
165 | return getSource(); | ||
166 | return basicGetSource(); | ||
167 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
168 | if (resolve) | ||
169 | return getTarget(); | ||
170 | return basicGetTarget(); | ||
171 | } | ||
172 | return super.eGet(featureID, resolve, coreType); | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * <!-- begin-user-doc --> | ||
177 | * <!-- end-user-doc --> | ||
178 | * @generated | ||
179 | */ | ||
180 | @Override | ||
181 | public void eSet(int featureID, Object newValue) { | ||
182 | switch (featureID) { | ||
183 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
184 | setSource((CommSubsystem) newValue); | ||
185 | return; | ||
186 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
187 | setTarget((CommSubsystem) newValue); | ||
188 | return; | ||
189 | } | ||
190 | super.eSet(featureID, newValue); | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | @Override | ||
199 | public void eUnset(int featureID) { | ||
200 | switch (featureID) { | ||
201 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
202 | setSource((CommSubsystem) null); | ||
203 | return; | ||
204 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
205 | setTarget((CommSubsystem) null); | ||
206 | return; | ||
207 | } | ||
208 | super.eUnset(featureID); | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public boolean eIsSet(int featureID) { | ||
218 | switch (featureID) { | ||
219 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__SOURCE: | ||
220 | return source != null; | ||
221 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK__TARGET: | ||
222 | return target != null; | ||
223 | } | ||
224 | return super.eIsSet(featureID); | ||
225 | } | ||
226 | |||
227 | } //DirectedCommunicationLinkImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java deleted file mode 100644 index 890e807c..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/GroundStationNetworkImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Ground Station Network</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class GroundStationNetworkImpl extends CommunicatingElementImpl implements GroundStationNetwork { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected GroundStationNetworkImpl() { | ||
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.GROUND_STATION_NETWORK; | ||
35 | } | ||
36 | |||
37 | } //GroundStationNetworkImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java deleted file mode 100644 index b2687ea3..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryMissionImpl.java +++ /dev/null | |||
@@ -1,166 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Interferometry Mission</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.InterferometryMissionImpl#getObservationTime <em>Observation Time</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission { | ||
28 | /** | ||
29 | * The default value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getObservationTime() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final float OBSERVATION_TIME_EDEFAULT = 2.0F; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getObservationTime() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected float observationTime = OBSERVATION_TIME_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected InterferometryMissionImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SatellitePackage.Literals.INTERFEROMETRY_MISSION; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public float getObservationTime() { | ||
74 | return observationTime; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setObservationTime(float newObservationTime) { | ||
84 | float oldObservationTime = observationTime; | ||
85 | observationTime = newObservationTime; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, | ||
88 | SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
100 | return getObservationTime(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
114 | setObservationTime((Float) newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
129 | setObservationTime(OBSERVATION_TIME_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: | ||
144 | return observationTime != OBSERVATION_TIME_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) | ||
157 | return super.toString(); | ||
158 | |||
159 | StringBuilder result = new StringBuilder(super.toString()); | ||
160 | result.append(" (observationTime: "); | ||
161 | result.append(observationTime); | ||
162 | result.append(')'); | ||
163 | return result.toString(); | ||
164 | } | ||
165 | |||
166 | } //InterferometryMissionImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java deleted file mode 100644 index 5657c268..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/InterferometryPayloadImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Interferometry Payload</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class InterferometryPayloadImpl extends PayloadImpl implements InterferometryPayload { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected InterferometryPayloadImpl() { | ||
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.INTERFEROMETRY_PAYLOAD; | ||
35 | } | ||
36 | |||
37 | } //InterferometryPayloadImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java deleted file mode 100644 index 78625d22..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/PayloadImpl.java +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Payload</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class PayloadImpl extends MinimalEObjectImpl.Container implements Payload { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected PayloadImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return SatellitePackage.Literals.PAYLOAD; | ||
37 | } | ||
38 | |||
39 | } //PayloadImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java deleted file mode 100644 index 028ba662..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatelliteFactoryImpl.java +++ /dev/null | |||
@@ -1,294 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EDataType; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.emf.ecore.EPackage; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
13 | |||
14 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model <b>Factory</b>. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SatelliteFactoryImpl extends EFactoryImpl implements SatelliteFactory { | ||
23 | /** | ||
24 | * Creates the default factory implementation. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | public static SatelliteFactory init() { | ||
30 | try { | ||
31 | SatelliteFactory theSatelliteFactory = (SatelliteFactory) EPackage.Registry.INSTANCE | ||
32 | .getEFactory(SatellitePackage.eNS_URI); | ||
33 | if (theSatelliteFactory != null) { | ||
34 | return theSatelliteFactory; | ||
35 | } | ||
36 | } catch (Exception exception) { | ||
37 | EcorePlugin.INSTANCE.log(exception); | ||
38 | } | ||
39 | return new SatelliteFactoryImpl(); | ||
40 | } | ||
41 | |||
42 | /** | ||
43 | * Creates an instance of the factory. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | public SatelliteFactoryImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | public EObject create(EClass eClass) { | ||
59 | switch (eClass.getClassifierID()) { | ||
60 | case SatellitePackage.INTERFEROMETRY_MISSION: | ||
61 | return createInterferometryMission(); | ||
62 | case SatellitePackage.GROUND_STATION_NETWORK: | ||
63 | return createGroundStationNetwork(); | ||
64 | case SatellitePackage.COMM_SUBSYSTEM: | ||
65 | return createCommSubsystem(); | ||
66 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK: | ||
67 | return createDirectedCommunicationLink(); | ||
68 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: | ||
69 | return createInterferometryPayload(); | ||
70 | case SatellitePackage.CUBE_SAT3_U: | ||
71 | return createCubeSat3U(); | ||
72 | case SatellitePackage.CUBE_SAT6_U: | ||
73 | return createCubeSat6U(); | ||
74 | case SatellitePackage.SMALL_SAT: | ||
75 | return createSmallSat(); | ||
76 | default: | ||
77 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
78 | } | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @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() { | ||
126 | InterferometryMissionImpl interferometryMission = new InterferometryMissionImpl(); | ||
127 | return interferometryMission; | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public GroundStationNetwork createGroundStationNetwork() { | ||
137 | GroundStationNetworkImpl groundStationNetwork = new GroundStationNetworkImpl(); | ||
138 | return groundStationNetwork; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @generated | ||
145 | */ | ||
146 | @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() { | ||
159 | DirectedCommunicationLinkImpl directedCommunicationLink = new DirectedCommunicationLinkImpl(); | ||
160 | return directedCommunicationLink; | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public InterferometryPayload createInterferometryPayload() { | ||
170 | InterferometryPayloadImpl interferometryPayload = new InterferometryPayloadImpl(); | ||
171 | return interferometryPayload; | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public CubeSat3U createCubeSat3U() { | ||
181 | CubeSat3UImpl cubeSat3U = new CubeSat3UImpl(); | ||
182 | return cubeSat3U; | ||
183 | } | ||
184 | |||
185 | /** | ||
186 | * <!-- begin-user-doc --> | ||
187 | * <!-- end-user-doc --> | ||
188 | * @generated | ||
189 | */ | ||
190 | @Override | ||
191 | public CubeSat6U createCubeSat6U() { | ||
192 | CubeSat6UImpl cubeSat6U = new CubeSat6UImpl(); | ||
193 | return cubeSat6U; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public SmallSat createSmallSat() { | ||
203 | SmallSatImpl smallSat = new SmallSatImpl(); | ||
204 | return smallSat; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public TransceiverBand createTransceiverBandFromString(EDataType eDataType, String initialValue) { | ||
213 | TransceiverBand result = TransceiverBand.get(initialValue); | ||
214 | if (result == null) | ||
215 | throw new IllegalArgumentException( | ||
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 | } | ||
250 | |||
251 | /** | ||
252 | * <!-- begin-user-doc --> | ||
253 | * <!-- end-user-doc --> | ||
254 | * @generated | ||
255 | */ | ||
256 | public SpacecraftKind createSpacecraftKindFromString(EDataType eDataType, String initialValue) { | ||
257 | SpacecraftKind result = SpacecraftKind.get(initialValue); | ||
258 | if (result == null) | ||
259 | throw new IllegalArgumentException( | ||
260 | "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
261 | return result; | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * <!-- begin-user-doc --> | ||
266 | * <!-- end-user-doc --> | ||
267 | * @generated | ||
268 | */ | ||
269 | public String convertSpacecraftKindToString(EDataType eDataType, Object instanceValue) { | ||
270 | return instanceValue == null ? null : instanceValue.toString(); | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @Override | ||
279 | public SatellitePackage getSatellitePackage() { | ||
280 | return (SatellitePackage) getEPackage(); | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @deprecated | ||
287 | * @generated | ||
288 | */ | ||
289 | @Deprecated | ||
290 | public static SatellitePackage getPackage() { | ||
291 | return SatellitePackage.eINSTANCE; | ||
292 | } | ||
293 | |||
294 | } //SatelliteFactoryImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java deleted file mode 100644 index bbe77e4d..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java +++ /dev/null | |||
@@ -1,684 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.AntennaGain; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement; | ||
8 | import hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission; | ||
9 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; | ||
10 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U; | ||
11 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U; | ||
12 | import hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink; | ||
13 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; | ||
14 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; | ||
15 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; | ||
16 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; | ||
17 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory; | ||
18 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
19 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; | ||
20 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; | ||
21 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; | ||
22 | import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; | ||
23 | |||
24 | import org.eclipse.emf.ecore.EAttribute; | ||
25 | import org.eclipse.emf.ecore.EClass; | ||
26 | import org.eclipse.emf.ecore.EEnum; | ||
27 | import org.eclipse.emf.ecore.EPackage; | ||
28 | import org.eclipse.emf.ecore.EReference; | ||
29 | |||
30 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * An implementation of the model <b>Package</b>. | ||
35 | * <!-- end-user-doc --> | ||
36 | * @generated | ||
37 | */ | ||
38 | public class SatellitePackageImpl extends EPackageImpl implements SatellitePackage { | ||
39 | /** | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @generated | ||
43 | */ | ||
44 | private EClass constellationMissionEClass = null; | ||
45 | |||
46 | /** | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @generated | ||
50 | */ | ||
51 | private EClass interferometryMissionEClass = null; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | private EClass communicatingElementEClass = null; | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | private EClass groundStationNetworkEClass = null; | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | private EClass spacecraftEClass = null; | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | private EClass commSubsystemEClass = null; | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | private EClass directedCommunicationLinkEClass = null; | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | private EClass payloadEClass = null; | ||
94 | |||
95 | /** | ||
96 | * <!-- begin-user-doc --> | ||
97 | * <!-- end-user-doc --> | ||
98 | * @generated | ||
99 | */ | ||
100 | private EClass interferometryPayloadEClass = null; | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | private EClass cubeSat3UEClass = null; | ||
108 | |||
109 | /** | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @generated | ||
113 | */ | ||
114 | private EClass cubeSat6UEClass = null; | ||
115 | |||
116 | /** | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | */ | ||
121 | private EClass smallSatEClass = null; | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | private EClass cubeSatEClass = null; | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | private EEnum transceiverBandEEnum = null; | ||
136 | |||
137 | /** | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @generated | ||
141 | */ | ||
142 | private EEnum antennaGainEEnum = null; | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | private EEnum spacecraftKindEEnum = null; | ||
150 | |||
151 | /** | ||
152 | * Creates an instance of the model <b>Package</b>, registered with | ||
153 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
154 | * package URI value. | ||
155 | * <p>Note: the correct way to create the package is via the static | ||
156 | * factory method {@link #init init()}, which also performs | ||
157 | * initialization of the package, or returns the registered package, | ||
158 | * if one already exists. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
162 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#eNS_URI | ||
163 | * @see #init() | ||
164 | * @generated | ||
165 | */ | ||
166 | private SatellitePackageImpl() { | ||
167 | super(eNS_URI, SatelliteFactory.eINSTANCE); | ||
168 | } | ||
169 | |||
170 | /** | ||
171 | * <!-- begin-user-doc --> | ||
172 | * <!-- end-user-doc --> | ||
173 | * @generated | ||
174 | */ | ||
175 | private static boolean isInited = false; | ||
176 | |||
177 | /** | ||
178 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
179 | * | ||
180 | * <p>This method is used to initialize {@link SatellitePackage#eINSTANCE} when that field is accessed. | ||
181 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @see #eNS_URI | ||
185 | * @see #createPackageContents() | ||
186 | * @see #initializePackageContents() | ||
187 | * @generated | ||
188 | */ | ||
189 | public static SatellitePackage init() { | ||
190 | if (isInited) | ||
191 | return (SatellitePackage) EPackage.Registry.INSTANCE.getEPackage(SatellitePackage.eNS_URI); | ||
192 | |||
193 | // Obtain or create and register package | ||
194 | Object registeredSatellitePackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
195 | SatellitePackageImpl theSatellitePackage = registeredSatellitePackage instanceof SatellitePackageImpl | ||
196 | ? (SatellitePackageImpl) registeredSatellitePackage | ||
197 | : new SatellitePackageImpl(); | ||
198 | |||
199 | isInited = true; | ||
200 | |||
201 | // Create package meta-data objects | ||
202 | theSatellitePackage.createPackageContents(); | ||
203 | |||
204 | // Initialize created meta-data | ||
205 | theSatellitePackage.initializePackageContents(); | ||
206 | |||
207 | // Mark meta-data to indicate it can't be changed | ||
208 | theSatellitePackage.freeze(); | ||
209 | |||
210 | // Update the registry and return the package | ||
211 | EPackage.Registry.INSTANCE.put(SatellitePackage.eNS_URI, theSatellitePackage); | ||
212 | return theSatellitePackage; | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public EClass getConstellationMission() { | ||
222 | return constellationMissionEClass; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public EReference getConstellationMission_GroundStationNetwork() { | ||
232 | return (EReference) constellationMissionEClass.getEStructuralFeatures().get(0); | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public EReference getConstellationMission_Spacecraft() { | ||
242 | return (EReference) constellationMissionEClass.getEStructuralFeatures().get(1); | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * <!-- begin-user-doc --> | ||
247 | * <!-- end-user-doc --> | ||
248 | * @generated | ||
249 | */ | ||
250 | @Override | ||
251 | public EClass getInterferometryMission() { | ||
252 | return interferometryMissionEClass; | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * <!-- begin-user-doc --> | ||
257 | * <!-- end-user-doc --> | ||
258 | * @generated | ||
259 | */ | ||
260 | @Override | ||
261 | public EAttribute getInterferometryMission_ObservationTime() { | ||
262 | return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0); | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * <!-- begin-user-doc --> | ||
267 | * <!-- end-user-doc --> | ||
268 | * @generated | ||
269 | */ | ||
270 | @Override | ||
271 | public EClass getCommunicatingElement() { | ||
272 | return communicatingElementEClass; | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * <!-- begin-user-doc --> | ||
277 | * <!-- end-user-doc --> | ||
278 | * @generated | ||
279 | */ | ||
280 | @Override | ||
281 | public EReference getCommunicatingElement_CommSubsystem() { | ||
282 | return (EReference) communicatingElementEClass.getEStructuralFeatures().get(0); | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * <!-- begin-user-doc --> | ||
287 | * <!-- end-user-doc --> | ||
288 | * @generated | ||
289 | */ | ||
290 | @Override | ||
291 | public EReference getCommunicatingElement_CommunicationLink() { | ||
292 | return (EReference) communicatingElementEClass.getEStructuralFeatures().get(1); | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * <!-- begin-user-doc --> | ||
297 | * <!-- end-user-doc --> | ||
298 | * @generated | ||
299 | */ | ||
300 | @Override | ||
301 | public EClass getGroundStationNetwork() { | ||
302 | return groundStationNetworkEClass; | ||
303 | } | ||
304 | |||
305 | /** | ||
306 | * <!-- begin-user-doc --> | ||
307 | * <!-- end-user-doc --> | ||
308 | * @generated | ||
309 | */ | ||
310 | @Override | ||
311 | public EClass getSpacecraft() { | ||
312 | return spacecraftEClass; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | @Override | ||
321 | public EReference getSpacecraft_Payload() { | ||
322 | return (EReference) spacecraftEClass.getEStructuralFeatures().get(0); | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | */ | ||
330 | @Override | ||
331 | public EAttribute getSpacecraft_Kind() { | ||
332 | return (EAttribute) spacecraftEClass.getEStructuralFeatures().get(1); | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | @Override | ||
341 | public EClass getCommSubsystem() { | ||
342 | return commSubsystemEClass; | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * <!-- begin-user-doc --> | ||
347 | * <!-- end-user-doc --> | ||
348 | * @generated | ||
349 | */ | ||
350 | @Override | ||
351 | public EAttribute getCommSubsystem_Band() { | ||
352 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(0); | ||
353 | } | ||
354 | |||
355 | /** | ||
356 | * <!-- begin-user-doc --> | ||
357 | * <!-- end-user-doc --> | ||
358 | * @generated | ||
359 | */ | ||
360 | @Override | ||
361 | public EAttribute getCommSubsystem_Gain() { | ||
362 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(1); | ||
363 | } | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | @Override | ||
371 | public EClass getDirectedCommunicationLink() { | ||
372 | return directedCommunicationLinkEClass; | ||
373 | } | ||
374 | |||
375 | /** | ||
376 | * <!-- begin-user-doc --> | ||
377 | * <!-- end-user-doc --> | ||
378 | * @generated | ||
379 | */ | ||
380 | @Override | ||
381 | public EReference getDirectedCommunicationLink_Source() { | ||
382 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(0); | ||
383 | } | ||
384 | |||
385 | /** | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | */ | ||
390 | @Override | ||
391 | public EReference getDirectedCommunicationLink_Target() { | ||
392 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(1); | ||
393 | } | ||
394 | |||
395 | /** | ||
396 | * <!-- begin-user-doc --> | ||
397 | * <!-- end-user-doc --> | ||
398 | * @generated | ||
399 | */ | ||
400 | @Override | ||
401 | public EClass getPayload() { | ||
402 | return payloadEClass; | ||
403 | } | ||
404 | |||
405 | /** | ||
406 | * <!-- begin-user-doc --> | ||
407 | * <!-- end-user-doc --> | ||
408 | * @generated | ||
409 | */ | ||
410 | @Override | ||
411 | public EClass getInterferometryPayload() { | ||
412 | return interferometryPayloadEClass; | ||
413 | } | ||
414 | |||
415 | /** | ||
416 | * <!-- begin-user-doc --> | ||
417 | * <!-- end-user-doc --> | ||
418 | * @generated | ||
419 | */ | ||
420 | @Override | ||
421 | public EClass getCubeSat3U() { | ||
422 | return cubeSat3UEClass; | ||
423 | } | ||
424 | |||
425 | /** | ||
426 | * <!-- begin-user-doc --> | ||
427 | * <!-- end-user-doc --> | ||
428 | * @generated | ||
429 | */ | ||
430 | @Override | ||
431 | public EClass getCubeSat6U() { | ||
432 | return cubeSat6UEClass; | ||
433 | } | ||
434 | |||
435 | /** | ||
436 | * <!-- begin-user-doc --> | ||
437 | * <!-- end-user-doc --> | ||
438 | * @generated | ||
439 | */ | ||
440 | @Override | ||
441 | public EClass getSmallSat() { | ||
442 | return smallSatEClass; | ||
443 | } | ||
444 | |||
445 | /** | ||
446 | * <!-- begin-user-doc --> | ||
447 | * <!-- end-user-doc --> | ||
448 | * @generated | ||
449 | */ | ||
450 | @Override | ||
451 | public EClass getCubeSat() { | ||
452 | return cubeSatEClass; | ||
453 | } | ||
454 | |||
455 | /** | ||
456 | * <!-- begin-user-doc --> | ||
457 | * <!-- end-user-doc --> | ||
458 | * @generated | ||
459 | */ | ||
460 | @Override | ||
461 | public EEnum getTransceiverBand() { | ||
462 | return transceiverBandEEnum; | ||
463 | } | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | @Override | ||
471 | public EEnum getAntennaGain() { | ||
472 | return antennaGainEEnum; | ||
473 | } | ||
474 | |||
475 | /** | ||
476 | * <!-- begin-user-doc --> | ||
477 | * <!-- end-user-doc --> | ||
478 | * @generated | ||
479 | */ | ||
480 | @Override | ||
481 | public EEnum getSpacecraftKind() { | ||
482 | return spacecraftKindEEnum; | ||
483 | } | ||
484 | |||
485 | /** | ||
486 | * <!-- begin-user-doc --> | ||
487 | * <!-- end-user-doc --> | ||
488 | * @generated | ||
489 | */ | ||
490 | @Override | ||
491 | public SatelliteFactory getSatelliteFactory() { | ||
492 | return (SatelliteFactory) getEFactoryInstance(); | ||
493 | } | ||
494 | |||
495 | /** | ||
496 | * <!-- begin-user-doc --> | ||
497 | * <!-- end-user-doc --> | ||
498 | * @generated | ||
499 | */ | ||
500 | private boolean isCreated = false; | ||
501 | |||
502 | /** | ||
503 | * Creates the meta-model objects for the package. This method is | ||
504 | * guarded to have no affect on any invocation but its first. | ||
505 | * <!-- begin-user-doc --> | ||
506 | * <!-- end-user-doc --> | ||
507 | * @generated | ||
508 | */ | ||
509 | public void createPackageContents() { | ||
510 | if (isCreated) | ||
511 | return; | ||
512 | isCreated = true; | ||
513 | |||
514 | // Create classes and their features | ||
515 | constellationMissionEClass = createEClass(CONSTELLATION_MISSION); | ||
516 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__GROUND_STATION_NETWORK); | ||
517 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); | ||
518 | |||
519 | interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); | ||
520 | createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME); | ||
521 | |||
522 | communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); | ||
523 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | ||
524 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMMUNICATION_LINK); | ||
525 | |||
526 | groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); | ||
527 | |||
528 | spacecraftEClass = createEClass(SPACECRAFT); | ||
529 | createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); | ||
530 | createEAttribute(spacecraftEClass, SPACECRAFT__KIND); | ||
531 | |||
532 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | ||
533 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND); | ||
534 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN); | ||
535 | |||
536 | directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); | ||
537 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); | ||
538 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__TARGET); | ||
539 | |||
540 | payloadEClass = createEClass(PAYLOAD); | ||
541 | |||
542 | interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); | ||
543 | |||
544 | cubeSat3UEClass = createEClass(CUBE_SAT3_U); | ||
545 | |||
546 | cubeSat6UEClass = createEClass(CUBE_SAT6_U); | ||
547 | |||
548 | smallSatEClass = createEClass(SMALL_SAT); | ||
549 | |||
550 | cubeSatEClass = createEClass(CUBE_SAT); | ||
551 | |||
552 | // Create enums | ||
553 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); | ||
554 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); | ||
555 | spacecraftKindEEnum = createEEnum(SPACECRAFT_KIND); | ||
556 | } | ||
557 | |||
558 | /** | ||
559 | * <!-- begin-user-doc --> | ||
560 | * <!-- end-user-doc --> | ||
561 | * @generated | ||
562 | */ | ||
563 | private boolean isInitialized = false; | ||
564 | |||
565 | /** | ||
566 | * Complete the initialization of the package and its meta-model. This | ||
567 | * method is guarded to have no affect on any invocation but its first. | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | */ | ||
572 | public void initializePackageContents() { | ||
573 | if (isInitialized) | ||
574 | return; | ||
575 | isInitialized = true; | ||
576 | |||
577 | // Initialize package | ||
578 | setName(eNAME); | ||
579 | setNsPrefix(eNS_PREFIX); | ||
580 | setNsURI(eNS_URI); | ||
581 | |||
582 | // Create type parameters | ||
583 | |||
584 | // Set bounds for type parameters | ||
585 | |||
586 | // Add supertypes to classes | ||
587 | interferometryMissionEClass.getESuperTypes().add(this.getConstellationMission()); | ||
588 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
589 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
590 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); | ||
591 | cubeSat3UEClass.getESuperTypes().add(this.getCubeSat()); | ||
592 | cubeSat6UEClass.getESuperTypes().add(this.getCubeSat()); | ||
593 | smallSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
594 | cubeSatEClass.getESuperTypes().add(this.getSpacecraft()); | ||
595 | |||
596 | // Initialize classes, features, and operations; add parameters | ||
597 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, | ||
598 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
599 | initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null, | ||
600 | "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, | ||
601 | IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
602 | initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50, | ||
603 | ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | ||
604 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
605 | |||
606 | initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, | ||
607 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
608 | initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0", | ||
609 | 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, | ||
610 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
611 | |||
612 | initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, | ||
613 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
614 | initEReference(getCommunicatingElement_CommSubsystem(), this.getCommSubsystem(), null, "commSubsystem", null, 1, | ||
615 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | ||
616 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
617 | initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, | ||
618 | "communicationLink", null, 0, 1, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, | ||
619 | IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
620 | |||
621 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, | ||
622 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
623 | |||
624 | initEClass(spacecraftEClass, Spacecraft.class, "Spacecraft", IS_ABSTRACT, !IS_INTERFACE, | ||
625 | IS_GENERATED_INSTANCE_CLASS); | ||
626 | initEReference(getSpacecraft_Payload(), this.getPayload(), null, "payload", null, 0, 1, Spacecraft.class, | ||
627 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, | ||
628 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
629 | initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class, | ||
630 | IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
631 | |||
632 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, | ||
633 | IS_GENERATED_INSTANCE_CLASS); | ||
634 | initEAttribute(getCommSubsystem_Band(), this.getTransceiverBand(), "band", null, 1, 1, CommSubsystem.class, | ||
635 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
636 | initEAttribute(getCommSubsystem_Gain(), this.getAntennaGain(), "gain", null, 1, 1, CommSubsystem.class, | ||
637 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
638 | |||
639 | initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", | ||
640 | !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
641 | initEReference(getDirectedCommunicationLink_Source(), this.getCommSubsystem(), null, "source", null, 1, 1, | ||
642 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
643 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
644 | initEReference(getDirectedCommunicationLink_Target(), this.getCommSubsystem(), null, "target", null, 1, 1, | ||
645 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
646 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
647 | |||
648 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
649 | |||
650 | initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, | ||
651 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
652 | |||
653 | initEClass(cubeSat3UEClass, CubeSat3U.class, "CubeSat3U", !IS_ABSTRACT, !IS_INTERFACE, | ||
654 | IS_GENERATED_INSTANCE_CLASS); | ||
655 | |||
656 | initEClass(cubeSat6UEClass, CubeSat6U.class, "CubeSat6U", !IS_ABSTRACT, !IS_INTERFACE, | ||
657 | IS_GENERATED_INSTANCE_CLASS); | ||
658 | |||
659 | initEClass(smallSatEClass, SmallSat.class, "SmallSat", !IS_ABSTRACT, !IS_INTERFACE, | ||
660 | IS_GENERATED_INSTANCE_CLASS); | ||
661 | |||
662 | initEClass(cubeSatEClass, CubeSat.class, "CubeSat", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
663 | |||
664 | // Initialize enums and add enum literals | ||
665 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); | ||
666 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); | ||
667 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.X); | ||
668 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.KA); | ||
669 | |||
670 | initEEnum(antennaGainEEnum, AntennaGain.class, "AntennaGain"); | ||
671 | addEEnumLiteral(antennaGainEEnum, AntennaGain.LOW); | ||
672 | addEEnumLiteral(antennaGainEEnum, AntennaGain.MEDIUM); | ||
673 | addEEnumLiteral(antennaGainEEnum, AntennaGain.HIGH); | ||
674 | |||
675 | initEEnum(spacecraftKindEEnum, SpacecraftKind.class, "SpacecraftKind"); | ||
676 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT3_U); | ||
677 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT6_U); | ||
678 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.SMALL_SAT); | ||
679 | |||
680 | // Create resource | ||
681 | createResource(eNS_URI); | ||
682 | } | ||
683 | |||
684 | } //SatellitePackageImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java deleted file mode 100644 index 522991ad..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SmallSatImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Small Sat</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class SmallSatImpl extends SpacecraftImpl implements SmallSat { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected SmallSatImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SatellitePackage.Literals.SMALL_SAT; | ||
35 | } | ||
36 | |||
37 | } //SmallSatImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java deleted file mode 100644 index 9d74270a..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SpacecraftImpl.java +++ /dev/null | |||
@@ -1,212 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; | ||
8 | |||
9 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; | ||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Spacecraft</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl#getPayload <em>Payload</em>}</li> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.domains.satellite.impl.SpacecraftImpl#getKind <em>Kind</em>}</li> | ||
28 | * </ul> | ||
29 | * | ||
30 | * @generated | ||
31 | */ | ||
32 | public abstract class SpacecraftImpl extends CommunicatingElementImpl implements Spacecraft { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getPayload() <em>Payload</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getPayload() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected Payload payload; | ||
42 | |||
43 | /** | ||
44 | * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getKind() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected static final SpacecraftKind KIND_EDEFAULT = SpacecraftKind.CUBE_SAT3_U; | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | protected SpacecraftImpl() { | ||
59 | super(); | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @generated | ||
66 | */ | ||
67 | @Override | ||
68 | protected EClass eStaticClass() { | ||
69 | return SatellitePackage.Literals.SPACECRAFT; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public Payload getPayload() { | ||
79 | return payload; | ||
80 | } | ||
81 | |||
82 | /** | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @generated | ||
86 | */ | ||
87 | public NotificationChain basicSetPayload(Payload newPayload, NotificationChain msgs) { | ||
88 | Payload oldPayload = payload; | ||
89 | payload = newPayload; | ||
90 | if (eNotificationRequired()) { | ||
91 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, | ||
92 | SatellitePackage.SPACECRAFT__PAYLOAD, oldPayload, newPayload); | ||
93 | if (msgs == null) | ||
94 | msgs = notification; | ||
95 | else | ||
96 | msgs.add(notification); | ||
97 | } | ||
98 | return msgs; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @generated | ||
105 | */ | ||
106 | @Override | ||
107 | public void setPayload(Payload newPayload) { | ||
108 | if (newPayload != payload) { | ||
109 | NotificationChain msgs = null; | ||
110 | if (payload != null) | ||
111 | msgs = ((InternalEObject) payload).eInverseRemove(this, | ||
112 | EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); | ||
113 | if (newPayload != null) | ||
114 | msgs = ((InternalEObject) newPayload).eInverseAdd(this, | ||
115 | EOPPOSITE_FEATURE_BASE - SatellitePackage.SPACECRAFT__PAYLOAD, null, msgs); | ||
116 | msgs = basicSetPayload(newPayload, msgs); | ||
117 | if (msgs != null) | ||
118 | msgs.dispatch(); | ||
119 | } else if (eNotificationRequired()) | ||
120 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.SPACECRAFT__PAYLOAD, newPayload, | ||
121 | newPayload)); | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @generated | ||
128 | */ | ||
129 | @Override | ||
130 | public SpacecraftKind getKind() { | ||
131 | // TODO: implement this method to return the 'Kind' attribute | ||
132 | // Ensure that you remove @generated or mark it @generated NOT | ||
133 | throw new UnsupportedOperationException(); | ||
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) { | ||
143 | switch (featureID) { | ||
144 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
145 | return basicSetPayload(null, msgs); | ||
146 | } | ||
147 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
157 | switch (featureID) { | ||
158 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
159 | return getPayload(); | ||
160 | case SatellitePackage.SPACECRAFT__KIND: | ||
161 | return getKind(); | ||
162 | } | ||
163 | return super.eGet(featureID, resolve, coreType); | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | @Override | ||
172 | public void eSet(int featureID, Object newValue) { | ||
173 | switch (featureID) { | ||
174 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
175 | setPayload((Payload) newValue); | ||
176 | return; | ||
177 | } | ||
178 | super.eSet(featureID, newValue); | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public void eUnset(int featureID) { | ||
188 | switch (featureID) { | ||
189 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
190 | setPayload((Payload) null); | ||
191 | return; | ||
192 | } | ||
193 | super.eUnset(featureID); | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public boolean eIsSet(int featureID) { | ||
203 | switch (featureID) { | ||
204 | case SatellitePackage.SPACECRAFT__PAYLOAD: | ||
205 | return payload != null; | ||
206 | case SatellitePackage.SPACECRAFT__KIND: | ||
207 | return getKind() != KIND_EDEFAULT; | ||
208 | } | ||
209 | return super.eIsSet(featureID); | ||
210 | } | ||
211 | |||
212 | } //SpacecraftImpl | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java deleted file mode 100644 index fd948334..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java +++ /dev/null | |||
@@ -1,347 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SatelliteAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static SatellitePackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public SatelliteAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = SatellitePackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject) object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected SatelliteSwitch<Adapter> modelSwitch = new SatelliteSwitch<Adapter>() { | ||
69 | @Override | ||
70 | public Adapter caseConstellationMission(ConstellationMission object) { | ||
71 | return createConstellationMissionAdapter(); | ||
72 | } | ||
73 | |||
74 | @Override | ||
75 | public Adapter caseInterferometryMission(InterferometryMission object) { | ||
76 | return createInterferometryMissionAdapter(); | ||
77 | } | ||
78 | |||
79 | @Override | ||
80 | public Adapter caseCommunicatingElement(CommunicatingElement object) { | ||
81 | return createCommunicatingElementAdapter(); | ||
82 | } | ||
83 | |||
84 | @Override | ||
85 | public Adapter caseGroundStationNetwork(GroundStationNetwork object) { | ||
86 | return createGroundStationNetworkAdapter(); | ||
87 | } | ||
88 | |||
89 | @Override | ||
90 | public Adapter caseSpacecraft(Spacecraft object) { | ||
91 | return createSpacecraftAdapter(); | ||
92 | } | ||
93 | |||
94 | @Override | ||
95 | public Adapter caseCommSubsystem(CommSubsystem object) { | ||
96 | return createCommSubsystemAdapter(); | ||
97 | } | ||
98 | |||
99 | @Override | ||
100 | public Adapter caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
101 | return createDirectedCommunicationLinkAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter casePayload(Payload object) { | ||
106 | return createPayloadAdapter(); | ||
107 | } | ||
108 | |||
109 | @Override | ||
110 | public Adapter caseInterferometryPayload(InterferometryPayload object) { | ||
111 | return createInterferometryPayloadAdapter(); | ||
112 | } | ||
113 | |||
114 | @Override | ||
115 | public Adapter caseCubeSat3U(CubeSat3U object) { | ||
116 | return createCubeSat3UAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
121 | return createCubeSat6UAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseSmallSat(SmallSat object) { | ||
126 | return createSmallSatAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter caseCubeSat(CubeSat object) { | ||
131 | return createCubeSatAdapter(); | ||
132 | } | ||
133 | |||
134 | @Override | ||
135 | public Adapter defaultCase(EObject object) { | ||
136 | return createEObjectAdapter(); | ||
137 | } | ||
138 | }; | ||
139 | |||
140 | /** | ||
141 | * Creates an adapter for the <code>target</code>. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @param target the object to adapt. | ||
145 | * @return the adapter for the <code>target</code>. | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public Adapter createAdapter(Notifier target) { | ||
150 | return modelSwitch.doSwitch((EObject) target); | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * This default implementation returns null so that we can easily ignore cases; | ||
157 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
158 | * <!-- end-user-doc --> | ||
159 | * @return the new adapter. | ||
160 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission | ||
161 | * @generated | ||
162 | */ | ||
163 | public Adapter createConstellationMissionAdapter() { | ||
164 | return null; | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
169 | * <!-- begin-user-doc --> | ||
170 | * This default implementation returns null so that we can easily ignore cases; | ||
171 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
172 | * <!-- end-user-doc --> | ||
173 | * @return the new adapter. | ||
174 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission | ||
175 | * @generated | ||
176 | */ | ||
177 | public Adapter createInterferometryMissionAdapter() { | ||
178 | return null; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * This default implementation returns null so that we can easily ignore cases; | ||
185 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
186 | * <!-- end-user-doc --> | ||
187 | * @return the new adapter. | ||
188 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement | ||
189 | * @generated | ||
190 | */ | ||
191 | public Adapter createCommunicatingElementAdapter() { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This default implementation returns null so that we can easily ignore cases; | ||
199 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the new adapter. | ||
202 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork | ||
203 | * @generated | ||
204 | */ | ||
205 | public Adapter createGroundStationNetworkAdapter() { | ||
206 | return null; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft <em>Spacecraft</em>}'. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * This default implementation returns null so that we can easily ignore cases; | ||
213 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
214 | * <!-- end-user-doc --> | ||
215 | * @return the new adapter. | ||
216 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft | ||
217 | * @generated | ||
218 | */ | ||
219 | public Adapter createSpacecraftAdapter() { | ||
220 | return null; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * This default implementation returns null so that we can easily ignore cases; | ||
227 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
228 | * <!-- end-user-doc --> | ||
229 | * @return the new adapter. | ||
230 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem | ||
231 | * @generated | ||
232 | */ | ||
233 | public Adapter createCommSubsystemAdapter() { | ||
234 | return null; | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | ||
239 | * <!-- begin-user-doc --> | ||
240 | * This default implementation returns null so that we can easily ignore cases; | ||
241 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
242 | * <!-- end-user-doc --> | ||
243 | * @return the new adapter. | ||
244 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink | ||
245 | * @generated | ||
246 | */ | ||
247 | public Adapter createDirectedCommunicationLinkAdapter() { | ||
248 | return null; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload <em>Payload</em>}'. | ||
253 | * <!-- begin-user-doc --> | ||
254 | * This default implementation returns null so that we can easily ignore cases; | ||
255 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
256 | * <!-- end-user-doc --> | ||
257 | * @return the new adapter. | ||
258 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload | ||
259 | * @generated | ||
260 | */ | ||
261 | public Adapter createPayloadAdapter() { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
267 | * <!-- begin-user-doc --> | ||
268 | * This default implementation returns null so that we can easily ignore cases; | ||
269 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
270 | * <!-- end-user-doc --> | ||
271 | * @return the new adapter. | ||
272 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload | ||
273 | * @generated | ||
274 | */ | ||
275 | public Adapter createInterferometryPayloadAdapter() { | ||
276 | return null; | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * This default implementation returns null so that we can easily ignore cases; | ||
283 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
284 | * <!-- end-user-doc --> | ||
285 | * @return the new adapter. | ||
286 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
287 | * @generated | ||
288 | */ | ||
289 | public Adapter createCubeSat3UAdapter() { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This default implementation returns null so that we can easily ignore cases; | ||
297 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return the new adapter. | ||
300 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
301 | * @generated | ||
302 | */ | ||
303 | public Adapter createCubeSat6UAdapter() { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This default implementation returns null so that we can easily ignore cases; | ||
311 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @return the new adapter. | ||
314 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
315 | * @generated | ||
316 | */ | ||
317 | public Adapter createSmallSatAdapter() { | ||
318 | return null; | ||
319 | } | ||
320 | |||
321 | /** | ||
322 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat <em>Cube Sat</em>}'. | ||
323 | * <!-- begin-user-doc --> | ||
324 | * This default implementation returns null so that we can easily ignore cases; | ||
325 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
326 | * <!-- end-user-doc --> | ||
327 | * @return the new adapter. | ||
328 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat | ||
329 | * @generated | ||
330 | */ | ||
331 | public Adapter createCubeSatAdapter() { | ||
332 | return null; | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * Creates a new adapter for the default case. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * This default implementation returns null. | ||
339 | * <!-- end-user-doc --> | ||
340 | * @return the new adapter. | ||
341 | * @generated | ||
342 | */ | ||
343 | public Adapter createEObjectAdapter() { | ||
344 | return null; | ||
345 | } | ||
346 | |||
347 | } //SatelliteAdapterFactory | ||
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java deleted file mode 100644 index 08180b64..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java +++ /dev/null | |||
@@ -1,404 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class SatelliteSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static SatellitePackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public SatelliteSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = SatellitePackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case SatellitePackage.CONSTELLATION_MISSION: { | ||
70 | ConstellationMission constellationMission = (ConstellationMission) theEObject; | ||
71 | T result = caseConstellationMission(constellationMission); | ||
72 | if (result == null) | ||
73 | result = defaultCase(theEObject); | ||
74 | return result; | ||
75 | } | ||
76 | case SatellitePackage.INTERFEROMETRY_MISSION: { | ||
77 | InterferometryMission interferometryMission = (InterferometryMission) theEObject; | ||
78 | T result = caseInterferometryMission(interferometryMission); | ||
79 | if (result == null) | ||
80 | result = caseConstellationMission(interferometryMission); | ||
81 | if (result == null) | ||
82 | result = defaultCase(theEObject); | ||
83 | return result; | ||
84 | } | ||
85 | case SatellitePackage.COMMUNICATING_ELEMENT: { | ||
86 | CommunicatingElement communicatingElement = (CommunicatingElement) theEObject; | ||
87 | T result = caseCommunicatingElement(communicatingElement); | ||
88 | if (result == null) | ||
89 | result = defaultCase(theEObject); | ||
90 | return result; | ||
91 | } | ||
92 | case SatellitePackage.GROUND_STATION_NETWORK: { | ||
93 | GroundStationNetwork groundStationNetwork = (GroundStationNetwork) theEObject; | ||
94 | T result = caseGroundStationNetwork(groundStationNetwork); | ||
95 | if (result == null) | ||
96 | result = caseCommunicatingElement(groundStationNetwork); | ||
97 | if (result == null) | ||
98 | result = defaultCase(theEObject); | ||
99 | return result; | ||
100 | } | ||
101 | case SatellitePackage.SPACECRAFT: { | ||
102 | Spacecraft spacecraft = (Spacecraft) theEObject; | ||
103 | T result = caseSpacecraft(spacecraft); | ||
104 | if (result == null) | ||
105 | result = caseCommunicatingElement(spacecraft); | ||
106 | if (result == null) | ||
107 | result = defaultCase(theEObject); | ||
108 | return result; | ||
109 | } | ||
110 | case SatellitePackage.COMM_SUBSYSTEM: { | ||
111 | CommSubsystem commSubsystem = (CommSubsystem) theEObject; | ||
112 | T result = caseCommSubsystem(commSubsystem); | ||
113 | if (result == null) | ||
114 | result = defaultCase(theEObject); | ||
115 | return result; | ||
116 | } | ||
117 | case SatellitePackage.DIRECTED_COMMUNICATION_LINK: { | ||
118 | DirectedCommunicationLink directedCommunicationLink = (DirectedCommunicationLink) theEObject; | ||
119 | T result = caseDirectedCommunicationLink(directedCommunicationLink); | ||
120 | if (result == null) | ||
121 | result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case SatellitePackage.PAYLOAD: { | ||
125 | Payload payload = (Payload) theEObject; | ||
126 | T result = casePayload(payload); | ||
127 | if (result == null) | ||
128 | result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case SatellitePackage.INTERFEROMETRY_PAYLOAD: { | ||
132 | InterferometryPayload interferometryPayload = (InterferometryPayload) theEObject; | ||
133 | T result = caseInterferometryPayload(interferometryPayload); | ||
134 | if (result == null) | ||
135 | result = casePayload(interferometryPayload); | ||
136 | if (result == null) | ||
137 | result = defaultCase(theEObject); | ||
138 | return result; | ||
139 | } | ||
140 | case SatellitePackage.CUBE_SAT3_U: { | ||
141 | CubeSat3U cubeSat3U = (CubeSat3U) theEObject; | ||
142 | T result = caseCubeSat3U(cubeSat3U); | ||
143 | if (result == null) | ||
144 | result = caseCubeSat(cubeSat3U); | ||
145 | if (result == null) | ||
146 | result = caseSpacecraft(cubeSat3U); | ||
147 | if (result == null) | ||
148 | result = caseCommunicatingElement(cubeSat3U); | ||
149 | if (result == null) | ||
150 | result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | case SatellitePackage.CUBE_SAT6_U: { | ||
154 | CubeSat6U cubeSat6U = (CubeSat6U) theEObject; | ||
155 | T result = caseCubeSat6U(cubeSat6U); | ||
156 | if (result == null) | ||
157 | result = caseCubeSat(cubeSat6U); | ||
158 | if (result == null) | ||
159 | result = caseSpacecraft(cubeSat6U); | ||
160 | if (result == null) | ||
161 | result = caseCommunicatingElement(cubeSat6U); | ||
162 | if (result == null) | ||
163 | result = defaultCase(theEObject); | ||
164 | return result; | ||
165 | } | ||
166 | case SatellitePackage.SMALL_SAT: { | ||
167 | SmallSat smallSat = (SmallSat) theEObject; | ||
168 | T result = caseSmallSat(smallSat); | ||
169 | if (result == null) | ||
170 | result = caseSpacecraft(smallSat); | ||
171 | if (result == null) | ||
172 | result = caseCommunicatingElement(smallSat); | ||
173 | if (result == null) | ||
174 | result = defaultCase(theEObject); | ||
175 | return result; | ||
176 | } | ||
177 | case SatellitePackage.CUBE_SAT: { | ||
178 | CubeSat cubeSat = (CubeSat) theEObject; | ||
179 | T result = caseCubeSat(cubeSat); | ||
180 | if (result == null) | ||
181 | result = caseSpacecraft(cubeSat); | ||
182 | if (result == null) | ||
183 | result = caseCommunicatingElement(cubeSat); | ||
184 | if (result == null) | ||
185 | result = defaultCase(theEObject); | ||
186 | return result; | ||
187 | } | ||
188 | default: | ||
189 | return defaultCase(theEObject); | ||
190 | } | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * Returns the result of interpreting the object as an instance of '<em>Constellation Mission</em>'. | ||
195 | * <!-- begin-user-doc --> | ||
196 | * This implementation returns null; | ||
197 | * returning a non-null result will terminate the switch. | ||
198 | * <!-- end-user-doc --> | ||
199 | * @param object the target of the switch. | ||
200 | * @return the result of interpreting the object as an instance of '<em>Constellation Mission</em>'. | ||
201 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
202 | * @generated | ||
203 | */ | ||
204 | public T caseConstellationMission(ConstellationMission object) { | ||
205 | return null; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * Returns the result of interpreting the object as an instance of '<em>Interferometry Mission</em>'. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * This implementation returns null; | ||
212 | * returning a non-null result will terminate the switch. | ||
213 | * <!-- end-user-doc --> | ||
214 | * @param object the target of the switch. | ||
215 | * @return the result of interpreting the object as an instance of '<em>Interferometry Mission</em>'. | ||
216 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
217 | * @generated | ||
218 | */ | ||
219 | public T caseInterferometryMission(InterferometryMission object) { | ||
220 | return null; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * Returns the result of interpreting the object as an instance of '<em>Communicating Element</em>'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * This implementation returns null; | ||
227 | * returning a non-null result will terminate the switch. | ||
228 | * <!-- end-user-doc --> | ||
229 | * @param object the target of the switch. | ||
230 | * @return the result of interpreting the object as an instance of '<em>Communicating Element</em>'. | ||
231 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
232 | * @generated | ||
233 | */ | ||
234 | public T caseCommunicatingElement(CommunicatingElement object) { | ||
235 | return null; | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * Returns the result of interpreting the object as an instance of '<em>Ground Station Network</em>'. | ||
240 | * <!-- begin-user-doc --> | ||
241 | * This implementation returns null; | ||
242 | * returning a non-null result will terminate the switch. | ||
243 | * <!-- end-user-doc --> | ||
244 | * @param object the target of the switch. | ||
245 | * @return the result of interpreting the object as an instance of '<em>Ground Station Network</em>'. | ||
246 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
247 | * @generated | ||
248 | */ | ||
249 | public T caseGroundStationNetwork(GroundStationNetwork object) { | ||
250 | return null; | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * Returns the result of interpreting the object as an instance of '<em>Spacecraft</em>'. | ||
255 | * <!-- begin-user-doc --> | ||
256 | * This implementation returns null; | ||
257 | * returning a non-null result will terminate the switch. | ||
258 | * <!-- end-user-doc --> | ||
259 | * @param object the target of the switch. | ||
260 | * @return the result of interpreting the object as an instance of '<em>Spacecraft</em>'. | ||
261 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
262 | * @generated | ||
263 | */ | ||
264 | public T caseSpacecraft(Spacecraft object) { | ||
265 | return null; | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * Returns the result of interpreting the object as an instance of '<em>Comm Subsystem</em>'. | ||
270 | * <!-- begin-user-doc --> | ||
271 | * This implementation returns null; | ||
272 | * returning a non-null result will terminate the switch. | ||
273 | * <!-- end-user-doc --> | ||
274 | * @param object the target of the switch. | ||
275 | * @return the result of interpreting the object as an instance of '<em>Comm Subsystem</em>'. | ||
276 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
277 | * @generated | ||
278 | */ | ||
279 | public T caseCommSubsystem(CommSubsystem object) { | ||
280 | return null; | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * Returns the result of interpreting the object as an instance of '<em>Directed Communication Link</em>'. | ||
285 | * <!-- begin-user-doc --> | ||
286 | * This implementation returns null; | ||
287 | * returning a non-null result will terminate the switch. | ||
288 | * <!-- end-user-doc --> | ||
289 | * @param object the target of the switch. | ||
290 | * @return the result of interpreting the object as an instance of '<em>Directed Communication Link</em>'. | ||
291 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
292 | * @generated | ||
293 | */ | ||
294 | public T caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
295 | return null; | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * Returns the result of interpreting the object as an instance of '<em>Payload</em>'. | ||
300 | * <!-- begin-user-doc --> | ||
301 | * This implementation returns null; | ||
302 | * returning a non-null result will terminate the switch. | ||
303 | * <!-- end-user-doc --> | ||
304 | * @param object the target of the switch. | ||
305 | * @return the result of interpreting the object as an instance of '<em>Payload</em>'. | ||
306 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
307 | * @generated | ||
308 | */ | ||
309 | public T casePayload(Payload object) { | ||
310 | return null; | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * Returns the result of interpreting the object as an instance of '<em>Interferometry Payload</em>'. | ||
315 | * <!-- begin-user-doc --> | ||
316 | * This implementation returns null; | ||
317 | * returning a non-null result will terminate the switch. | ||
318 | * <!-- end-user-doc --> | ||
319 | * @param object the target of the switch. | ||
320 | * @return the result of interpreting the object as an instance of '<em>Interferometry Payload</em>'. | ||
321 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
322 | * @generated | ||
323 | */ | ||
324 | public T caseInterferometryPayload(InterferometryPayload object) { | ||
325 | return null; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * This implementation returns null; | ||
332 | * returning a non-null result will terminate the switch. | ||
333 | * <!-- end-user-doc --> | ||
334 | * @param object the target of the switch. | ||
335 | * @return the result of interpreting the object as an instance of '<em>Cube Sat3 U</em>'. | ||
336 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
337 | * @generated | ||
338 | */ | ||
339 | public T caseCubeSat3U(CubeSat3U object) { | ||
340 | return null; | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * This implementation returns null; | ||
347 | * returning a non-null result will terminate the switch. | ||
348 | * <!-- end-user-doc --> | ||
349 | * @param object the target of the switch. | ||
350 | * @return the result of interpreting the object as an instance of '<em>Cube Sat6 U</em>'. | ||
351 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
352 | * @generated | ||
353 | */ | ||
354 | public T caseCubeSat6U(CubeSat6U object) { | ||
355 | return null; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * Returns the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
360 | * <!-- begin-user-doc --> | ||
361 | * This implementation returns null; | ||
362 | * returning a non-null result will terminate the switch. | ||
363 | * <!-- end-user-doc --> | ||
364 | * @param object the target of the switch. | ||
365 | * @return the result of interpreting the object as an instance of '<em>Small Sat</em>'. | ||
366 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
367 | * @generated | ||
368 | */ | ||
369 | public T caseSmallSat(SmallSat object) { | ||
370 | return null; | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * Returns the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * This implementation returns null; | ||
377 | * returning a non-null result will terminate the switch. | ||
378 | * <!-- end-user-doc --> | ||
379 | * @param object the target of the switch. | ||
380 | * @return the result of interpreting the object as an instance of '<em>Cube Sat</em>'. | ||
381 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
382 | * @generated | ||
383 | */ | ||
384 | public T caseCubeSat(CubeSat object) { | ||
385 | return null; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
390 | * <!-- begin-user-doc --> | ||
391 | * This implementation returns null; | ||
392 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
393 | * <!-- end-user-doc --> | ||
394 | * @param object the target of the switch. | ||
395 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
396 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
397 | * @generated | ||
398 | */ | ||
399 | @Override | ||
400 | public T defaultCase(EObject object) { | ||
401 | return null; | ||
402 | } | ||
403 | |||
404 | } //SatelliteSwitch | ||
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 | */ |
24 | public interface CommSubsystem extends EObject { | 17 | public 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/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java index ef66dce5..a38926d4 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/CubeSat.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CubeSat.java | |||
@@ -1,6 +1,6 @@ | |||
1 | /** | 1 | /** |
2 | */ | 2 | */ |
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite; | 3 | package satellite; |
4 | 4 | ||
5 | /** | 5 | /** |
6 | * <!-- begin-user-doc --> | 6 | * <!-- begin-user-doc --> |
@@ -8,7 +8,7 @@ package hu.bme.mit.inf.dslreasoner.domains.satellite; | |||
8 | * <!-- end-user-doc --> | 8 | * <!-- end-user-doc --> |
9 | * | 9 | * |
10 | * | 10 | * |
11 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#getCubeSat() | 11 | * @see satellite.SatellitePackage#getCubeSat() |
12 | * @model abstract="true" | 12 | * @model abstract="true" |
13 | * @generated | 13 | * @generated |
14 | */ | 14 | */ |
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 | */ |
15 | public interface CubeSat3U extends Spacecraft { | 15 | public interface CubeSat3U extends CubeSat { |
16 | } // CubeSat3U | 16 | } // CubeSat3U |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/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 | */ |
15 | public interface CubeSat6U extends Spacecraft { | 15 | public interface CubeSat6U extends CubeSat { |
16 | } // CubeSat6U | 16 | } // CubeSat6U |
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/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 | */ | ||
3 | package 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 | */ | ||
15 | public 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 | ||
5 | import org.eclipse.emf.ecore.EAttribute; | 5 | import org.eclipse.emf.ecore.EAttribute; |
6 | import org.eclipse.emf.ecore.EClass; | 6 | import org.eclipse.emf.ecore.EClass; |
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | 7 | import org.eclipse.emf.ecore.EPackage; |
9 | import org.eclipse.emf.ecore.EReference; | 8 | import 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 | */ |
28 | public interface SatellitePackage extends EPackage { | 26 | public 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 | */ | ||
3 | package 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 | */ | ||
15 | public 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 | */ | ||
3 | package 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 | */ | ||
15 | public 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 | */ |
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | 5 | import org.eclipse.emf.ecore.EClass; |
8 | |||
9 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 6 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
11 | |||
12 | import satellite.AntennaGain; | ||
13 | import satellite.CommSubsystem; | 7 | import satellite.CommSubsystem; |
14 | import satellite.SatellitePackage; | 8 | import satellite.SatellitePackage; |
15 | import 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 | */ |
31 | public class CommSubsystemImpl extends MinimalEObjectImpl.Container implements CommSubsystem { | 17 | public 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 | */ |
17 | public class CubeSat3UImpl extends SpacecraftImpl implements CubeSat3U { | 17 | public 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 | */ |
17 | public class CubeSat6UImpl extends SpacecraftImpl implements CubeSat6U { | 17 | public 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/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java index b8e364a3..660bd062 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/CubeSatImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CubeSatImpl.java | |||
@@ -1,12 +1,12 @@ | |||
1 | /** | 1 | /** |
2 | */ | 2 | */ |
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.impl; | 3 | package satellite.impl; |
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat; | ||
6 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
7 | 4 | ||
8 | import org.eclipse.emf.ecore.EClass; | 5 | import org.eclipse.emf.ecore.EClass; |
9 | 6 | ||
7 | import satellite.CubeSat; | ||
8 | import satellite.SatellitePackage; | ||
9 | |||
10 | /** | 10 | /** |
11 | * <!-- begin-user-doc --> | 11 | * <!-- begin-user-doc --> |
12 | * An implementation of the model object '<em><b>Cube Sat</b></em>'. | 12 | * An implementation of the model object '<em><b>Cube Sat</b></em>'. |
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 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.KaCommSubsystem; | ||
8 | import 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 | */ | ||
17 | public 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 @@ | |||
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import org.eclipse.emf.ecore.EClass; | 5 | import org.eclipse.emf.ecore.EClass; |
6 | import org.eclipse.emf.ecore.EDataType; | ||
7 | import org.eclipse.emf.ecore.EObject; | 6 | import org.eclipse.emf.ecore.EObject; |
8 | import org.eclipse.emf.ecore.EPackage; | 7 | import 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 | ||
5 | import org.eclipse.emf.ecore.EAttribute; | 5 | import org.eclipse.emf.ecore.EAttribute; |
6 | import org.eclipse.emf.ecore.EClass; | 6 | import org.eclipse.emf.ecore.EClass; |
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | 7 | import org.eclipse.emf.ecore.EPackage; |
9 | import org.eclipse.emf.ecore.EReference; | 8 | import org.eclipse.emf.ecore.EReference; |
10 | 9 | ||
11 | import org.eclipse.emf.ecore.impl.EPackageImpl; | 10 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
12 | |||
13 | import satellite.AntennaGain; | ||
14 | import satellite.CommSubsystem; | 11 | import satellite.CommSubsystem; |
15 | import satellite.CommunicatingElement; | 12 | import satellite.CommunicatingElement; |
16 | import satellite.ConstellationMission; | 13 | import satellite.ConstellationMission; |
14 | import satellite.CubeSat; | ||
17 | import satellite.CubeSat3U; | 15 | import satellite.CubeSat3U; |
18 | import satellite.CubeSat6U; | 16 | import satellite.CubeSat6U; |
19 | import satellite.DirectedCommunicationLink; | 17 | import satellite.DirectedCommunicationLink; |
20 | import satellite.GroundStationNetwork; | 18 | import satellite.GroundStationNetwork; |
21 | import satellite.InterferometryMission; | 19 | import satellite.InterferometryMission; |
22 | import satellite.InterferometryPayload; | 20 | import satellite.InterferometryPayload; |
21 | import satellite.KaCommSubsystem; | ||
23 | import satellite.Payload; | 22 | import satellite.Payload; |
24 | import satellite.SatelliteFactory; | 23 | import satellite.SatelliteFactory; |
25 | import satellite.SatellitePackage; | 24 | import satellite.SatellitePackage; |
26 | import satellite.SmallSat; | 25 | import satellite.SmallSat; |
27 | import satellite.Spacecraft; | 26 | import satellite.Spacecraft; |
28 | import satellite.SpacecraftKind; | 27 | import satellite.UHFCommSubsystem; |
29 | import satellite.TransceiverBand; | 28 | import 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; | |||
6 | import org.eclipse.emf.common.notify.NotificationChain; | 6 | import org.eclipse.emf.common.notify.NotificationChain; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EStructuralFeature; | ||
10 | import org.eclipse.emf.ecore.InternalEObject; | 9 | import org.eclipse.emf.ecore.InternalEObject; |
11 | 10 | ||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
@@ -14,7 +13,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
14 | import satellite.Payload; | 13 | import satellite.Payload; |
15 | import satellite.SatellitePackage; | 14 | import satellite.SatellitePackage; |
16 | import satellite.Spacecraft; | 15 | import satellite.Spacecraft; |
17 | import 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 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.SatellitePackage; | ||
8 | import 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 | */ | ||
17 | public 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 | */ | ||
3 | package satellite.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import satellite.SatellitePackage; | ||
8 | import 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 | */ | ||
17 | public 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; |