aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen')
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java20
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java2
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java28
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java88
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java115
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java130
-rw-r--r--Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java37
7 files changed, 13 insertions, 407 deletions
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 @@
2 */ 2 */
3package satellite; 3package satellite;
4 4
5import org.eclipse.emf.common.util.EList;
6import org.eclipse.emf.ecore.EObject; 5import org.eclipse.emf.ecore.EObject;
7 6
8/** 7/**
@@ -15,7 +14,6 @@ import org.eclipse.emf.ecore.EObject;
15 * </p> 14 * </p>
16 * <ul> 15 * <ul>
17 * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> 16 * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li>
18 * <li>{@link satellite.CommSubsystem#getSource <em>Source</em>}</li>
19 * </ul> 17 * </ul>
20 * 18 *
21 * @see satellite.SatellitePackage#getCommSubsystem() 19 * @see satellite.SatellitePackage#getCommSubsystem()
@@ -26,14 +24,12 @@ public interface CommSubsystem extends EObject {
26 24
27 /** 25 /**
28 * Returns the value of the '<em><b>Target</b></em>' reference. 26 * Returns the value of the '<em><b>Target</b></em>' reference.
29 * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getSource <em>Source</em>}'.
30 * <!-- begin-user-doc --> 27 * <!-- begin-user-doc -->
31 * <!-- end-user-doc --> 28 * <!-- end-user-doc -->
32 * @return the value of the '<em>Target</em>' reference. 29 * @return the value of the '<em>Target</em>' reference.
33 * @see #setTarget(CommSubsystem) 30 * @see #setTarget(CommSubsystem)
34 * @see satellite.SatellitePackage#getCommSubsystem_Target() 31 * @see satellite.SatellitePackage#getCommSubsystem_Target()
35 * @see satellite.CommSubsystem#getSource 32 * @model
36 * @model opposite="source"
37 * @generated 33 * @generated
38 */ 34 */
39 CommSubsystem getTarget(); 35 CommSubsystem getTarget();
@@ -48,18 +44,4 @@ public interface CommSubsystem extends EObject {
48 */ 44 */
49 void setTarget(CommSubsystem value); 45 void setTarget(CommSubsystem value);
50 46
51 /**
52 * Returns the value of the '<em><b>Source</b></em>' reference list.
53 * The list contents are of type {@link satellite.CommSubsystem}.
54 * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getTarget <em>Target</em>}'.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @return the value of the '<em>Source</em>' reference list.
58 * @see satellite.SatellitePackage#getCommSubsystem_Source()
59 * @see satellite.CommSubsystem#getTarget
60 * @model opposite="target"
61 * @generated
62 */
63 EList<CommSubsystem> getSource();
64
65} // CommSubsystem 47} // 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 {
53 * <!-- end-user-doc --> 53 * <!-- end-user-doc -->
54 * @return the value of the '<em>Spacecraft</em>' containment reference list. 54 * @return the value of the '<em>Spacecraft</em>' containment reference list.
55 * @see satellite.SatellitePackage#getConstellationMission_Spacecraft() 55 * @see satellite.SatellitePackage#getConstellationMission_Spacecraft()
56 * @model containment="true" lower="2" upper="50" 56 * @model containment="true" lower="2"
57 * @generated 57 * @generated
58 */ 58 */
59 EList<Spacecraft> getSpacecraft(); 59 EList<Spacecraft> 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;
7 * A representation of the model object '<em><b>Interferometry Mission</b></em>'. 7 * A representation of the model object '<em><b>Interferometry Mission</b></em>'.
8 * <!-- end-user-doc --> 8 * <!-- end-user-doc -->
9 * 9 *
10 * <p>
11 * The following features are supported:
12 * </p>
13 * <ul>
14 * <li>{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}</li>
15 * </ul>
16 * 10 *
17 * @see satellite.SatellitePackage#getInterferometryMission() 11 * @see satellite.SatellitePackage#getInterferometryMission()
18 * @model 12 * @model
19 * @generated 13 * @generated
20 */ 14 */
21public interface InterferometryMission extends ConstellationMission { 15public interface InterferometryMission extends ConstellationMission {
22 /**
23 * Returns the value of the '<em><b>Observation Time</b></em>' attribute.
24 * The default value is <code>"2.0"</code>.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @return the value of the '<em>Observation Time</em>' attribute.
28 * @see #setObservationTime(float)
29 * @see satellite.SatellitePackage#getInterferometryMission_ObservationTime()
30 * @model default="2.0" required="true"
31 * @generated
32 */
33 float getObservationTime();
34
35 /**
36 * Sets the value of the '{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}' attribute.
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @param value the new value of the '<em>Observation Time</em>' attribute.
40 * @see #getObservationTime()
41 * @generated
42 */
43 void setObservationTime(float value);
44 16
45} // InterferometryMission 17} // 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 @@
2 */ 2 */
3package satellite; 3package satellite;
4 4
5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass; 5import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EPackage; 6import org.eclipse.emf.ecore.EPackage;
8import org.eclipse.emf.ecore.EReference; 7import org.eclipse.emf.ecore.EReference;
@@ -131,22 +130,13 @@ public interface SatellitePackage extends EPackage {
131 int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT; 130 int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT;
132 131
133 /** 132 /**
134 * The feature id for the '<em><b>Observation Time</b></em>' attribute.
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 * @ordered
139 */
140 int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0;
141
142 /**
143 * The number of structural features of the '<em>Interferometry Mission</em>' class. 133 * The number of structural features of the '<em>Interferometry Mission</em>' class.
144 * <!-- begin-user-doc --> 134 * <!-- begin-user-doc -->
145 * <!-- end-user-doc --> 135 * <!-- end-user-doc -->
146 * @generated 136 * @generated
147 * @ordered 137 * @ordered
148 */ 138 */
149 int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1; 139 int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 0;
150 140
151 /** 141 /**
152 * The number of operations of the '<em>Interferometry Mission</em>' class. 142 * The number of operations of the '<em>Interferometry Mission</em>' class.
@@ -297,22 +287,13 @@ public interface SatellitePackage extends EPackage {
297 int COMM_SUBSYSTEM__TARGET = 0; 287 int COMM_SUBSYSTEM__TARGET = 0;
298 288
299 /** 289 /**
300 * The feature id for the '<em><b>Source</b></em>' reference list.
301 * <!-- begin-user-doc -->
302 * <!-- end-user-doc -->
303 * @generated
304 * @ordered
305 */
306 int COMM_SUBSYSTEM__SOURCE = 1;
307
308 /**
309 * The number of structural features of the '<em>Comm Subsystem</em>' class. 290 * The number of structural features of the '<em>Comm Subsystem</em>' class.
310 * <!-- begin-user-doc --> 291 * <!-- begin-user-doc -->
311 * <!-- end-user-doc --> 292 * <!-- end-user-doc -->
312 * @generated 293 * @generated
313 * @ordered 294 * @ordered
314 */ 295 */
315 int COMM_SUBSYSTEM_FEATURE_COUNT = 2; 296 int COMM_SUBSYSTEM_FEATURE_COUNT = 1;
316 297
317 /** 298 /**
318 * The number of operations of the '<em>Comm Subsystem</em>' class. 299 * The number of operations of the '<em>Comm Subsystem</em>' class.
@@ -583,15 +564,6 @@ public interface SatellitePackage extends EPackage {
583 int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; 564 int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
584 565
585 /** 566 /**
586 * The feature id for the '<em><b>Source</b></em>' reference list.
587 * <!-- begin-user-doc -->
588 * <!-- end-user-doc -->
589 * @generated
590 * @ordered
591 */
592 int UHF_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
593
594 /**
595 * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. 567 * The number of structural features of the '<em>UHF Comm Subsystem</em>' class.
596 * <!-- begin-user-doc --> 568 * <!-- begin-user-doc -->
597 * <!-- end-user-doc --> 569 * <!-- end-user-doc -->
@@ -629,15 +601,6 @@ public interface SatellitePackage extends EPackage {
629 int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; 601 int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
630 602
631 /** 603 /**
632 * The feature id for the '<em><b>Source</b></em>' reference list.
633 * <!-- begin-user-doc -->
634 * <!-- end-user-doc -->
635 * @generated
636 * @ordered
637 */
638 int XCOMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
639
640 /**
641 * The number of structural features of the '<em>XComm Subsystem</em>' class. 604 * The number of structural features of the '<em>XComm Subsystem</em>' class.
642 * <!-- begin-user-doc --> 605 * <!-- begin-user-doc -->
643 * <!-- end-user-doc --> 606 * <!-- end-user-doc -->
@@ -675,15 +638,6 @@ public interface SatellitePackage extends EPackage {
675 int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; 638 int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET;
676 639
677 /** 640 /**
678 * The feature id for the '<em><b>Source</b></em>' reference list.
679 * <!-- begin-user-doc -->
680 * <!-- end-user-doc -->
681 * @generated
682 * @ordered
683 */
684 int KA_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE;
685
686 /**
687 * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. 641 * The number of structural features of the '<em>Ka Comm Subsystem</em>' class.
688 * <!-- begin-user-doc --> 642 * <!-- begin-user-doc -->
689 * <!-- end-user-doc --> 643 * <!-- end-user-doc -->
@@ -744,17 +698,6 @@ public interface SatellitePackage extends EPackage {
744 EClass getInterferometryMission(); 698 EClass getInterferometryMission();
745 699
746 /** 700 /**
747 * Returns the meta object for the attribute '{@link satellite.InterferometryMission#getObservationTime <em>Observation Time</em>}'.
748 * <!-- begin-user-doc -->
749 * <!-- end-user-doc -->
750 * @return the meta object for the attribute '<em>Observation Time</em>'.
751 * @see satellite.InterferometryMission#getObservationTime()
752 * @see #getInterferometryMission()
753 * @generated
754 */
755 EAttribute getInterferometryMission_ObservationTime();
756
757 /**
758 * Returns the meta object for class '{@link satellite.CommunicatingElement <em>Communicating Element</em>}'. 701 * Returns the meta object for class '{@link satellite.CommunicatingElement <em>Communicating Element</em>}'.
759 * <!-- begin-user-doc --> 702 * <!-- begin-user-doc -->
760 * <!-- end-user-doc --> 703 * <!-- end-user-doc -->
@@ -828,17 +771,6 @@ public interface SatellitePackage extends EPackage {
828 EReference getCommSubsystem_Target(); 771 EReference getCommSubsystem_Target();
829 772
830 /** 773 /**
831 * Returns the meta object for the reference list '{@link satellite.CommSubsystem#getSource <em>Source</em>}'.
832 * <!-- begin-user-doc -->
833 * <!-- end-user-doc -->
834 * @return the meta object for the reference list '<em>Source</em>'.
835 * @see satellite.CommSubsystem#getSource()
836 * @see #getCommSubsystem()
837 * @generated
838 */
839 EReference getCommSubsystem_Source();
840
841 /**
842 * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. 774 * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'.
843 * <!-- begin-user-doc --> 775 * <!-- begin-user-doc -->
844 * <!-- end-user-doc --> 776 * <!-- end-user-doc -->
@@ -989,14 +921,6 @@ public interface SatellitePackage extends EPackage {
989 EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission(); 921 EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission();
990 922
991 /** 923 /**
992 * The meta object literal for the '<em><b>Observation Time</b></em>' attribute feature.
993 * <!-- begin-user-doc -->
994 * <!-- end-user-doc -->
995 * @generated
996 */
997 EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime();
998
999 /**
1000 * The meta object literal for the '{@link satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class. 924 * The meta object literal for the '{@link satellite.impl.CommunicatingElementImpl <em>Communicating Element</em>}' class.
1001 * <!-- begin-user-doc --> 925 * <!-- begin-user-doc -->
1002 * <!-- end-user-doc --> 926 * <!-- end-user-doc -->
@@ -1061,14 +985,6 @@ public interface SatellitePackage extends EPackage {
1061 EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); 985 EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target();
1062 986
1063 /** 987 /**
1064 * The meta object literal for the '<em><b>Source</b></em>' reference list feature.
1065 * <!-- begin-user-doc -->
1066 * <!-- end-user-doc -->
1067 * @generated
1068 */
1069 EReference COMM_SUBSYSTEM__SOURCE = eINSTANCE.getCommSubsystem_Source();
1070
1071 /**
1072 * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. 988 * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class.
1073 * <!-- begin-user-doc --> 989 * <!-- begin-user-doc -->
1074 * <!-- end-user-doc --> 990 * <!-- end-user-doc -->
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 @@
2 */ 2 */
3package satellite.impl; 3package satellite.impl;
4 4
5import java.util.Collection;
6import org.eclipse.emf.common.notify.Notification; 5import org.eclipse.emf.common.notify.Notification;
7import org.eclipse.emf.common.notify.NotificationChain;
8import org.eclipse.emf.common.util.EList;
9import org.eclipse.emf.ecore.EClass; 6import org.eclipse.emf.ecore.EClass;
10import org.eclipse.emf.ecore.InternalEObject; 7import org.eclipse.emf.ecore.InternalEObject;
11import org.eclipse.emf.ecore.impl.ENotificationImpl; 8import org.eclipse.emf.ecore.impl.ENotificationImpl;
12import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 9import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
13import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
14import org.eclipse.emf.ecore.util.InternalEList;
15import satellite.CommSubsystem; 10import satellite.CommSubsystem;
16import satellite.SatellitePackage; 11import satellite.SatellitePackage;
17 12
@@ -24,7 +19,6 @@ import satellite.SatellitePackage;
24 * </p> 19 * </p>
25 * <ul> 20 * <ul>
26 * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> 21 * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li>
27 * <li>{@link satellite.impl.CommSubsystemImpl#getSource <em>Source</em>}</li>
28 * </ul> 22 * </ul>
29 * 23 *
30 * @generated 24 * @generated
@@ -41,16 +35,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
41 protected CommSubsystem target; 35 protected CommSubsystem target;
42 36
43 /** 37 /**
44 * The cached value of the '{@link #getSource() <em>Source</em>}' reference list.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @see #getSource()
48 * @generated
49 * @ordered
50 */
51 protected EList<CommSubsystem> source;
52
53 /**
54 * <!-- begin-user-doc --> 38 * <!-- begin-user-doc -->
55 * <!-- end-user-doc --> 39 * <!-- end-user-doc -->
56 * @generated 40 * @generated
@@ -102,91 +86,13 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
102 * <!-- end-user-doc --> 86 * <!-- end-user-doc -->
103 * @generated 87 * @generated
104 */ 88 */
105 public NotificationChain basicSetTarget(CommSubsystem newTarget, NotificationChain msgs) {
106 CommSubsystem oldTarget = target;
107 target = newTarget;
108 if (eNotificationRequired()) {
109 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
110 SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, newTarget);
111 if (msgs == null)
112 msgs = notification;
113 else
114 msgs.add(notification);
115 }
116 return msgs;
117 }
118
119 /**
120 * <!-- begin-user-doc -->
121 * <!-- end-user-doc -->
122 * @generated
123 */
124 @Override 89 @Override
125 public void setTarget(CommSubsystem newTarget) { 90 public void setTarget(CommSubsystem newTarget) {
126 if (newTarget != target) { 91 CommSubsystem oldTarget = target;
127 NotificationChain msgs = null; 92 target = newTarget;
128 if (target != null) 93 if (eNotificationRequired())
129 msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE, 94 eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget,
130 CommSubsystem.class, msgs); 95 target));
131 if (newTarget != null)
132 msgs = ((InternalEObject) newTarget).eInverseAdd(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE,
133 CommSubsystem.class, msgs);
134 msgs = basicSetTarget(newTarget, msgs);
135 if (msgs != null)
136 msgs.dispatch();
137 } else if (eNotificationRequired())
138 eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, newTarget,
139 newTarget));
140 }
141
142 /**
143 * <!-- begin-user-doc -->
144 * <!-- end-user-doc -->
145 * @generated
146 */
147 @Override
148 public EList<CommSubsystem> getSource() {
149 if (source == null) {
150 source = new EObjectWithInverseResolvingEList<CommSubsystem>(CommSubsystem.class, this,
151 SatellitePackage.COMM_SUBSYSTEM__SOURCE, SatellitePackage.COMM_SUBSYSTEM__TARGET);
152 }
153 return source;
154 }
155
156 /**
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @generated
160 */
161 @SuppressWarnings("unchecked")
162 @Override
163 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
164 switch (featureID) {
165 case SatellitePackage.COMM_SUBSYSTEM__TARGET:
166 if (target != null)
167 msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE,
168 CommSubsystem.class, msgs);
169 return basicSetTarget((CommSubsystem) otherEnd, msgs);
170 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
171 return ((InternalEList<InternalEObject>) (InternalEList<?>) getSource()).basicAdd(otherEnd, msgs);
172 }
173 return super.eInverseAdd(otherEnd, featureID, msgs);
174 }
175
176 /**
177 * <!-- begin-user-doc -->
178 * <!-- end-user-doc -->
179 * @generated
180 */
181 @Override
182 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
183 switch (featureID) {
184 case SatellitePackage.COMM_SUBSYSTEM__TARGET:
185 return basicSetTarget(null, msgs);
186 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
187 return ((InternalEList<?>) getSource()).basicRemove(otherEnd, msgs);
188 }
189 return super.eInverseRemove(otherEnd, featureID, msgs);
190 } 96 }
191 97
192 /** 98 /**
@@ -201,8 +107,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
201 if (resolve) 107 if (resolve)
202 return getTarget(); 108 return getTarget();
203 return basicGetTarget(); 109 return basicGetTarget();
204 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
205 return getSource();
206 } 110 }
207 return super.eGet(featureID, resolve, coreType); 111 return super.eGet(featureID, resolve, coreType);
208 } 112 }
@@ -219,10 +123,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
219 case SatellitePackage.COMM_SUBSYSTEM__TARGET: 123 case SatellitePackage.COMM_SUBSYSTEM__TARGET:
220 setTarget((CommSubsystem) newValue); 124 setTarget((CommSubsystem) newValue);
221 return; 125 return;
222 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
223 getSource().clear();
224 getSource().addAll((Collection<? extends CommSubsystem>) newValue);
225 return;
226 } 126 }
227 super.eSet(featureID, newValue); 127 super.eSet(featureID, newValue);
228 } 128 }
@@ -238,9 +138,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
238 case SatellitePackage.COMM_SUBSYSTEM__TARGET: 138 case SatellitePackage.COMM_SUBSYSTEM__TARGET:
239 setTarget((CommSubsystem) null); 139 setTarget((CommSubsystem) null);
240 return; 140 return;
241 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
242 getSource().clear();
243 return;
244 } 141 }
245 super.eUnset(featureID); 142 super.eUnset(featureID);
246 } 143 }
@@ -255,8 +152,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp
255 switch (featureID) { 152 switch (featureID) {
256 case SatellitePackage.COMM_SUBSYSTEM__TARGET: 153 case SatellitePackage.COMM_SUBSYSTEM__TARGET:
257 return target != null; 154 return target != null;
258 case SatellitePackage.COMM_SUBSYSTEM__SOURCE:
259 return source != null && !source.isEmpty();
260 } 155 }
261 return super.eIsSet(featureID); 156 return super.eIsSet(featureID);
262 } 157 }
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 @@
2 */ 2 */
3package satellite.impl; 3package satellite.impl;
4 4
5import org.eclipse.emf.common.notify.Notification;
6
7import org.eclipse.emf.ecore.EClass; 5import org.eclipse.emf.ecore.EClass;
8
9import org.eclipse.emf.ecore.impl.ENotificationImpl;
10
11import satellite.InterferometryMission; 6import satellite.InterferometryMission;
12import satellite.SatellitePackage; 7import satellite.SatellitePackage;
13 8
@@ -15,37 +10,11 @@ import satellite.SatellitePackage;
15 * <!-- begin-user-doc --> 10 * <!-- begin-user-doc -->
16 * An implementation of the model object '<em><b>Interferometry Mission</b></em>'. 11 * An implementation of the model object '<em><b>Interferometry Mission</b></em>'.
17 * <!-- end-user-doc --> 12 * <!-- end-user-doc -->
18 * <p>
19 * The following features are implemented:
20 * </p>
21 * <ul>
22 * <li>{@link satellite.impl.InterferometryMissionImpl#getObservationTime <em>Observation Time</em>}</li>
23 * </ul>
24 * 13 *
25 * @generated 14 * @generated
26 */ 15 */
27public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission { 16public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission {
28 /** 17 /**
29 * The default value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @see #getObservationTime()
33 * @generated
34 * @ordered
35 */
36 protected static final float OBSERVATION_TIME_EDEFAULT = 2.0F;
37
38 /**
39 * The cached value of the '{@link #getObservationTime() <em>Observation Time</em>}' attribute.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getObservationTime()
43 * @generated
44 * @ordered
45 */
46 protected float observationTime = OBSERVATION_TIME_EDEFAULT;
47
48 /**
49 * <!-- begin-user-doc --> 18 * <!-- begin-user-doc -->
50 * <!-- end-user-doc --> 19 * <!-- end-user-doc -->
51 * @generated 20 * @generated
@@ -64,103 +33,4 @@ public class InterferometryMissionImpl extends ConstellationMissionImpl implemen
64 return SatellitePackage.Literals.INTERFEROMETRY_MISSION; 33 return SatellitePackage.Literals.INTERFEROMETRY_MISSION;
65 } 34 }
66 35
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 @Override
73 public float getObservationTime() {
74 return observationTime;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 @Override
83 public void setObservationTime(float newObservationTime) {
84 float oldObservationTime = observationTime;
85 observationTime = newObservationTime;
86 if (eNotificationRequired())
87 eNotify(new ENotificationImpl(this, Notification.SET,
88 SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime));
89 }
90
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 @Override
97 public Object eGet(int featureID, boolean resolve, boolean coreType) {
98 switch (featureID) {
99 case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
100 return getObservationTime();
101 }
102 return super.eGet(featureID, resolve, coreType);
103 }
104
105 /**
106 * <!-- begin-user-doc -->
107 * <!-- end-user-doc -->
108 * @generated
109 */
110 @Override
111 public void eSet(int featureID, Object newValue) {
112 switch (featureID) {
113 case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
114 setObservationTime((Float) newValue);
115 return;
116 }
117 super.eSet(featureID, newValue);
118 }
119
120 /**
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @generated
124 */
125 @Override
126 public void eUnset(int featureID) {
127 switch (featureID) {
128 case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
129 setObservationTime(OBSERVATION_TIME_EDEFAULT);
130 return;
131 }
132 super.eUnset(featureID);
133 }
134
135 /**
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 */
140 @Override
141 public boolean eIsSet(int featureID) {
142 switch (featureID) {
143 case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME:
144 return observationTime != OBSERVATION_TIME_EDEFAULT;
145 }
146 return super.eIsSet(featureID);
147 }
148
149 /**
150 * <!-- begin-user-doc -->
151 * <!-- end-user-doc -->
152 * @generated
153 */
154 @Override
155 public String toString() {
156 if (eIsProxy())
157 return super.toString();
158
159 StringBuilder result = new StringBuilder(super.toString());
160 result.append(" (observationTime: ");
161 result.append(observationTime);
162 result.append(')');
163 return result.toString();
164 }
165
166} //InterferometryMissionImpl 36} //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 @@
2 */ 2 */
3package satellite.impl; 3package satellite.impl;
4 4
5import org.eclipse.emf.ecore.EAttribute;
6import org.eclipse.emf.ecore.EClass; 5import org.eclipse.emf.ecore.EClass;
7import org.eclipse.emf.ecore.EPackage; 6import org.eclipse.emf.ecore.EPackage;
8import org.eclipse.emf.ecore.EReference; 7import org.eclipse.emf.ecore.EReference;
@@ -248,16 +247,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
248 * @generated 247 * @generated
249 */ 248 */
250 @Override 249 @Override
251 public EAttribute getInterferometryMission_ObservationTime() {
252 return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0);
253 }
254
255 /**
256 * <!-- begin-user-doc -->
257 * <!-- end-user-doc -->
258 * @generated
259 */
260 @Override
261 public EClass getCommunicatingElement() { 250 public EClass getCommunicatingElement() {
262 return communicatingElementEClass; 251 return communicatingElementEClass;
263 } 252 }
@@ -328,16 +317,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
328 * @generated 317 * @generated
329 */ 318 */
330 @Override 319 @Override
331 public EReference getCommSubsystem_Source() {
332 return (EReference) commSubsystemEClass.getEStructuralFeatures().get(1);
333 }
334
335 /**
336 * <!-- begin-user-doc -->
337 * <!-- end-user-doc -->
338 * @generated
339 */
340 @Override
341 public EClass getPayload() { 320 public EClass getPayload() {
342 return payloadEClass; 321 return payloadEClass;
343 } 322 }
@@ -457,7 +436,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
457 createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); 436 createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT);
458 437
459 interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); 438 interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION);
460 createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME);
461 439
462 communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); 440 communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT);
463 createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); 441 createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM);
@@ -469,7 +447,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
469 447
470 commSubsystemEClass = createEClass(COMM_SUBSYSTEM); 448 commSubsystemEClass = createEClass(COMM_SUBSYSTEM);
471 createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); 449 createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET);
472 createEReference(commSubsystemEClass, COMM_SUBSYSTEM__SOURCE);
473 450
474 payloadEClass = createEClass(PAYLOAD); 451 payloadEClass = createEClass(PAYLOAD);
475 452
@@ -537,15 +514,12 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
537 initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null, 514 initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null,
538 "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, 515 "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE,
539 IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 516 IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
540 initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50, 517 initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, -1,
541 ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, 518 ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
542 !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 519 !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
543 520
544 initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, 521 initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT,
545 !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 522 !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
546 initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0",
547 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
548 IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
549 523
550 initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, 524 initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT,
551 !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 525 !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -564,12 +538,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka
564 538
565 initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, 539 initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE,
566 IS_GENERATED_INSTANCE_CLASS); 540 IS_GENERATED_INSTANCE_CLASS);
567 initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), this.getCommSubsystem_Source(), "target", 541 initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1,
568 null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, 542 CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
569 IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 543 !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
570 initEReference(getCommSubsystem_Source(), this.getCommSubsystem(), this.getCommSubsystem_Target(), "source",
571 null, 0, -1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
572 IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
573 544
574 initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 545 initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
575 546