From 14afb998045e508b07633ea63c72b582084f8c4c Mon Sep 17 00:00:00 2001 From: Aren Babikian Date: Wed, 3 Feb 2021 02:35:39 +0100 Subject: major changes to CS case study, working example, few issues, major assumptions --- .../ecore-gen/crossingScenario/impl/ActorImpl.java | 84 ---------------------- 1 file changed, 84 deletions(-) (limited to 'Domains/crossingScenario/ecore-gen/crossingScenario/impl/ActorImpl.java') 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; import crossingScenario.Actor; import crossingScenario.CrossingScenarioPackage; import crossingScenario.Lane; - -import java.util.Collection; - import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; @@ -34,9 +28,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; *
  • {@link crossingScenario.impl.ActorImpl#getXSpeed XSpeed}
  • *
  • {@link crossingScenario.impl.ActorImpl#getPlacedOn Placed On}
  • *
  • {@link crossingScenario.impl.ActorImpl#getYSpeed YSpeed}
  • - *
  • {@link crossingScenario.impl.ActorImpl#getDist_near Dist near}
  • - *
  • {@link crossingScenario.impl.ActorImpl#getDist_med Dist med}
  • - *
  • {@link crossingScenario.impl.ActorImpl#getDist_far Dist far}
  • * * * @generated @@ -391,48 +382,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements eNotify(new ENotificationImpl(this, Notification.SET, CrossingScenarioPackage.ACTOR__YSPEED, oldYSpeed, ySpeed)); } - /** - * - * - * @generated - */ - @Override - public EList getDist_near() { - // TODO: implement this method to return the 'Dist near' reference list - // Ensure that you remove @generated or mark it @generated NOT - // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting - // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. - throw new UnsupportedOperationException(); - } - - /** - * - * - * @generated - */ - @Override - public EList getDist_med() { - // TODO: implement this method to return the 'Dist med' reference list - // Ensure that you remove @generated or mark it @generated NOT - // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting - // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. - throw new UnsupportedOperationException(); - } - - /** - * - * - * @generated - */ - @Override - public EList getDist_far() { - // TODO: implement this method to return the 'Dist far' reference list - // Ensure that you remove @generated or mark it @generated NOT - // The list is expected to implement org.eclipse.emf.ecore.util.InternalEList and org.eclipse.emf.ecore.EStructuralFeature.Setting - // so it's likely that an appropriate subclass of org.eclipse.emf.ecore.util.EcoreEList should be used. - throw new UnsupportedOperationException(); - } - /** * * @@ -486,12 +435,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements return basicGetPlacedOn(); case CrossingScenarioPackage.ACTOR__YSPEED: return getYSpeed(); - case CrossingScenarioPackage.ACTOR__DIST_NEAR: - return getDist_near(); - case CrossingScenarioPackage.ACTOR__DIST_MED: - return getDist_med(); - case CrossingScenarioPackage.ACTOR__DIST_FAR: - return getDist_far(); } return super.eGet(featureID, resolve, coreType); } @@ -526,18 +469,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements case CrossingScenarioPackage.ACTOR__YSPEED: setYSpeed((Double)newValue); return; - case CrossingScenarioPackage.ACTOR__DIST_NEAR: - getDist_near().clear(); - getDist_near().addAll((Collection)newValue); - return; - case CrossingScenarioPackage.ACTOR__DIST_MED: - getDist_med().clear(); - getDist_med().addAll((Collection)newValue); - return; - case CrossingScenarioPackage.ACTOR__DIST_FAR: - getDist_far().clear(); - getDist_far().addAll((Collection)newValue); - return; } super.eSet(featureID, newValue); } @@ -571,15 +502,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements case CrossingScenarioPackage.ACTOR__YSPEED: setYSpeed(YSPEED_EDEFAULT); return; - case CrossingScenarioPackage.ACTOR__DIST_NEAR: - getDist_near().clear(); - return; - case CrossingScenarioPackage.ACTOR__DIST_MED: - getDist_med().clear(); - return; - case CrossingScenarioPackage.ACTOR__DIST_FAR: - getDist_far().clear(); - return; } super.eUnset(featureID); } @@ -606,12 +528,6 @@ public abstract class ActorImpl extends MinimalEObjectImpl.Container implements return placedOn != null; case CrossingScenarioPackage.ACTOR__YSPEED: return ySpeed != YSPEED_EDEFAULT; - case CrossingScenarioPackage.ACTOR__DIST_NEAR: - return !getDist_near().isEmpty(); - case CrossingScenarioPackage.ACTOR__DIST_MED: - return !getDist_med().isEmpty(); - case CrossingScenarioPackage.ACTOR__DIST_FAR: - return !getDist_far().isEmpty(); } return super.eIsSet(featureID); } -- cgit v1.2.3-54-g00ecf