diff options
Diffstat (limited to 'Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java')
-rw-r--r-- | Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java b/Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java index 52d251e0..9ef288f0 100644 --- a/Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java +++ b/Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java | |||
@@ -5,14 +5,8 @@ package crossingScenario.impl; | |||
5 | import crossingScenario.Actor; | 5 | import crossingScenario.Actor; |
6 | import crossingScenario.CrossingScenarioPackage; | 6 | import crossingScenario.CrossingScenarioPackage; |
7 | import crossingScenario.Lane; | 7 | import crossingScenario.Lane; |
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notification; | 8 | import org.eclipse.emf.common.notify.Notification; |
12 | import org.eclipse.emf.common.notify.NotificationChain; | 9 | import org.eclipse.emf.common.notify.NotificationChain; |
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | 10 | import org.eclipse.emf.ecore.EClass; |
17 | import org.eclipse.emf.ecore.InternalEObject; | 11 | import org.eclipse.emf.ecore.InternalEObject; |
18 | 12 | ||
@@ -34,9 +28,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | |||
34 | * <li>{@link crossingScenario.impl.ActorImpl#getXSpeed <em>XSpeed</em>}</li> | 28 | * <li>{@link crossingScenario.impl.ActorImpl#getXSpeed <em>XSpeed</em>}</li> |
35 | * <li>{@link crossingScenario.impl.ActorImpl#getPlacedOn <em>Placed On</em>}</li> | 29 | * <li>{@link crossingScenario.impl.ActorImpl#getPlacedOn <em>Placed On</em>}</li> |
36 | * <li>{@link crossingScenario.impl.ActorImpl#getYSpeed <em>YSpeed</em>}</li> | 30 | * <li>{@link crossingScenario.impl.ActorImpl#getYSpeed <em>YSpeed</em>}</li> |
37 | * <li>{@link crossingScenario.impl.ActorImpl#getDist_near <em>Dist near</em>}</li> | ||
38 | * <li>{@link crossingScenario.impl.ActorImpl#getDist_med <em>Dist med</em>}</li> | ||
39 | * <li>{@link crossingScenario.impl.ActorImpl#getDist_far <em>Dist far</em>}</li> | ||
40 | * </ul> | 31 | * </ul> |
41 | * | 32 | * |
42 | * @generated | 33 | * @generated |
@@ -397,48 +388,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements | |||
397 | * @generated | 388 | * @generated |
398 | */ | 389 | */ |
399 | @Override | 390 | @Override |
400 | public EList<Actor> getDist_near() { | ||
401 | // TODO: implement this method to return the 'Dist near' reference list | ||
402 | // Ensure that you remove @generated or mark it @generated NOT | ||
403 | // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting | ||
404 | // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. | ||
405 | throw new UnsupportedOperationException(); | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * <!-- begin-user-doc --> | ||
410 | * <!-- end-user-doc --> | ||
411 | * @generated | ||
412 | */ | ||
413 | @Override | ||
414 | public EList<Actor> getDist_med() { | ||
415 | // TODO: implement this method to return the 'Dist med' reference list | ||
416 | // Ensure that you remove @generated or mark it @generated NOT | ||
417 | // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting | ||
418 | // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. | ||
419 | throw new UnsupportedOperationException(); | ||
420 | } | ||
421 | |||
422 | /** | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | */ | ||
427 | @Override | ||
428 | public EList<Actor> getDist_far() { | ||
429 | // TODO: implement this method to return the 'Dist far' reference list | ||
430 | // Ensure that you remove @generated or mark it @generated NOT | ||
431 | // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting | ||
432 | // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. | ||
433 | throw new UnsupportedOperationException(); | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * <!-- begin-user-doc --> | ||
438 | * <!-- end-user-doc --> | ||
439 | * @generated | ||
440 | */ | ||
441 | @Override | ||
442 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 391 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
443 | switch (featureID) { | 392 | switch (featureID) { |
444 | case CrossingScenarioPackage.ACTOR__PLACED_ON: | 393 | case CrossingScenarioPackage.ACTOR__PLACED_ON: |
@@ -486,12 +435,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements | |||
486 | return basicGetPlacedOn(); | 435 | return basicGetPlacedOn(); |
487 | case CrossingScenarioPackage.ACTOR__YSPEED: | 436 | case CrossingScenarioPackage.ACTOR__YSPEED: |
488 | return getYSpeed(); | 437 | return getYSpeed(); |
489 | case CrossingScenarioPackage.ACTOR__DIST_NEAR: | ||
490 | return getDist_near(); | ||
491 | case CrossingScenarioPackage.ACTOR__DIST_MED: | ||
492 | return getDist_med(); | ||
493 | case CrossingScenarioPackage.ACTOR__DIST_FAR: | ||
494 | return getDist_far(); | ||
495 | } | 438 | } |
496 | return super.eGet(featureID, resolve, coreType); | 439 | return super.eGet(featureID, resolve, coreType); |
497 | } | 440 | } |
@@ -526,18 +469,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements | |||
526 | case CrossingScenarioPackage.ACTOR__YSPEED: | 469 | case CrossingScenarioPackage.ACTOR__YSPEED: |
527 | setYSpeed((Double)newValue); | 470 | setYSpeed((Double)newValue); |
528 | return; | 471 | return; |
529 | case CrossingScenarioPackage.ACTOR__DIST_NEAR: | ||
530 | getDist_near().clear(); | ||
531 | getDist_near().addAll((Collection<? extends Actor>)newValue); | ||
532 | return; | ||
533 | case CrossingScenarioPackage.ACTOR__DIST_MED: | ||
534 | getDist_med().clear(); | ||
535 | getDist_med().addAll((Collection<? extends Actor>)newValue); | ||
536 | return; | ||
537 | case CrossingScenarioPackage.ACTOR__DIST_FAR: | ||
538 | getDist_far().clear(); | ||
539 | getDist_far().addAll((Collection<? extends Actor>)newValue); | ||
540 | return; | ||
541 | } | 472 | } |
542 | super.eSet(featureID, newValue); | 473 | super.eSet(featureID, newValue); |
543 | } | 474 | } |
@@ -571,15 +502,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements | |||
571 | case CrossingScenarioPackage.ACTOR__YSPEED: | 502 | case CrossingScenarioPackage.ACTOR__YSPEED: |
572 | setYSpeed(YSPEED_EDEFAULT); | 503 | setYSpeed(YSPEED_EDEFAULT); |
573 | return; | 504 | return; |
574 | case CrossingScenarioPackage.ACTOR__DIST_NEAR: | ||
575 | getDist_near().clear(); | ||
576 | return; | ||
577 | case CrossingScenarioPackage.ACTOR__DIST_MED: | ||
578 | getDist_med().clear(); | ||
579 | return; | ||
580 | case CrossingScenarioPackage.ACTOR__DIST_FAR: | ||
581 | getDist_far().clear(); | ||
582 | return; | ||
583 | } | 505 | } |
584 | super.eUnset(featureID); | 506 | super.eUnset(featureID); |
585 | } | 507 | } |
@@ -606,12 +528,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements | |||
606 | return placedOn != null; | 528 | return placedOn != null; |
607 | case CrossingScenarioPackage.ACTOR__YSPEED: | 529 | case CrossingScenarioPackage.ACTOR__YSPEED: |
608 | return ySpeed != YSPEED_EDEFAULT; | 530 | return ySpeed != YSPEED_EDEFAULT; |
609 | case CrossingScenarioPackage.ACTOR__DIST_NEAR: | ||
610 | return !getDist_near().isEmpty(); | ||
611 | case CrossingScenarioPackage.ACTOR__DIST_MED: | ||
612 | return !getDist_med().isEmpty(); | ||
613 | case CrossingScenarioPackage.ACTOR__DIST_FAR: | ||
614 | return !getDist_far().isEmpty(); | ||
615 | } | 531 | } |
616 | return super.eIsSet(featureID); | 532 | return super.eIsSet(featureID); |
617 | } | 533 | } |