diff options
author | 2019-05-06 18:42:22 -0400 | |
---|---|---|
committer | 2019-05-06 18:42:22 -0400 | |
commit | 09b1255f11ee17828da706f682e33f50316887fe (patch) | |
tree | f3783961c521b73201a9d079be78feb26e8a285c /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java | |
parent | Merge remote-tracking branch 'origin/master' into kris (diff) | |
download | VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.gz VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.zst VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.zip |
Trying to implement spacecraft case study
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteSwitch.java | 108 |
1 files changed, 108 insertions, 0 deletions
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 index e78a1cd2..08180b64 100644 --- 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 | |||
@@ -137,6 +137,54 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
137 | result = defaultCase(theEObject); | 137 | result = defaultCase(theEObject); |
138 | return result; | 138 | return result; |
139 | } | 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 | } | ||
140 | default: | 188 | default: |
141 | return defaultCase(theEObject); | 189 | return defaultCase(theEObject); |
142 | } | 190 | } |
@@ -278,6 +326,66 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
278 | } | 326 | } |
279 | 327 | ||
280 | /** | 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 | /** | ||
281 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 389 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
282 | * <!-- begin-user-doc --> | 390 | * <!-- begin-user-doc --> |
283 | * This implementation returns null; | 391 | * This implementation returns null; |