diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util')
2 files changed, 49 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..f71d8da5 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,11 @@ 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 | ||
130 | public Adapter defaultCase(EObject object) { | 135 | public Adapter defaultCase(EObject object) { |
131 | return createEObjectAdapter(); | 136 | return createEObjectAdapter(); |
132 | } | 137 | } |
@@ -314,6 +319,20 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl { | |||
314 | } | 319 | } |
315 | 320 | ||
316 | /** | 321 | /** |
322 | * Creates a new adapter for an object of class '{@link 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 satellite.CubeSat | ||
329 | * @generated | ||
330 | */ | ||
331 | public Adapter createCubeSatAdapter() { | ||
332 | return null; | ||
333 | } | ||
334 | |||
335 | /** | ||
317 | * Creates a new adapter for the default case. | 336 | * Creates a new adapter for the default case. |
318 | * <!-- begin-user-doc --> | 337 | * <!-- begin-user-doc --> |
319 | * This default implementation returns null. | 338 | * 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..1e2fb04b 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,17 @@ 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 | } | ||
173 | default: | 188 | default: |
174 | return defaultCase(theEObject); | 189 | return defaultCase(theEObject); |
175 | } | 190 | } |
@@ -356,6 +371,21 @@ public class SatelliteSwitch<T> extends Switch<T> { | |||
356 | } | 371 | } |
357 | 372 | ||
358 | /** | 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 | /** | ||
359 | * 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>'. |
360 | * <!-- begin-user-doc --> | 390 | * <!-- begin-user-doc --> |
361 | * This implementation returns null; | 391 | * This implementation returns null; |