diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java | 589 |
1 files changed, 589 insertions, 0 deletions
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 new file mode 100644 index 00000000..48ba32b8 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/impl/SatellitePackageImpl.java | |||
@@ -0,0 +1,589 @@ | |||
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.DirectedCommunicationLink; | ||
10 | import hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork; | ||
11 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission; | ||
12 | import hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload; | ||
13 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Payload; | ||
14 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatelliteFactory; | ||
15 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage; | ||
16 | import hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft; | ||
17 | import hu.bme.mit.inf.dslreasoner.domains.satellite.SpacecraftKind; | ||
18 | import hu.bme.mit.inf.dslreasoner.domains.satellite.TransceiverBand; | ||
19 | |||
20 | import org.eclipse.emf.ecore.EAttribute; | ||
21 | import org.eclipse.emf.ecore.EClass; | ||
22 | import org.eclipse.emf.ecore.EEnum; | ||
23 | import org.eclipse.emf.ecore.EPackage; | ||
24 | import org.eclipse.emf.ecore.EReference; | ||
25 | |||
26 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model <b>Package</b>. | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | public class SatellitePackageImpl extends EPackageImpl implements SatellitePackage { | ||
35 | /** | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | private EClass constellationMissionEClass = null; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | private EClass interferometryMissionEClass = null; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | private EClass communicatingElementEClass = null; | ||
55 | |||
56 | /** | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @generated | ||
60 | */ | ||
61 | private EClass groundStationNetworkEClass = null; | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | private EClass spacecraftEClass = null; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | private EClass commSubsystemEClass = null; | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | private EClass directedCommunicationLinkEClass = null; | ||
83 | |||
84 | /** | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @generated | ||
88 | */ | ||
89 | private EClass payloadEClass = null; | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | private EClass interferometryPayloadEClass = null; | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | private EEnum transceiverBandEEnum = null; | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | private EEnum antennaGainEEnum = null; | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | private EEnum spacecraftKindEEnum = null; | ||
118 | |||
119 | /** | ||
120 | * Creates an instance of the model <b>Package</b>, registered with | ||
121 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
122 | * package URI value. | ||
123 | * <p>Note: the correct way to create the package is via the static | ||
124 | * factory method {@link #init init()}, which also performs | ||
125 | * initialization of the package, or returns the registered package, | ||
126 | * if one already exists. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
130 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SatellitePackage#eNS_URI | ||
131 | * @see #init() | ||
132 | * @generated | ||
133 | */ | ||
134 | private SatellitePackageImpl() { | ||
135 | super(eNS_URI, SatelliteFactory.eINSTANCE); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | private static boolean isInited = false; | ||
144 | |||
145 | /** | ||
146 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
147 | * | ||
148 | * <p>This method is used to initialize {@link SatellitePackage#eINSTANCE} when that field is accessed. | ||
149 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @see #eNS_URI | ||
153 | * @see #createPackageContents() | ||
154 | * @see #initializePackageContents() | ||
155 | * @generated | ||
156 | */ | ||
157 | public static SatellitePackage init() { | ||
158 | if (isInited) | ||
159 | return (SatellitePackage) EPackage.Registry.INSTANCE.getEPackage(SatellitePackage.eNS_URI); | ||
160 | |||
161 | // Obtain or create and register package | ||
162 | Object registeredSatellitePackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
163 | SatellitePackageImpl theSatellitePackage = registeredSatellitePackage instanceof SatellitePackageImpl | ||
164 | ? (SatellitePackageImpl) registeredSatellitePackage | ||
165 | : new SatellitePackageImpl(); | ||
166 | |||
167 | isInited = true; | ||
168 | |||
169 | // Create package meta-data objects | ||
170 | theSatellitePackage.createPackageContents(); | ||
171 | |||
172 | // Initialize created meta-data | ||
173 | theSatellitePackage.initializePackageContents(); | ||
174 | |||
175 | // Mark meta-data to indicate it can't be changed | ||
176 | theSatellitePackage.freeze(); | ||
177 | |||
178 | // Update the registry and return the package | ||
179 | EPackage.Registry.INSTANCE.put(SatellitePackage.eNS_URI, theSatellitePackage); | ||
180 | return theSatellitePackage; | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @generated | ||
187 | */ | ||
188 | @Override | ||
189 | public EClass getConstellationMission() { | ||
190 | return constellationMissionEClass; | ||
191 | } | ||
192 | |||
193 | /** | ||
194 | * <!-- begin-user-doc --> | ||
195 | * <!-- end-user-doc --> | ||
196 | * @generated | ||
197 | */ | ||
198 | @Override | ||
199 | public EReference getConstellationMission_GroundStationNetwork() { | ||
200 | return (EReference) constellationMissionEClass.getEStructuralFeatures().get(0); | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * <!-- begin-user-doc --> | ||
205 | * <!-- end-user-doc --> | ||
206 | * @generated | ||
207 | */ | ||
208 | @Override | ||
209 | public EReference getConstellationMission_Spacecraft() { | ||
210 | return (EReference) constellationMissionEClass.getEStructuralFeatures().get(1); | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * <!-- begin-user-doc --> | ||
215 | * <!-- end-user-doc --> | ||
216 | * @generated | ||
217 | */ | ||
218 | @Override | ||
219 | public EClass getInterferometryMission() { | ||
220 | return interferometryMissionEClass; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * <!-- begin-user-doc --> | ||
225 | * <!-- end-user-doc --> | ||
226 | * @generated | ||
227 | */ | ||
228 | @Override | ||
229 | public EAttribute getInterferometryMission_ObservationTime() { | ||
230 | return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0); | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @generated | ||
237 | */ | ||
238 | @Override | ||
239 | public EClass getCommunicatingElement() { | ||
240 | return communicatingElementEClass; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * <!-- begin-user-doc --> | ||
245 | * <!-- end-user-doc --> | ||
246 | * @generated | ||
247 | */ | ||
248 | @Override | ||
249 | public EReference getCommunicatingElement_CommSubsystem() { | ||
250 | return (EReference) communicatingElementEClass.getEStructuralFeatures().get(0); | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | @Override | ||
259 | public EReference getCommunicatingElement_CommunicationLink() { | ||
260 | return (EReference) communicatingElementEClass.getEStructuralFeatures().get(1); | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public EClass getGroundStationNetwork() { | ||
270 | return groundStationNetworkEClass; | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * <!-- begin-user-doc --> | ||
275 | * <!-- end-user-doc --> | ||
276 | * @generated | ||
277 | */ | ||
278 | @Override | ||
279 | public EClass getSpacecraft() { | ||
280 | return spacecraftEClass; | ||
281 | } | ||
282 | |||
283 | /** | ||
284 | * <!-- begin-user-doc --> | ||
285 | * <!-- end-user-doc --> | ||
286 | * @generated | ||
287 | */ | ||
288 | @Override | ||
289 | public EReference getSpacecraft_Payload() { | ||
290 | return (EReference) spacecraftEClass.getEStructuralFeatures().get(0); | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public EAttribute getSpacecraft_Kind() { | ||
300 | return (EAttribute) spacecraftEClass.getEStructuralFeatures().get(1); | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * <!-- begin-user-doc --> | ||
305 | * <!-- end-user-doc --> | ||
306 | * @generated | ||
307 | */ | ||
308 | @Override | ||
309 | public EClass getCommSubsystem() { | ||
310 | return commSubsystemEClass; | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @generated | ||
317 | */ | ||
318 | @Override | ||
319 | public EAttribute getCommSubsystem_Band() { | ||
320 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(0); | ||
321 | } | ||
322 | |||
323 | /** | ||
324 | * <!-- begin-user-doc --> | ||
325 | * <!-- end-user-doc --> | ||
326 | * @generated | ||
327 | */ | ||
328 | @Override | ||
329 | public EAttribute getCommSubsystem_Gain() { | ||
330 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(1); | ||
331 | } | ||
332 | |||
333 | /** | ||
334 | * <!-- begin-user-doc --> | ||
335 | * <!-- end-user-doc --> | ||
336 | * @generated | ||
337 | */ | ||
338 | @Override | ||
339 | public EClass getDirectedCommunicationLink() { | ||
340 | return directedCommunicationLinkEClass; | ||
341 | } | ||
342 | |||
343 | /** | ||
344 | * <!-- begin-user-doc --> | ||
345 | * <!-- end-user-doc --> | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public EReference getDirectedCommunicationLink_Source() { | ||
350 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(0); | ||
351 | } | ||
352 | |||
353 | /** | ||
354 | * <!-- begin-user-doc --> | ||
355 | * <!-- end-user-doc --> | ||
356 | * @generated | ||
357 | */ | ||
358 | @Override | ||
359 | public EReference getDirectedCommunicationLink_Target() { | ||
360 | return (EReference) directedCommunicationLinkEClass.getEStructuralFeatures().get(1); | ||
361 | } | ||
362 | |||
363 | /** | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | */ | ||
368 | @Override | ||
369 | public EClass getPayload() { | ||
370 | return payloadEClass; | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @generated | ||
377 | */ | ||
378 | @Override | ||
379 | public EClass getInterferometryPayload() { | ||
380 | return interferometryPayloadEClass; | ||
381 | } | ||
382 | |||
383 | /** | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | @Override | ||
389 | public EEnum getTransceiverBand() { | ||
390 | return transceiverBandEEnum; | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | @Override | ||
399 | public EEnum getAntennaGain() { | ||
400 | return antennaGainEEnum; | ||
401 | } | ||
402 | |||
403 | /** | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | */ | ||
408 | @Override | ||
409 | public EEnum getSpacecraftKind() { | ||
410 | return spacecraftKindEEnum; | ||
411 | } | ||
412 | |||
413 | /** | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @generated | ||
417 | */ | ||
418 | @Override | ||
419 | public SatelliteFactory getSatelliteFactory() { | ||
420 | return (SatelliteFactory) getEFactoryInstance(); | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * <!-- begin-user-doc --> | ||
425 | * <!-- end-user-doc --> | ||
426 | * @generated | ||
427 | */ | ||
428 | private boolean isCreated = false; | ||
429 | |||
430 | /** | ||
431 | * Creates the meta-model objects for the package. This method is | ||
432 | * guarded to have no affect on any invocation but its first. | ||
433 | * <!-- begin-user-doc --> | ||
434 | * <!-- end-user-doc --> | ||
435 | * @generated | ||
436 | */ | ||
437 | public void createPackageContents() { | ||
438 | if (isCreated) | ||
439 | return; | ||
440 | isCreated = true; | ||
441 | |||
442 | // Create classes and their features | ||
443 | constellationMissionEClass = createEClass(CONSTELLATION_MISSION); | ||
444 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__GROUND_STATION_NETWORK); | ||
445 | createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); | ||
446 | |||
447 | interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); | ||
448 | createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME); | ||
449 | |||
450 | communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); | ||
451 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); | ||
452 | createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMMUNICATION_LINK); | ||
453 | |||
454 | groundStationNetworkEClass = createEClass(GROUND_STATION_NETWORK); | ||
455 | |||
456 | spacecraftEClass = createEClass(SPACECRAFT); | ||
457 | createEReference(spacecraftEClass, SPACECRAFT__PAYLOAD); | ||
458 | createEAttribute(spacecraftEClass, SPACECRAFT__KIND); | ||
459 | |||
460 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | ||
461 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__BAND); | ||
462 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__GAIN); | ||
463 | |||
464 | directedCommunicationLinkEClass = createEClass(DIRECTED_COMMUNICATION_LINK); | ||
465 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__SOURCE); | ||
466 | createEReference(directedCommunicationLinkEClass, DIRECTED_COMMUNICATION_LINK__TARGET); | ||
467 | |||
468 | payloadEClass = createEClass(PAYLOAD); | ||
469 | |||
470 | interferometryPayloadEClass = createEClass(INTERFEROMETRY_PAYLOAD); | ||
471 | |||
472 | // Create enums | ||
473 | transceiverBandEEnum = createEEnum(TRANSCEIVER_BAND); | ||
474 | antennaGainEEnum = createEEnum(ANTENNA_GAIN); | ||
475 | spacecraftKindEEnum = createEEnum(SPACECRAFT_KIND); | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * <!-- begin-user-doc --> | ||
480 | * <!-- end-user-doc --> | ||
481 | * @generated | ||
482 | */ | ||
483 | private boolean isInitialized = false; | ||
484 | |||
485 | /** | ||
486 | * Complete the initialization of the package and its meta-model. This | ||
487 | * method is guarded to have no affect on any invocation but its first. | ||
488 | * <!-- begin-user-doc --> | ||
489 | * <!-- end-user-doc --> | ||
490 | * @generated | ||
491 | */ | ||
492 | public void initializePackageContents() { | ||
493 | if (isInitialized) | ||
494 | return; | ||
495 | isInitialized = true; | ||
496 | |||
497 | // Initialize package | ||
498 | setName(eNAME); | ||
499 | setNsPrefix(eNS_PREFIX); | ||
500 | setNsURI(eNS_URI); | ||
501 | |||
502 | // Create type parameters | ||
503 | |||
504 | // Set bounds for type parameters | ||
505 | |||
506 | // Add supertypes to classes | ||
507 | interferometryMissionEClass.getESuperTypes().add(this.getConstellationMission()); | ||
508 | groundStationNetworkEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
509 | spacecraftEClass.getESuperTypes().add(this.getCommunicatingElement()); | ||
510 | interferometryPayloadEClass.getESuperTypes().add(this.getPayload()); | ||
511 | |||
512 | // Initialize classes, features, and operations; add parameters | ||
513 | initEClass(constellationMissionEClass, ConstellationMission.class, "ConstellationMission", IS_ABSTRACT, | ||
514 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
515 | initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null, | ||
516 | "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, | ||
517 | IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
518 | initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50, | ||
519 | ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | ||
520 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
521 | |||
522 | initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, | ||
523 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
524 | initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0", | ||
525 | 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, | ||
526 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
527 | |||
528 | initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, | ||
529 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
530 | initEReference(getCommunicatingElement_CommSubsystem(), this.getCommSubsystem(), null, "commSubsystem", null, 1, | ||
531 | 2, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, | ||
532 | !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
533 | initEReference(getCommunicatingElement_CommunicationLink(), this.getDirectedCommunicationLink(), null, | ||
534 | "communicationLink", null, 0, 1, CommunicatingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, | ||
535 | IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
536 | |||
537 | initEClass(groundStationNetworkEClass, GroundStationNetwork.class, "GroundStationNetwork", !IS_ABSTRACT, | ||
538 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
539 | |||
540 | initEClass(spacecraftEClass, Spacecraft.class, "Spacecraft", IS_ABSTRACT, !IS_INTERFACE, | ||
541 | IS_GENERATED_INSTANCE_CLASS); | ||
542 | initEReference(getSpacecraft_Payload(), this.getPayload(), null, "payload", null, 0, 1, Spacecraft.class, | ||
543 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, | ||
544 | IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
545 | initEAttribute(getSpacecraft_Kind(), this.getSpacecraftKind(), "kind", null, 1, 1, Spacecraft.class, | ||
546 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
547 | |||
548 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", !IS_ABSTRACT, !IS_INTERFACE, | ||
549 | IS_GENERATED_INSTANCE_CLASS); | ||
550 | initEAttribute(getCommSubsystem_Band(), this.getTransceiverBand(), "band", null, 1, 1, CommSubsystem.class, | ||
551 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
552 | initEAttribute(getCommSubsystem_Gain(), this.getAntennaGain(), "gain", null, 1, 1, CommSubsystem.class, | ||
553 | !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
554 | |||
555 | initEClass(directedCommunicationLinkEClass, DirectedCommunicationLink.class, "DirectedCommunicationLink", | ||
556 | !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
557 | initEReference(getDirectedCommunicationLink_Source(), this.getCommSubsystem(), null, "source", null, 1, 1, | ||
558 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
559 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
560 | initEReference(getDirectedCommunicationLink_Target(), this.getCommSubsystem(), null, "target", null, 1, 1, | ||
561 | DirectedCommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, | ||
562 | IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
563 | |||
564 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
565 | |||
566 | initEClass(interferometryPayloadEClass, InterferometryPayload.class, "InterferometryPayload", !IS_ABSTRACT, | ||
567 | !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
568 | |||
569 | // Initialize enums and add enum literals | ||
570 | initEEnum(transceiverBandEEnum, TransceiverBand.class, "TransceiverBand"); | ||
571 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.UHF); | ||
572 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.X); | ||
573 | addEEnumLiteral(transceiverBandEEnum, TransceiverBand.KA); | ||
574 | |||
575 | initEEnum(antennaGainEEnum, AntennaGain.class, "AntennaGain"); | ||
576 | addEEnumLiteral(antennaGainEEnum, AntennaGain.LOW); | ||
577 | addEEnumLiteral(antennaGainEEnum, AntennaGain.MEDIUM); | ||
578 | addEEnumLiteral(antennaGainEEnum, AntennaGain.HIGH); | ||
579 | |||
580 | initEEnum(spacecraftKindEEnum, SpacecraftKind.class, "SpacecraftKind"); | ||
581 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT3_U); | ||
582 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.CUBE_SAT6_U); | ||
583 | addEEnumLiteral(spacecraftKindEEnum, SpacecraftKind.SMALL_SAT); | ||
584 | |||
585 | // Create resource | ||
586 | createResource(eNS_URI); | ||
587 | } | ||
588 | |||
589 | } //SatellitePackageImpl | ||