aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-05-07 11:54:19 -0400
committerLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-05-07 11:54:19 -0400
commit436ec038c24c42e615feb22a0fed029494bc74ea (patch)
treef3783961c521b73201a9d079be78feb26e8a285c /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util
parentTry to restructure satellite case study (diff)
downloadVIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.tar.gz
VIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.tar.zst
VIATRA-Generator-436ec038c24c42e615feb22a0fed029494bc74ea.zip
Revert "Try to restructure satellite case study"
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java19
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteSwitch.java30
2 files changed, 0 insertions, 49 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 f71d8da5..1ecf7b19 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,11 +127,6 @@ 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 defaultCase(EObject object) { 130 public Adapter defaultCase(EObject object) {
136 return createEObjectAdapter(); 131 return createEObjectAdapter();
137 } 132 }
@@ -319,20 +314,6 @@ public class SatelliteAdapterFactory extends AdapterFactoryImpl {
319 } 314 }
320 315
321 /** 316 /**
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 /**
336 * Creates a new adapter for the default case. 317 * Creates a new adapter for the default case.
337 * <!-- begin-user-doc --> 318 * <!-- begin-user-doc -->
338 * This default implementation returns null. 319 * 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 1e2fb04b..3eb78d75 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,8 +141,6 @@ 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)
146 result = caseSpacecraft(cubeSat3U); 144 result = caseSpacecraft(cubeSat3U);
147 if (result == null) 145 if (result == null)
148 result = caseCommunicatingElement(cubeSat3U); 146 result = caseCommunicatingElement(cubeSat3U);
@@ -154,8 +152,6 @@ public class SatelliteSwitch<T> extends Switch<T> {
154 CubeSat6U cubeSat6U = (CubeSat6U) theEObject; 152 CubeSat6U cubeSat6U = (CubeSat6U) theEObject;
155 T result = caseCubeSat6U(cubeSat6U); 153 T result = caseCubeSat6U(cubeSat6U);
156 if (result == null) 154 if (result == null)
157 result = caseCubeSat(cubeSat6U);
158 if (result == null)
159 result = caseSpacecraft(cubeSat6U); 155 result = caseSpacecraft(cubeSat6U);
160 if (result == null) 156 if (result == null)
161 result = caseCommunicatingElement(cubeSat6U); 157 result = caseCommunicatingElement(cubeSat6U);
@@ -174,17 +170,6 @@ public class SatelliteSwitch<T> extends Switch<T> {
174 result = defaultCase(theEObject); 170 result = defaultCase(theEObject);
175 return result; 171 return result;
176 } 172 }
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 default: 173 default:
189 return defaultCase(theEObject); 174 return defaultCase(theEObject);
190 } 175 }
@@ -371,21 +356,6 @@ public class SatelliteSwitch<T> extends Switch<T> {
371 } 356 }
372 357
373 /** 358 /**
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 /**
389 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. 359 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
390 * <!-- begin-user-doc --> 360 * <!-- begin-user-doc -->
391 * This implementation returns null; 361 * This implementation returns null;