diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util')
2 files changed, 178 insertions, 0 deletions
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; |