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