diff options
Diffstat (limited to 'Domains/crossingScenario/ecore-gen/crossingScenario/impl')
-rw-r--r-- | Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java | 84 | ||||
-rw-r--r-- | Domains/crossingScenario/ecore-gen/crossingScenario/impl/CrossingScenarioPackageImpl.java | 36 |
2 files changed, 0 insertions, 120 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 | } |
diff --git a/Domains/crossingScenario/ecore-gen/crossingScenario/impl/CrossingScenarioPackageImpl.java b/Domains/crossingScenario/ecore-gen/crossingScenario/impl/CrossingScenarioPackageImpl.java index 7f8f7357..887e02fe 100644 --- a/Domains/crossingScenario/ecore-gen/crossingScenario/impl/CrossingScenarioPackageImpl.java +++ b/Domains/crossingScenario/ecore-gen/crossingScenario/impl/CrossingScenarioPackageImpl.java | |||
@@ -366,36 +366,6 @@ public class CrossingScenarioPackageImpl extends EPackageImpl implements Crossin | |||
366 | * @generated | 366 | * @generated |
367 | */ | 367 | */ |
368 | @Override | 368 | @Override |
369 | public EReference getActor_Dist_near() { | ||
370 | return (EReference)actorEClass.getEStructuralFeatures().get(7); | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * <!-- begin-user-doc --> | ||
375 | * <!-- end-user-doc --> | ||
376 | * @generated | ||
377 | */ | ||
378 | @Override | ||
379 | public EReference getActor_Dist_med() { | ||
380 | return (EReference)actorEClass.getEStructuralFeatures().get(8); | ||
381 | } | ||
382 | |||
383 | /** | ||
384 | * <!-- begin-user-doc --> | ||
385 | * <!-- end-user-doc --> | ||
386 | * @generated | ||
387 | */ | ||
388 | @Override | ||
389 | public EReference getActor_Dist_far() { | ||
390 | return (EReference)actorEClass.getEStructuralFeatures().get(9); | ||
391 | } | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | @Override | ||
399 | public EClass getRelation() { | 369 | public EClass getRelation() { |
400 | return relationEClass; | 370 | return relationEClass; |
401 | } | 371 | } |
@@ -551,9 +521,6 @@ public class CrossingScenarioPackageImpl extends EPackageImpl implements Crossin | |||
551 | createEAttribute(actorEClass, ACTOR__XSPEED); | 521 | createEAttribute(actorEClass, ACTOR__XSPEED); |
552 | createEReference(actorEClass, ACTOR__PLACED_ON); | 522 | createEReference(actorEClass, ACTOR__PLACED_ON); |
553 | createEAttribute(actorEClass, ACTOR__YSPEED); | 523 | createEAttribute(actorEClass, ACTOR__YSPEED); |
554 | createEReference(actorEClass, ACTOR__DIST_NEAR); | ||
555 | createEReference(actorEClass, ACTOR__DIST_MED); | ||
556 | createEReference(actorEClass, ACTOR__DIST_FAR); | ||
557 | 524 | ||
558 | relationEClass = createEClass(RELATION); | 525 | relationEClass = createEClass(RELATION); |
559 | createEReference(relationEClass, RELATION__TARGET); | 526 | createEReference(relationEClass, RELATION__TARGET); |
@@ -632,9 +599,6 @@ public class CrossingScenarioPackageImpl extends EPackageImpl implements Crossin | |||
632 | initEAttribute(getActor_XSpeed(), ecorePackage.getEDouble(), "xSpeed", "0.0", 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 599 | initEAttribute(getActor_XSpeed(), ecorePackage.getEDouble(), "xSpeed", "0.0", 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
633 | initEReference(getActor_PlacedOn(), this.getLane(), this.getLane_Actors(), "placedOn", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 600 | initEReference(getActor_PlacedOn(), this.getLane(), this.getLane_Actors(), "placedOn", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
634 | initEAttribute(getActor_YSpeed(), ecorePackage.getEDouble(), "ySpeed", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 601 | initEAttribute(getActor_YSpeed(), ecorePackage.getEDouble(), "ySpeed", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
635 | initEReference(getActor_Dist_near(), this.getActor(), null, "dist_near", null, 0, -1, Actor.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
636 | initEReference(getActor_Dist_med(), this.getActor(), null, "dist_med", null, 0, -1, Actor.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
637 | initEReference(getActor_Dist_far(), this.getActor(), null, "dist_far", null, 0, -1, Actor.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); | ||
638 | 602 | ||
639 | initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 603 | initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
640 | initEReference(getRelation_Target(), this.getActor(), null, "target", null, 1, 1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 604 | initEReference(getRelation_Target(), this.getActor(), null, "target", null, 1, 1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |