diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen')
4 files changed, 315 insertions, 1 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..4c5ea937 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 | |||
@@ -14,6 +14,8 @@ import org.eclipse.emf.ecore.EObject; | |||
14 | * </p> | 14 | * </p> |
15 | * <ul> | 15 | * <ul> |
16 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> | 16 | * <li>{@link satellite.CommSubsystem#getTarget <em>Target</em>}</li> |
17 | * <li>{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}</li> | ||
18 | * <li>{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}</li> | ||
17 | * </ul> | 19 | * </ul> |
18 | * | 20 | * |
19 | * @see satellite.SatellitePackage#getCommSubsystem() | 21 | * @see satellite.SatellitePackage#getCommSubsystem() |
@@ -44,4 +46,48 @@ public interface CommSubsystem extends EObject { | |||
44 | */ | 46 | */ |
45 | void setTarget(CommSubsystem value); | 47 | void setTarget(CommSubsystem value); |
46 | 48 | ||
49 | /** | ||
50 | * Returns the value of the '<em><b>Frequency</b></em>' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @return the value of the '<em>Frequency</em>' attribute. | ||
54 | * @see #setFrequency(int) | ||
55 | * @see satellite.SatellitePackage#getCommSubsystem_Frequency() | ||
56 | * @model required="true" | ||
57 | * @generated | ||
58 | */ | ||
59 | int getFrequency(); | ||
60 | |||
61 | /** | ||
62 | * Sets the value of the '{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @param value the new value of the '<em>Frequency</em>' attribute. | ||
66 | * @see #getFrequency() | ||
67 | * @generated | ||
68 | */ | ||
69 | void setFrequency(int value); | ||
70 | |||
71 | /** | ||
72 | * Returns the value of the '<em><b>Path Length</b></em>' attribute. | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @return the value of the '<em>Path Length</em>' attribute. | ||
76 | * @see #setPathLength(int) | ||
77 | * @see satellite.SatellitePackage#getCommSubsystem_PathLength() | ||
78 | * @model required="true" | ||
79 | * @generated | ||
80 | */ | ||
81 | int getPathLength(); | ||
82 | |||
83 | /** | ||
84 | * Sets the value of the '{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}' attribute. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param value the new value of the '<em>Path Length</em>' attribute. | ||
88 | * @see #getPathLength() | ||
89 | * @generated | ||
90 | */ | ||
91 | void setPathLength(int value); | ||
92 | |||
47 | } // CommSubsystem | 93 | } // 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 9ca99311..173e2388 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,6 +2,7 @@ | |||
2 | */ | 2 | */ |
3 | package satellite; | 3 | package satellite; |
4 | 4 | ||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
5 | import org.eclipse.emf.ecore.EClass; | 6 | import org.eclipse.emf.ecore.EClass; |
6 | import org.eclipse.emf.ecore.EPackage; | 7 | import org.eclipse.emf.ecore.EPackage; |
7 | import org.eclipse.emf.ecore.EReference; | 8 | import org.eclipse.emf.ecore.EReference; |
@@ -287,13 +288,31 @@ public interface SatellitePackage extends EPackage { | |||
287 | int COMM_SUBSYSTEM__TARGET = 0; | 288 | int COMM_SUBSYSTEM__TARGET = 0; |
288 | 289 | ||
289 | /** | 290 | /** |
291 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * <!-- end-user-doc --> | ||
294 | * @generated | ||
295 | * @ordered | ||
296 | */ | ||
297 | int COMM_SUBSYSTEM__FREQUENCY = 1; | ||
298 | |||
299 | /** | ||
300 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
301 | * <!-- begin-user-doc --> | ||
302 | * <!-- end-user-doc --> | ||
303 | * @generated | ||
304 | * @ordered | ||
305 | */ | ||
306 | int COMM_SUBSYSTEM__PATH_LENGTH = 2; | ||
307 | |||
308 | /** | ||
290 | * 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. |
291 | * <!-- begin-user-doc --> | 310 | * <!-- begin-user-doc --> |
292 | * <!-- end-user-doc --> | 311 | * <!-- end-user-doc --> |
293 | * @generated | 312 | * @generated |
294 | * @ordered | 313 | * @ordered |
295 | */ | 314 | */ |
296 | int COMM_SUBSYSTEM_FEATURE_COUNT = 1; | 315 | int COMM_SUBSYSTEM_FEATURE_COUNT = 3; |
297 | 316 | ||
298 | /** | 317 | /** |
299 | * The number of operations of the '<em>Comm Subsystem</em>' class. | 318 | * The number of operations of the '<em>Comm Subsystem</em>' class. |
@@ -564,6 +583,24 @@ public interface SatellitePackage extends EPackage { | |||
564 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 583 | int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
565 | 584 | ||
566 | /** | 585 | /** |
586 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @generated | ||
590 | * @ordered | ||
591 | */ | ||
592 | int UHF_COMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
593 | |||
594 | /** | ||
595 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
596 | * <!-- begin-user-doc --> | ||
597 | * <!-- end-user-doc --> | ||
598 | * @generated | ||
599 | * @ordered | ||
600 | */ | ||
601 | int UHF_COMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
602 | |||
603 | /** | ||
567 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. | 604 | * The number of structural features of the '<em>UHF Comm Subsystem</em>' class. |
568 | * <!-- begin-user-doc --> | 605 | * <!-- begin-user-doc --> |
569 | * <!-- end-user-doc --> | 606 | * <!-- end-user-doc --> |
@@ -601,6 +638,24 @@ public interface SatellitePackage extends EPackage { | |||
601 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 638 | int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
602 | 639 | ||
603 | /** | 640 | /** |
641 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
642 | * <!-- begin-user-doc --> | ||
643 | * <!-- end-user-doc --> | ||
644 | * @generated | ||
645 | * @ordered | ||
646 | */ | ||
647 | int XCOMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
648 | |||
649 | /** | ||
650 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
651 | * <!-- begin-user-doc --> | ||
652 | * <!-- end-user-doc --> | ||
653 | * @generated | ||
654 | * @ordered | ||
655 | */ | ||
656 | int XCOMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
657 | |||
658 | /** | ||
604 | * The number of structural features of the '<em>XComm Subsystem</em>' class. | 659 | * The number of structural features of the '<em>XComm Subsystem</em>' class. |
605 | * <!-- begin-user-doc --> | 660 | * <!-- begin-user-doc --> |
606 | * <!-- end-user-doc --> | 661 | * <!-- end-user-doc --> |
@@ -638,6 +693,24 @@ public interface SatellitePackage extends EPackage { | |||
638 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; | 693 | int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; |
639 | 694 | ||
640 | /** | 695 | /** |
696 | * The feature id for the '<em><b>Frequency</b></em>' attribute. | ||
697 | * <!-- begin-user-doc --> | ||
698 | * <!-- end-user-doc --> | ||
699 | * @generated | ||
700 | * @ordered | ||
701 | */ | ||
702 | int KA_COMM_SUBSYSTEM__FREQUENCY = COMM_SUBSYSTEM__FREQUENCY; | ||
703 | |||
704 | /** | ||
705 | * The feature id for the '<em><b>Path Length</b></em>' attribute. | ||
706 | * <!-- begin-user-doc --> | ||
707 | * <!-- end-user-doc --> | ||
708 | * @generated | ||
709 | * @ordered | ||
710 | */ | ||
711 | int KA_COMM_SUBSYSTEM__PATH_LENGTH = COMM_SUBSYSTEM__PATH_LENGTH; | ||
712 | |||
713 | /** | ||
641 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. | 714 | * The number of structural features of the '<em>Ka Comm Subsystem</em>' class. |
642 | * <!-- begin-user-doc --> | 715 | * <!-- begin-user-doc --> |
643 | * <!-- end-user-doc --> | 716 | * <!-- end-user-doc --> |
@@ -771,6 +844,28 @@ public interface SatellitePackage extends EPackage { | |||
771 | EReference getCommSubsystem_Target(); | 844 | EReference getCommSubsystem_Target(); |
772 | 845 | ||
773 | /** | 846 | /** |
847 | * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getFrequency <em>Frequency</em>}'. | ||
848 | * <!-- begin-user-doc --> | ||
849 | * <!-- end-user-doc --> | ||
850 | * @return the meta object for the attribute '<em>Frequency</em>'. | ||
851 | * @see satellite.CommSubsystem#getFrequency() | ||
852 | * @see #getCommSubsystem() | ||
853 | * @generated | ||
854 | */ | ||
855 | EAttribute getCommSubsystem_Frequency(); | ||
856 | |||
857 | /** | ||
858 | * Returns the meta object for the attribute '{@link satellite.CommSubsystem#getPathLength <em>Path Length</em>}'. | ||
859 | * <!-- begin-user-doc --> | ||
860 | * <!-- end-user-doc --> | ||
861 | * @return the meta object for the attribute '<em>Path Length</em>'. | ||
862 | * @see satellite.CommSubsystem#getPathLength() | ||
863 | * @see #getCommSubsystem() | ||
864 | * @generated | ||
865 | */ | ||
866 | EAttribute getCommSubsystem_PathLength(); | ||
867 | |||
868 | /** | ||
774 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. | 869 | * Returns the meta object for class '{@link satellite.Payload <em>Payload</em>}'. |
775 | * <!-- begin-user-doc --> | 870 | * <!-- begin-user-doc --> |
776 | * <!-- end-user-doc --> | 871 | * <!-- end-user-doc --> |
@@ -985,6 +1080,22 @@ public interface SatellitePackage extends EPackage { | |||
985 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); | 1080 | EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); |
986 | 1081 | ||
987 | /** | 1082 | /** |
1083 | * The meta object literal for the '<em><b>Frequency</b></em>' attribute feature. | ||
1084 | * <!-- begin-user-doc --> | ||
1085 | * <!-- end-user-doc --> | ||
1086 | * @generated | ||
1087 | */ | ||
1088 | EAttribute COMM_SUBSYSTEM__FREQUENCY = eINSTANCE.getCommSubsystem_Frequency(); | ||
1089 | |||
1090 | /** | ||
1091 | * The meta object literal for the '<em><b>Path Length</b></em>' attribute feature. | ||
1092 | * <!-- begin-user-doc --> | ||
1093 | * <!-- end-user-doc --> | ||
1094 | * @generated | ||
1095 | */ | ||
1096 | EAttribute COMM_SUBSYSTEM__PATH_LENGTH = eINSTANCE.getCommSubsystem_PathLength(); | ||
1097 | |||
1098 | /** | ||
988 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. | 1099 | * The meta object literal for the '{@link satellite.impl.PayloadImpl <em>Payload</em>}' class. |
989 | * <!-- begin-user-doc --> | 1100 | * <!-- begin-user-doc --> |
990 | * <!-- end-user-doc --> | 1101 | * <!-- 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 d39abd4d..96a25d7c 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 | |||
@@ -19,6 +19,8 @@ import satellite.SatellitePackage; | |||
19 | * </p> | 19 | * </p> |
20 | * <ul> | 20 | * <ul> |
21 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> | 21 | * <li>{@link satellite.impl.CommSubsystemImpl#getTarget <em>Target</em>}</li> |
22 | * <li>{@link satellite.impl.CommSubsystemImpl#getFrequency <em>Frequency</em>}</li> | ||
23 | * <li>{@link satellite.impl.CommSubsystemImpl#getPathLength <em>Path Length</em>}</li> | ||
22 | * </ul> | 24 | * </ul> |
23 | * | 25 | * |
24 | * @generated | 26 | * @generated |
@@ -35,6 +37,45 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
35 | protected CommSubsystem target; | 37 | protected CommSubsystem target; |
36 | 38 | ||
37 | /** | 39 | /** |
40 | * The default value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getFrequency() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected static final int FREQUENCY_EDEFAULT = 0; | ||
48 | /** | ||
49 | * The cached value of the '{@link #getFrequency() <em>Frequency</em>}' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #getFrequency() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected int frequency = FREQUENCY_EDEFAULT; | ||
57 | |||
58 | /** | ||
59 | * The default value of the '{@link #getPathLength() <em>Path Length</em>}' attribute. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see #getPathLength() | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | protected static final int PATH_LENGTH_EDEFAULT = 0; | ||
67 | |||
68 | /** | ||
69 | * The cached value of the '{@link #getPathLength() <em>Path Length</em>}' attribute. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @see #getPathLength() | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | protected int pathLength = PATH_LENGTH_EDEFAULT; | ||
77 | |||
78 | /** | ||
38 | * <!-- begin-user-doc --> | 79 | * <!-- begin-user-doc --> |
39 | * <!-- end-user-doc --> | 80 | * <!-- end-user-doc --> |
40 | * @generated | 81 | * @generated |
@@ -101,12 +142,64 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
101 | * @generated | 142 | * @generated |
102 | */ | 143 | */ |
103 | @Override | 144 | @Override |
145 | public int getFrequency() { | ||
146 | return frequency; | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public void setFrequency(int newFrequency) { | ||
156 | int oldFrequency = frequency; | ||
157 | frequency = newFrequency; | ||
158 | if (eNotificationRequired()) | ||
159 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__FREQUENCY, | ||
160 | oldFrequency, frequency)); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * <!-- begin-user-doc --> | ||
165 | * <!-- end-user-doc --> | ||
166 | * @generated | ||
167 | */ | ||
168 | @Override | ||
169 | public int getPathLength() { | ||
170 | return pathLength; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * <!-- begin-user-doc --> | ||
175 | * <!-- end-user-doc --> | ||
176 | * @generated | ||
177 | */ | ||
178 | @Override | ||
179 | public void setPathLength(int newPathLength) { | ||
180 | int oldPathLength = pathLength; | ||
181 | pathLength = newPathLength; | ||
182 | if (eNotificationRequired()) | ||
183 | eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH, | ||
184 | oldPathLength, pathLength)); | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | @Override | ||
104 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 193 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
105 | switch (featureID) { | 194 | switch (featureID) { |
106 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 195 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
107 | if (resolve) | 196 | if (resolve) |
108 | return getTarget(); | 197 | return getTarget(); |
109 | return basicGetTarget(); | 198 | return basicGetTarget(); |
199 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
200 | return getFrequency(); | ||
201 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
202 | return getPathLength(); | ||
110 | } | 203 | } |
111 | return super.eGet(featureID, resolve, coreType); | 204 | return super.eGet(featureID, resolve, coreType); |
112 | } | 205 | } |
@@ -123,6 +216,12 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
123 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 216 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
124 | setTarget((CommSubsystem) newValue); | 217 | setTarget((CommSubsystem) newValue); |
125 | return; | 218 | return; |
219 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
220 | setFrequency((Integer) newValue); | ||
221 | return; | ||
222 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
223 | setPathLength((Integer) newValue); | ||
224 | return; | ||
126 | } | 225 | } |
127 | super.eSet(featureID, newValue); | 226 | super.eSet(featureID, newValue); |
128 | } | 227 | } |
@@ -138,6 +237,12 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
138 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 237 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
139 | setTarget((CommSubsystem) null); | 238 | setTarget((CommSubsystem) null); |
140 | return; | 239 | return; |
240 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
241 | setFrequency(FREQUENCY_EDEFAULT); | ||
242 | return; | ||
243 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
244 | setPathLength(PATH_LENGTH_EDEFAULT); | ||
245 | return; | ||
141 | } | 246 | } |
142 | super.eUnset(featureID); | 247 | super.eUnset(featureID); |
143 | } | 248 | } |
@@ -152,8 +257,31 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp | |||
152 | switch (featureID) { | 257 | switch (featureID) { |
153 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: | 258 | case SatellitePackage.COMM_SUBSYSTEM__TARGET: |
154 | return target != null; | 259 | return target != null; |
260 | case SatellitePackage.COMM_SUBSYSTEM__FREQUENCY: | ||
261 | return frequency != FREQUENCY_EDEFAULT; | ||
262 | case SatellitePackage.COMM_SUBSYSTEM__PATH_LENGTH: | ||
263 | return pathLength != PATH_LENGTH_EDEFAULT; | ||
155 | } | 264 | } |
156 | return super.eIsSet(featureID); | 265 | return super.eIsSet(featureID); |
157 | } | 266 | } |
158 | 267 | ||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | @Override | ||
274 | public String toString() { | ||
275 | if (eIsProxy()) | ||
276 | return super.toString(); | ||
277 | |||
278 | StringBuilder result = new StringBuilder(super.toString()); | ||
279 | result.append(" (frequency: "); | ||
280 | result.append(frequency); | ||
281 | result.append(", pathLength: "); | ||
282 | result.append(pathLength); | ||
283 | result.append(')'); | ||
284 | return result.toString(); | ||
285 | } | ||
286 | |||
159 | } //CommSubsystemImpl | 287 | } //CommSubsystemImpl |
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 f6dc1e30..39a6075f 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,6 +2,7 @@ | |||
2 | */ | 2 | */ |
3 | package satellite.impl; | 3 | package satellite.impl; |
4 | 4 | ||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
5 | import org.eclipse.emf.ecore.EClass; | 6 | import org.eclipse.emf.ecore.EClass; |
6 | import org.eclipse.emf.ecore.EPackage; | 7 | import org.eclipse.emf.ecore.EPackage; |
7 | import org.eclipse.emf.ecore.EReference; | 8 | import org.eclipse.emf.ecore.EReference; |
@@ -317,6 +318,26 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
317 | * @generated | 318 | * @generated |
318 | */ | 319 | */ |
319 | @Override | 320 | @Override |
321 | public EAttribute getCommSubsystem_Frequency() { | ||
322 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(1); | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * <!-- begin-user-doc --> | ||
327 | * <!-- end-user-doc --> | ||
328 | * @generated | ||
329 | */ | ||
330 | @Override | ||
331 | public EAttribute getCommSubsystem_PathLength() { | ||
332 | return (EAttribute) commSubsystemEClass.getEStructuralFeatures().get(2); | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | */ | ||
340 | @Override | ||
320 | public EClass getPayload() { | 341 | public EClass getPayload() { |
321 | return payloadEClass; | 342 | return payloadEClass; |
322 | } | 343 | } |
@@ -447,6 +468,8 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
447 | 468 | ||
448 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); | 469 | commSubsystemEClass = createEClass(COMM_SUBSYSTEM); |
449 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); | 470 | createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); |
471 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__FREQUENCY); | ||
472 | createEAttribute(commSubsystemEClass, COMM_SUBSYSTEM__PATH_LENGTH); | ||
450 | 473 | ||
451 | payloadEClass = createEClass(PAYLOAD); | 474 | payloadEClass = createEClass(PAYLOAD); |
452 | 475 | ||
@@ -541,6 +564,12 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka | |||
541 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, | 564 | initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, |
542 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, | 565 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, |
543 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 566 | !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
567 | initEAttribute(getCommSubsystem_Frequency(), ecorePackage.getEInt(), "frequency", null, 1, 1, | ||
568 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, | ||
569 | !IS_DERIVED, IS_ORDERED); | ||
570 | initEAttribute(getCommSubsystem_PathLength(), ecorePackage.getEInt(), "pathLength", null, 1, 1, | ||
571 | CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, | ||
572 | !IS_DERIVED, IS_ORDERED); | ||
544 | 573 | ||
545 | 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); |
546 | 575 | ||