From fc84d3fe670331bc89fb1e4c44104bc1fc811438 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy
Date: Wed, 14 Aug 2019 18:26:33 +0200
Subject: Measurements WIP
---
.../ecore-gen/satellite/CommSubsystem.java | 20 +---
.../ecore-gen/satellite/ConstellationMission.java | 2 +-
.../ecore-gen/satellite/InterferometryMission.java | 28 -----
.../ecore-gen/satellite/SatellitePackage.java | 88 +-------------
.../satellite/impl/CommSubsystemImpl.java | 115 +-----------------
.../satellite/impl/InterferometryMissionImpl.java | 130 ---------------------
.../satellite/impl/SatellitePackageImpl.java | 37 +-----
7 files changed, 13 insertions(+), 407 deletions(-)
(limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen')
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java
index 90bca78c..3b9d7ecf 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java
@@ -2,7 +2,6 @@
*/
package satellite;
-import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
@@ -15,7 +14,6 @@ import org.eclipse.emf.ecore.EObject;
*
*
* - {@link satellite.CommSubsystem#getTarget Target}
- * - {@link satellite.CommSubsystem#getSource Source}
*
*
* @see satellite.SatellitePackage#getCommSubsystem()
@@ -26,14 +24,12 @@ public interface CommSubsystem extends EObject {
/**
* Returns the value of the 'Target' reference.
- * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getSource Source}'.
*
*
* @return the value of the 'Target' reference.
* @see #setTarget(CommSubsystem)
* @see satellite.SatellitePackage#getCommSubsystem_Target()
- * @see satellite.CommSubsystem#getSource
- * @model opposite="source"
+ * @model
* @generated
*/
CommSubsystem getTarget();
@@ -48,18 +44,4 @@ public interface CommSubsystem extends EObject {
*/
void setTarget(CommSubsystem value);
- /**
- * Returns the value of the 'Source' reference list.
- * The list contents are of type {@link satellite.CommSubsystem}.
- * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getTarget Target}'.
- *
- *
- * @return the value of the 'Source' reference list.
- * @see satellite.SatellitePackage#getCommSubsystem_Source()
- * @see satellite.CommSubsystem#getTarget
- * @model opposite="target"
- * @generated
- */
- EList getSource();
-
} // CommSubsystem
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
index 6182d7ad..8ff69955 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java
@@ -53,7 +53,7 @@ public interface ConstellationMission extends EObject {
*
* @return the value of the 'Spacecraft' containment reference list.
* @see satellite.SatellitePackage#getConstellationMission_Spacecraft()
- * @model containment="true" lower="2" upper="50"
+ * @model containment="true" lower="2"
* @generated
*/
EList getSpacecraft();
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
index eb4ea064..4e28df38 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java
@@ -7,39 +7,11 @@ package satellite;
* A representation of the model object 'Interferometry Mission'.
*
*
- *
- * The following features are supported:
- *
- *
- * - {@link satellite.InterferometryMission#getObservationTime Observation Time}
- *
*
* @see satellite.SatellitePackage#getInterferometryMission()
* @model
* @generated
*/
public interface InterferometryMission extends ConstellationMission {
- /**
- * Returns the value of the 'Observation Time' attribute.
- * The default value is "2.0"
.
- *
- *
- * @return the value of the 'Observation Time' attribute.
- * @see #setObservationTime(float)
- * @see satellite.SatellitePackage#getInterferometryMission_ObservationTime()
- * @model default="2.0" required="true"
- * @generated
- */
- float getObservationTime();
-
- /**
- * Sets the value of the '{@link satellite.InterferometryMission#getObservationTime Observation Time}' attribute.
- *
- *
- * @param value the new value of the 'Observation Time' attribute.
- * @see #getObservationTime()
- * @generated
- */
- void setObservationTime(float value);
} // InterferometryMission
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java
index 7be4ef84..9ca99311 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java
@@ -2,7 +2,6 @@
*/
package satellite;
-import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
@@ -130,15 +129,6 @@ public interface SatellitePackage extends EPackage {
*/
int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT;
- /**
- * The feature id for the 'Observation Time' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0;
-
/**
* The number of structural features of the 'Interferometry Mission' class.
*
@@ -146,7 +136,7 @@ public interface SatellitePackage extends EPackage {
* @generated
* @ordered
*/
- int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1;
+ int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 0;
/**
* The number of operations of the 'Interferometry Mission' class.
@@ -296,15 +286,6 @@ public interface SatellitePackage extends EPackage {
*/
int COMM_SUBSYSTEM__TARGET = 0;
- /**
- * The feature id for the 'Source' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int COMM_SUBSYSTEM__SOURCE = 1;
-
/**
* The number of structural features of the 'Comm Subsystem' class.
*
@@ -312,7 +293,7 @@ public interface SatellitePackage extends EPackage {
* @generated
* @ordered
*/
- int COMM_SUBSYSTEM_FEATURE_COUNT = 2;
+ int COMM_SUBSYSTEM_FEATURE_COUNT = 1;
/**
* The number of operations of the 'Comm Subsystem' class.
@@ -582,15 +563,6 @@ public interface SatellitePackage extends EPackage {
*/
int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
- /**
- * The feature id for the 'Source' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int UHF_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
-
/**
* The number of structural features of the 'UHF Comm Subsystem' class.
*
@@ -628,15 +600,6 @@ public interface SatellitePackage extends EPackage {
*/
int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
- /**
- * The feature id for the 'Source' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int XCOMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
-
/**
* The number of structural features of the 'XComm Subsystem' class.
*
@@ -674,15 +637,6 @@ public interface SatellitePackage extends EPackage {
*/
int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
- /**
- * The feature id for the 'Source' reference list.
- *
- *
- * @generated
- * @ordered
- */
- int KA_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
-
/**
* The number of structural features of the 'Ka Comm Subsystem' class.
*
@@ -743,17 +697,6 @@ public interface SatellitePackage extends EPackage {
*/
EClass getInterferometryMission();
- /**
- * Returns the meta object for the attribute '{@link satellite.InterferometryMission#getObservationTime Observation Time}'.
- *
- *
- * @return the meta object for the attribute 'Observation Time'.
- * @see satellite.InterferometryMission#getObservationTime()
- * @see #getInterferometryMission()
- * @generated
- */
- EAttribute getInterferometryMission_ObservationTime();
-
/**
* Returns the meta object for class '{@link satellite.CommunicatingElement Communicating Element}'.
*
@@ -827,17 +770,6 @@ public interface SatellitePackage extends EPackage {
*/
EReference getCommSubsystem_Target();
- /**
- * Returns the meta object for the reference list '{@link satellite.CommSubsystem#getSource Source}'.
- *
- *
- * @return the meta object for the reference list 'Source'.
- * @see satellite.CommSubsystem#getSource()
- * @see #getCommSubsystem()
- * @generated
- */
- EReference getCommSubsystem_Source();
-
/**
* Returns the meta object for class '{@link satellite.Payload Payload}'.
*
@@ -988,14 +920,6 @@ public interface SatellitePackage extends EPackage {
*/
EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission();
- /**
- * The meta object literal for the 'Observation Time' attribute feature.
- *
- *
- * @generated
- */
- EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime();
-
/**
* The meta object literal for the '{@link satellite.impl.CommunicatingElementImpl Communicating Element}' class.
*
@@ -1060,14 +984,6 @@ public interface SatellitePackage extends EPackage {
*/
EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target();
- /**
- * The meta object literal for the 'Source' reference list feature.
- *
- *
- * @generated
- */
- EReference COMM_SUBSYSTEM__SOURCE = eINSTANCE.getCommSubsystem_Source();
-
/**
* The meta object literal for the '{@link satellite.impl.PayloadImpl Payload}' class.
*
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
index 21e385a8..d39abd4d 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java
@@ -2,16 +2,11 @@
*/
package satellite.impl;
-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;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
import satellite.CommSubsystem;
import satellite.SatellitePackage;
@@ -24,7 +19,6 @@ import satellite.SatellitePackage;
*
*
* - {@link satellite.impl.CommSubsystemImpl#getTarget Target}
- * - {@link satellite.impl.CommSubsystemImpl#getSource Source}
*
*
* @generated
@@ -40,16 +34,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
*/
protected CommSubsystem target;
- /**
- * The cached value of the '{@link #getSource() Source}' reference list.
- *
- *
- * @see #getSource()
- * @generated
- * @ordered
- */
- protected EList source;
-
/**
*
*
@@ -97,25 +81,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
return target;
}
- /**
- *
- *
- * @generated
- */
- public NotificationChain basicSetTarget(CommSubsystem newTarget, NotificationChain msgs) {
- CommSubsystem oldTarget = target;
- target = newTarget;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, newTarget);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
/**
*
*
@@ -123,70 +88,11 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
*/
@Override
public void setTarget(CommSubsystem newTarget) {
- if (newTarget != target) {
- NotificationChain msgs = null;
- if (target != null)
- msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE,
- CommSubsystem.class, msgs);
- if (newTarget != null)
- msgs = ((InternalEObject) newTarget).eInverseAdd(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE,
- CommSubsystem.class, msgs);
- msgs = basicSetTarget(newTarget, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, newTarget,
- newTarget));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getSource() {
- if (source == null) {
- source = new EObjectWithInverseResolvingEList(CommSubsystem.class, this,
- SatellitePackage.COMM_SUBSYSTEM__SOURCE, SatellitePackage.COMM_SUBSYSTEM__TARGET);
- }
- return source;
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case SatellitePackage.COMM_SUBSYSTEM__TARGET:
- if (target != null)
- msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE,
- CommSubsystem.class, msgs);
- return basicSetTarget((CommSubsystem) otherEnd, msgs);
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- return ((InternalEList) (InternalEList>) getSource()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case SatellitePackage.COMM_SUBSYSTEM__TARGET:
- return basicSetTarget(null, msgs);
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- return ((InternalEList>) getSource()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
+ CommSubsystem oldTarget = target;
+ target = newTarget;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget,
+ target));
}
/**
@@ -201,8 +107,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
if (resolve)
return getTarget();
return basicGetTarget();
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- return getSource();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -219,10 +123,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
case SatellitePackage.COMM_SUBSYSTEM__TARGET:
setTarget((CommSubsystem) newValue);
return;
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- getSource().clear();
- getSource().addAll((Collection extends CommSubsystem>) newValue);
- return;
}
super.eSet(featureID, newValue);
}
@@ -238,9 +138,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
case SatellitePackage.COMM_SUBSYSTEM__TARGET:
setTarget((CommSubsystem) null);
return;
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- getSource().clear();
- return;
}
super.eUnset(featureID);
}
@@ -255,8 +152,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
switch (featureID) {
case SatellitePackage.COMM_SUBSYSTEM__TARGET:
return target != null;
- case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
- return source != null && !source.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java
index 3401ad51..450f8a9a 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java
@@ -2,12 +2,7 @@
*/
package satellite.impl;
-import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import satellite.InterferometryMission;
import satellite.SatellitePackage;
@@ -15,36 +10,10 @@ import satellite.SatellitePackage;
*
* An implementation of the model object 'Interferometry Mission'.
*
- *
- * The following features are implemented:
- *
- *
- * - {@link satellite.impl.InterferometryMissionImpl#getObservationTime Observation Time}
- *
*
* @generated
*/
public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission {
- /**
- * The default value of the '{@link #getObservationTime() Observation Time}' attribute.
- *
- *
- * @see #getObservationTime()
- * @generated
- * @ordered
- */
- protected static final float OBSERVATION_TIME_EDEFAULT = 2.0F;
-
- /**
- * The cached value of the '{@link #getObservationTime() Observation Time}' attribute.
- *
- *
- * @see #getObservationTime()
- * @generated
- * @ordered
- */
- protected float observationTime = OBSERVATION_TIME_EDEFAULT;
-
/**
*
*
@@ -64,103 +33,4 @@ public class InterferometryMissionImpl extends ConstellationMissionImpl implemen
return SatellitePackage.Literals.INTERFEROMETRY_MISSION;
}
- /**
- *
- *
- * @generated
- */
- @Override
- public float getObservationTime() {
- return observationTime;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setObservationTime(float newObservationTime) {
- float oldObservationTime = observationTime;
- observationTime = newObservationTime;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
- return getObservationTime();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
- setObservationTime((Float) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
- setObservationTime(OBSERVATION_TIME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
- return observationTime != OBSERVATION_TIME_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy())
- return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (observationTime: ");
- result.append(observationTime);
- result.append(')');
- return result.toString();
- }
-
} //InterferometryMissionImpl
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java
index 17212a96..f6dc1e30 100644
--- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java
+++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java
@@ -2,7 +2,6 @@
*/
package satellite.impl;
-import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
@@ -242,16 +241,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
return interferometryMissionEClass;
}
- /**
- *
- *
- * @generated
- */
- @Override
- public EAttribute getInterferometryMission_ObservationTime() {
- return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0);
- }
-
/**
*
*
@@ -322,16 +311,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
return (EReference) commSubsystemEClass.getEStructuralFeatures().get(0);
}
- /**
- *
- *
- * @generated
- */
- @Override
- public EReference getCommSubsystem_Source() {
- return (EReference) commSubsystemEClass.getEStructuralFeatures().get(1);
- }
-
/**
*
*
@@ -457,7 +436,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT);
interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION);
- createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME);
communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT);
createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM);
@@ -469,7 +447,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
commSubsystemEClass = createEClass(COMM_SUBSYSTEM);
createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET);
- createEReference(commSubsystemEClass, COMM_SUBSYSTEM__SOURCE);
payloadEClass = createEClass(PAYLOAD);
@@ -537,15 +514,12 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null,
"groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE,
IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50,
+ initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, -1,
ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT,
!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0",
- 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT,
!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -564,12 +538,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), this.getCommSubsystem_Source(), "target",
- null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCommSubsystem_Source(), this.getCommSubsystem(), this.getCommSubsystem_Target(), "source",
- null, 0, -1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1,
+ CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
--
cgit v1.2.3-70-g09d2