diff options
Diffstat (limited to 'Domains/crossingScenario/ecore-gen/crossingScenario/util')
2 files changed, 80 insertions, 0 deletions
diff --git a/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioAdapterFactory.java b/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioAdapterFactory.java index 0035a0ee..129432db 100644 --- a/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioAdapterFactory.java +++ b/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioAdapterFactory.java | |||
@@ -116,6 +116,14 @@ public class CrossingScenarioAdapterFactory extends AdapterFactoryImpl { | |||
116 | return createVehicleAdapter(); | 116 | return createVehicleAdapter(); |
117 | } | 117 | } |
118 | @Override | 118 | @Override |
119 | public Adapter caseLane_Horizontal(Lane_Horizontal object) { | ||
120 | return createLane_HorizontalAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseLane_Vertical(Lane_Vertical object) { | ||
124 | return createLane_VerticalAdapter(); | ||
125 | } | ||
126 | @Override | ||
119 | public Adapter defaultCase(EObject object) { | 127 | public Adapter defaultCase(EObject object) { |
120 | return createEObjectAdapter(); | 128 | return createEObjectAdapter(); |
121 | } | 129 | } |
@@ -304,6 +312,34 @@ public class CrossingScenarioAdapterFactory extends AdapterFactoryImpl { | |||
304 | } | 312 | } |
305 | 313 | ||
306 | /** | 314 | /** |
315 | * Creates a new adapter for an object of class '{@link crossingScenario.Lane_Horizontal <em>Lane Horizontal</em>}'. | ||
316 | * <!-- begin-user-doc --> | ||
317 | * This default implementation returns null so that we can easily ignore cases; | ||
318 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
319 | * <!-- end-user-doc --> | ||
320 | * @return the new adapter. | ||
321 | * @see crossingScenario.Lane_Horizontal | ||
322 | * @generated | ||
323 | */ | ||
324 | public Adapter createLane_HorizontalAdapter() { | ||
325 | return null; | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * Creates a new adapter for an object of class '{@link crossingScenario.Lane_Vertical <em>Lane Vertical</em>}'. | ||
330 | * <!-- begin-user-doc --> | ||
331 | * This default implementation returns null so that we can easily ignore cases; | ||
332 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
333 | * <!-- end-user-doc --> | ||
334 | * @return the new adapter. | ||
335 | * @see crossingScenario.Lane_Vertical | ||
336 | * @generated | ||
337 | */ | ||
338 | public Adapter createLane_VerticalAdapter() { | ||
339 | return null; | ||
340 | } | ||
341 | |||
342 | /** | ||
307 | * Creates a new adapter for the default case. | 343 | * Creates a new adapter for the default case. |
308 | * <!-- begin-user-doc --> | 344 | * <!-- begin-user-doc --> |
309 | * This default implementation returns null. | 345 | * This default implementation returns null. |
diff --git a/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioSwitch.java b/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioSwitch.java index b14a5c24..e07b7693 100644 --- a/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioSwitch.java +++ b/Domains/crossingScenario/ecore-gen/crossingScenario/util/CrossingScenarioSwitch.java | |||
@@ -150,6 +150,20 @@ public class CrossingScenarioSwitch<T> extends Switch<T> { | |||
150 | if (result == null) result = defaultCase(theEObject); | 150 | if (result == null) result = defaultCase(theEObject); |
151 | return result; | 151 | return result; |
152 | } | 152 | } |
153 | case CrossingScenarioPackage.LANE_HORIZONTAL: { | ||
154 | Lane_Horizontal lane_Horizontal = (Lane_Horizontal)theEObject; | ||
155 | T result = caseLane_Horizontal(lane_Horizontal); | ||
156 | if (result == null) result = caseLane(lane_Horizontal); | ||
157 | if (result == null) result = defaultCase(theEObject); | ||
158 | return result; | ||
159 | } | ||
160 | case CrossingScenarioPackage.LANE_VERTICAL: { | ||
161 | Lane_Vertical lane_Vertical = (Lane_Vertical)theEObject; | ||
162 | T result = caseLane_Vertical(lane_Vertical); | ||
163 | if (result == null) result = caseLane(lane_Vertical); | ||
164 | if (result == null) result = defaultCase(theEObject); | ||
165 | return result; | ||
166 | } | ||
153 | default: return defaultCase(theEObject); | 167 | default: return defaultCase(theEObject); |
154 | } | 168 | } |
155 | } | 169 | } |
@@ -335,6 +349,36 @@ public class CrossingScenarioSwitch<T> extends Switch<T> { | |||
335 | } | 349 | } |
336 | 350 | ||
337 | /** | 351 | /** |
352 | * Returns the result of interpreting the object as an instance of '<em>Lane Horizontal</em>'. | ||
353 | * <!-- begin-user-doc --> | ||
354 | * This implementation returns null; | ||
355 | * returning a non-null result will terminate the switch. | ||
356 | * <!-- end-user-doc --> | ||
357 | * @param object the target of the switch. | ||
358 | * @return the result of interpreting the object as an instance of '<em>Lane Horizontal</em>'. | ||
359 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
360 | * @generated | ||
361 | */ | ||
362 | public T caseLane_Horizontal(Lane_Horizontal object) { | ||
363 | return null; | ||
364 | } | ||
365 | |||
366 | /** | ||
367 | * Returns the result of interpreting the object as an instance of '<em>Lane Vertical</em>'. | ||
368 | * <!-- begin-user-doc --> | ||
369 | * This implementation returns null; | ||
370 | * returning a non-null result will terminate the switch. | ||
371 | * <!-- end-user-doc --> | ||
372 | * @param object the target of the switch. | ||
373 | * @return the result of interpreting the object as an instance of '<em>Lane Vertical</em>'. | ||
374 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
375 | * @generated | ||
376 | */ | ||
377 | public T caseLane_Vertical(Lane_Vertical object) { | ||
378 | return null; | ||
379 | } | ||
380 | |||
381 | /** | ||
338 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | 382 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
339 | * <!-- begin-user-doc --> | 383 | * <!-- begin-user-doc --> |
340 | * This implementation returns null; | 384 | * This implementation returns null; |