diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen')
4 files changed, 203 insertions, 10 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 3b9d7ecf..90bca78c 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,6 +2,7 @@ | |||
2 | */ | 2 | */ |
3 | package satellite; | 3 | package satellite; |
4 | 4 | ||
5 | import org.eclipse.emf.common.util.EList; | ||
5 | import org.eclipse.emf.ecore.EObject; | 6 | import org.eclipse.emf.ecore.EObject; |
6 | 7 | ||
7 | /** | 8 | /** |
@@ -14,6 +15,7 @@ import org.eclipse.emf.ecore.EObject; | |||
14 | * </p> | 15 | * </p> |
15 | * <ul> | 16 | * <ul> |
16 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> | 17 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> |
18 | * <li>{@link satellite.CommSubsystem#getSource <em>Source</em>}</li> | ||
17 | * </ul> | 19 | * </ul> |
18 | * | 20 | * |
19 | * @see satellite.SatellitePackage#getCommSubsystem() | 21 | * @see satellite.SatellitePackage#getCommSubsystem() |
@@ -24,12 +26,14 @@ public interface CommSubsystem extends EObject { | |||
24 | 26 | ||
25 | /** | 27 | /** |
26 | * Returns the value of the '<em><b>Target</b></em>' reference. | 28 | * 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>}'. | ||
27 | * <!-- begin-user-doc --> | 30 | * <!-- begin-user-doc --> |
28 | * <!-- end-user-doc --> | 31 | * <!-- end-user-doc --> |
29 | * @return the value of the '<em>Target</em>' reference. | 32 | * @return the value of the '<em>Target</em>' reference. |
30 | * @see #setTarget(CommSubsystem) | 33 | * @see #setTarget(CommSubsystem) |
31 | * @see satellite.SatellitePackage#getCommSubsystem_Target() | 34 | * @see satellite.SatellitePackage#getCommSubsystem_Target() |
32 | * @model | 35 | * @see satellite.CommSubsystem#getSource |
36 | * @model opposite="source" | ||
33 | * @generated | 37 | * @generated |
34 | */ | 38 | */ |
35 | CommSubsystem getTarget(); | 39 | CommSubsystem getTarget(); |
@@ -44,4 +48,18 @@ public interface CommSubsystem extends EObject { | |||
44 | */ | 48 | */ |
45 | void setTarget(CommSubsystem value); | 49 | void setTarget(CommSubsystem value); |
46 | 50 | ||
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 | |||
47 | } // CommSubsystem | 65 | } // CommSubsystem |
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 64a60d6a..7be4ef84 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 | |||
@@ -297,13 +297,22 @@ public interface SatellitePackage extends EPackage { | |||
297 | int COMM_SUBSYSTEM__TARGET = 0; | 297 | int COMM_SUBSYSTEM__TARGET = 0; |
298 | 298 | ||
299 | /** | 299 | /** |
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 | /** | ||
300 | * The number of structural features of the '<em>Comm Subsystem</em>' class. | 309 | * The number of structural features of the '<em>Comm Subsystem</em>' class. |
301 | * <!-- begin-user-doc --> | 310 | * <!-- begin-user-doc --> |
302 | * <!-- end-user-doc --> | 311 | * <!-- end-user-doc --> |
303 | * @generated | 312 | * @generated |
304 | * @ordered | 313 | * @ordered |
305 | */ | 314 | */ |
306 | int COMM_SUBSYSTEM_FEATURE_COUNT = 1; | 315 | int COMM_SUBSYSTEM_FEATURE_COUNT = 2; |
307 | 316 | ||
308 | /** | 317 | /** |
309 | * The number of operations of the '<em>Comm Subsystem</em>' class. | 318 | * The number of operations of the '<em>Comm Subsystem</em>' class. |
@@ -574,6 +583,15 @@ public interface SatellitePackage extends EPackage { | |||
574 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 583 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
575 | 584 | ||
576 | /** | 585 | /** |
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 | /** | ||
577 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. | 595 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. |
578 | * <!-- begin-user-doc --> | 596 | * <!-- begin-user-doc --> |
579 | * <!-- end-user-doc --> | 597 | * <!-- end-user-doc --> |
@@ -611,6 +629,15 @@ public interface SatellitePackage extends EPackage { | |||
611 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 629 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
612 | 630 | ||
613 | /** | 631 | /** |
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 | /** | ||
614 | * The number of structural features of the '<em>XComm Subsystem</em>' class. | 641 | * The number of structural features of the '<em>XComm Subsystem</em>' class. |
615 | * <!-- begin-user-doc --> | 642 | * <!-- begin-user-doc --> |
616 | * <!-- end-user-doc --> | 643 | * <!-- end-user-doc --> |
@@ -648,6 +675,15 @@ public interface SatellitePackage extends EPackage { | |||
648 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 675 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
649 | 676 | ||
650 | /** | 677 | /** |
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 | /** | ||
651 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. | 687 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. |
652 | * <!-- begin-user-doc --> | 688 | * <!-- begin-user-doc --> |
653 | * <!-- end-user-doc --> | 689 | * <!-- end-user-doc --> |
@@ -792,6 +828,17 @@ public interface SatellitePackage extends EPackage { | |||
792 | EReference getCommSubsystem_Target(); | 828 | EReference getCommSubsystem_Target(); |
793 | 829 | ||
794 | /** | 830 | /** |
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 | /** | ||
795 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. | 842 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. |
796 | * <!-- begin-user-doc --> | 843 | * <!-- begin-user-doc --> |
797 | * <!-- end-user-doc --> | 844 | * <!-- end-user-doc --> |
@@ -1014,6 +1061,14 @@ public interface SatellitePackage extends EPackage { | |||
1014 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); | 1061 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); |
1015 | 1062 | ||
1016 | /** | 1063 | /** |
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 | /** | ||
1017 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | 1072 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. |
1018 | * <!-- begin-user-doc --> | 1073 | * <!-- begin-user-doc --> |
1019 | * <!-- end-user-doc --> | 1074 | * <!-- 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 cdfbd6de..21e385a8 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,11 +2,16 @@ | |||
2 | */ | 2 | */ |
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import java.util.Collection; | ||
5 | import org.eclipse.emf.common.notify.Notification; | 6 | import org.eclipse.emf.common.notify.Notification; |
7 | import org.eclipse.emf.common.notify.NotificationChain; | ||
8 | import org.eclipse.emf.common.util.EList; | ||
6 | import org.eclipse.emf.ecore.EClass; | 9 | import org.eclipse.emf.ecore.EClass; |
7 | import org.eclipse.emf.ecore.InternalEObject; | 10 | import org.eclipse.emf.ecore.InternalEObject; |
8 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 11 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
9 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | 12 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; |
13 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
14 | import org.eclipse.emf.ecore.util.InternalEList; | ||
10 | import satellite.CommSubsystem; | 15 | import satellite.CommSubsystem; |
11 | import satellite.SatellitePackage; | 16 | import satellite.SatellitePackage; |
12 | 17 | ||
@@ -19,6 +24,7 @@ import satellite.SatellitePackage; | |||
19 | * </p> | 24 | * </p> |
20 | * <ul> | 25 | * <ul> |
21 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> | 26 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> |
27 | * <li>{@link satellite.impl.CommSubsystemImpl#getSource <em>Source</em>}</li> | ||
22 | * </ul> | 28 | * </ul> |
23 | * | 29 | * |
24 | * @generated | 30 | * @generated |
@@ -35,6 +41,16 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
35 | protected CommSubsystem target; | 41 | protected CommSubsystem target; |
36 | 42 | ||
37 | /** | 43 | /** |
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 | /** | ||
38 | * <!-- begin-user-doc --> | 54 | * <!-- begin-user-doc --> |
39 | * <!-- end-user-doc --> | 55 | * <!-- end-user-doc --> |
40 | * @generated | 56 | * @generated |
@@ -86,13 +102,91 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
86 | * <!-- end-user-doc --> | 102 | * <!-- end-user-doc --> |
87 | * @generated | 103 | * @generated |
88 | */ | 104 | */ |
89 | @Override | 105 | public NotificationChain basicSetTarget(CommSubsystem newTarget, NotificationChain msgs) { |
90 | public void setTarget(CommSubsystem newTarget) { | ||
91 | CommSubsystem oldTarget = target; | 106 | CommSubsystem oldTarget = target; |
92 | target = newTarget; | 107 | target = newTarget; |
93 | if (eNotificationRequired()) | 108 | if (eNotificationRequired()) { |
94 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, | 109 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, |
95 | target)); | 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 | ||
125 | public void setTarget(CommSubsystem newTarget) { | ||
126 | if (newTarget != target) { | ||
127 | NotificationChain msgs = null; | ||
128 | if (target != null) | ||
129 | msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE, | ||
130 | CommSubsystem.class, msgs); | ||
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); | ||
96 | } | 190 | } |
97 | 191 | ||
98 | /** | 192 | /** |
@@ -107,6 +201,8 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
107 | if (resolve) | 201 | if (resolve) |
108 | return getTarget(); | 202 | return getTarget(); |
109 | return basicGetTarget(); | 203 | return basicGetTarget(); |
204 | case SatellitePackage.COMM_SUBSYSTEM__SOURCE: | ||
205 | return getSource(); | ||
110 | } | 206 | } |
111 | return super.eGet(featureID, resolve, coreType); | 207 | return super.eGet(featureID, resolve, coreType); |
112 | } | 208 | } |
@@ -116,12 +212,17 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
116 | * <!-- end-user-doc --> | 212 | * <!-- end-user-doc --> |
117 | * @generated | 213 | * @generated |
118 | */ | 214 | */ |
215 | @SuppressWarnings("unchecked") | ||
119 | @Override | 216 | @Override |
120 | public void eSet(int featureID, Object newValue) { | 217 | public void eSet(int featureID, Object newValue) { |
121 | switch (featureID) { | 218 | switch (featureID) { |
122 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 219 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
123 | setTarget((CommSubsystem) newValue); | 220 | setTarget((CommSubsystem) newValue); |
124 | return; | 221 | return; |
222 | case SatellitePackage.COMM_SUBSYSTEM__SOURCE: | ||
223 | getSource().clear(); | ||
224 | getSource().addAll((Collection<? extends CommSubsystem>) newValue); | ||
225 | return; | ||
125 | } | 226 | } |
126 | super.eSet(featureID, newValue); | 227 | super.eSet(featureID, newValue); |
127 | } | 228 | } |
@@ -137,6 +238,9 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
137 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 238 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
138 | setTarget((CommSubsystem) null); | 239 | setTarget((CommSubsystem) null); |
139 | return; | 240 | return; |
241 | case SatellitePackage.COMM_SUBSYSTEM__SOURCE: | ||
242 | getSource().clear(); | ||
243 | return; | ||
140 | } | 244 | } |
141 | super.eUnset(featureID); | 245 | super.eUnset(featureID); |
142 | } | 246 | } |
@@ -151,6 +255,8 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
151 | switch (featureID) { | 255 | switch (featureID) { |
152 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 256 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
153 | return target != null; | 257 | return target != null; |
258 | case SatellitePackage.COMM_SUBSYSTEM__SOURCE: | ||
259 | return source != null && !source.isEmpty(); | ||
154 | } | 260 | } |
155 | return super.eIsSet(featureID); | 261 | return super.eIsSet(featureID); |
156 | } | 262 | } |
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 e3e20e0c..17212a96 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 | |||
@@ -328,6 +328,16 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
328 | * @generated | 328 | * @generated |
329 | */ | 329 | */ |
330 | @Override | 330 | @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 | ||
331 | public EClass getPayload() { | 341 | public EClass getPayload() { |
332 | return payloadEClass; | 342 | return payloadEClass; |
333 | } | 343 | } |
@@ -459,6 +469,7 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
459 | 469 | ||
460 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | 470 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); |
461 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); | 471 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); |
472 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__SOURCE); | ||
462 | 473 | ||
463 | payloadEClass = createEClass(PAYLOAD); | 474 | payloadEClass = createEClass(PAYLOAD); |
464 | 475 | ||
@@ -553,9 +564,12 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
553 | 564 | ||
554 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, | 565 | initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, |
555 | IS_GENERATED_INSTANCE_CLASS); | 566 | IS_GENERATED_INSTANCE_CLASS); |
556 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, | 567 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), this.getCommSubsystem_Source(), "target", |
557 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, | 568 | null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, |
558 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 569 | IS_RESOLVE_PROXIES, !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); | ||
559 | 573 | ||
560 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 574 | initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
561 | 575 | ||