diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java | 385 |
1 files changed, 385 insertions, 0 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java new file mode 100644 index 00000000..175f474f --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/util/SatelliteAdapterFactory.java | |||
@@ -0,0 +1,385 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package satellite.util; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Adapter; | ||
6 | import org.eclipse.emf.common.notify.Notifier; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EObject; | ||
11 | |||
12 | import satellite.*; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see satellite.SatellitePackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SatelliteAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static SatellitePackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public SatelliteAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = SatellitePackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject) object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected SatelliteSwitch<Adapter> modelSwitch = new SatelliteSwitch<Adapter>() { | ||
69 | @Override | ||
70 | public Adapter caseConstellationMission(ConstellationMission object) { | ||
71 | return createConstellationMissionAdapter(); | ||
72 | } | ||
73 | |||
74 | @Override | ||
75 | public Adapter caseInterferometryMission(InterferometryMission object) { | ||
76 | return createInterferometryMissionAdapter(); | ||
77 | } | ||
78 | |||
79 | @Override | ||
80 | public Adapter caseCommunicatingElement(CommunicatingElement object) { | ||
81 | return createCommunicatingElementAdapter(); | ||
82 | } | ||
83 | |||
84 | @Override | ||
85 | public Adapter caseGroundStationNetwork(GroundStationNetwork object) { | ||
86 | return createGroundStationNetworkAdapter(); | ||
87 | } | ||
88 | |||
89 | @Override | ||
90 | public Adapter caseSpacecraft(Spacecraft object) { | ||
91 | return createSpacecraftAdapter(); | ||
92 | } | ||
93 | |||
94 | @Override | ||
95 | public Adapter caseCommSubsystem(CommSubsystem object) { | ||
96 | return createCommSubsystemAdapter(); | ||
97 | } | ||
98 | |||
99 | @Override | ||
100 | public Adapter casePayload(Payload object) { | ||
101 | return createPayloadAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter caseInterferometryPayload(InterferometryPayload object) { | ||
106 | return createInterferometryPayloadAdapter(); | ||
107 | } | ||
108 | |||
109 | @Override | ||
110 | public Adapter caseCubeSat3U(CubeSat3U object) { | ||
111 | return createCubeSat3UAdapter(); | ||
112 | } | ||
113 | |||
114 | @Override | ||
115 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
116 | return createCubeSat6UAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter caseSmallSat(SmallSat object) { | ||
121 | return createSmallSatAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseCubeSat(CubeSat object) { | ||
126 | return createCubeSatAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter caseUHFCommSubsystem(UHFCommSubsystem object) { | ||
131 | return createUHFCommSubsystemAdapter(); | ||
132 | } | ||
133 | |||
134 | @Override | ||
135 | public Adapter caseXCommSubsystem(XCommSubsystem object) { | ||
136 | return createXCommSubsystemAdapter(); | ||
137 | } | ||
138 | |||
139 | @Override | ||
140 | public Adapter caseKaCommSubsystem(KaCommSubsystem object) { | ||
141 | return createKaCommSubsystemAdapter(); | ||
142 | } | ||
143 | |||
144 | @Override | ||
145 | public Adapter defaultCase(EObject object) { | ||
146 | return createEObjectAdapter(); | ||
147 | } | ||
148 | }; | ||
149 | |||
150 | /** | ||
151 | * Creates an adapter for the <code>target</code>. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @param target the object to adapt. | ||
155 | * @return the adapter for the <code>target</code>. | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public Adapter createAdapter(Notifier target) { | ||
160 | return modelSwitch.doSwitch((EObject) target); | ||
161 | } | ||
162 | |||
163 | /** | ||
164 | * Creates a new adapter for an object of class '{@link satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
165 | * <!-- begin-user-doc --> | ||
166 | * This default implementation returns null so that we can easily ignore cases; | ||
167 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
168 | * <!-- end-user-doc --> | ||
169 | * @return the new adapter. | ||
170 | * @see satellite.ConstellationMission | ||
171 | * @generated | ||
172 | */ | ||
173 | public Adapter createConstellationMissionAdapter() { | ||
174 | return null; | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * Creates a new adapter for an object of class '{@link satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
179 | * <!-- begin-user-doc --> | ||
180 | * This default implementation returns null so that we can easily ignore cases; | ||
181 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
182 | * <!-- end-user-doc --> | ||
183 | * @return the new adapter. | ||
184 | * @see satellite.InterferometryMission | ||
185 | * @generated | ||
186 | */ | ||
187 | public Adapter createInterferometryMissionAdapter() { | ||
188 | return null; | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * Creates a new adapter for an object of class '{@link satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
193 | * <!-- begin-user-doc --> | ||
194 | * This default implementation returns null so that we can easily ignore cases; | ||
195 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
196 | * <!-- end-user-doc --> | ||
197 | * @return the new adapter. | ||
198 | * @see satellite.CommunicatingElement | ||
199 | * @generated | ||
200 | */ | ||
201 | public Adapter createCommunicatingElementAdapter() { | ||
202 | return null; | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * Creates a new adapter for an object of class '{@link satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
207 | * <!-- begin-user-doc --> | ||
208 | * This default implementation returns null so that we can easily ignore cases; | ||
209 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
210 | * <!-- end-user-doc --> | ||
211 | * @return the new adapter. | ||
212 | * @see satellite.GroundStationNetwork | ||
213 | * @generated | ||
214 | */ | ||
215 | public Adapter createGroundStationNetworkAdapter() { | ||
216 | return null; | ||
217 | } | ||
218 | |||
219 | /** | ||
220 | * Creates a new adapter for an object of class '{@link satellite.Spacecraft <em>Spacecraft</em>}'. | ||
221 | * <!-- begin-user-doc --> | ||
222 | * This default implementation returns null so that we can easily ignore cases; | ||
223 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
224 | * <!-- end-user-doc --> | ||
225 | * @return the new adapter. | ||
226 | * @see satellite.Spacecraft | ||
227 | * @generated | ||
228 | */ | ||
229 | public Adapter createSpacecraftAdapter() { | ||
230 | return null; | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * Creates a new adapter for an object of class '{@link satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
235 | * <!-- begin-user-doc --> | ||
236 | * This default implementation returns null so that we can easily ignore cases; | ||
237 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
238 | * <!-- end-user-doc --> | ||
239 | * @return the new adapter. | ||
240 | * @see satellite.CommSubsystem | ||
241 | * @generated | ||
242 | */ | ||
243 | public Adapter createCommSubsystemAdapter() { | ||
244 | return null; | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * Creates a new adapter for an object of class '{@link satellite.Payload <em>Payload</em>}'. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * This default implementation returns null so that we can easily ignore cases; | ||
251 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
252 | * <!-- end-user-doc --> | ||
253 | * @return the new adapter. | ||
254 | * @see satellite.Payload | ||
255 | * @generated | ||
256 | */ | ||
257 | public Adapter createPayloadAdapter() { | ||
258 | return null; | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * Creates a new adapter for an object of class '{@link satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
263 | * <!-- begin-user-doc --> | ||
264 | * This default implementation returns null so that we can easily ignore cases; | ||
265 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
266 | * <!-- end-user-doc --> | ||
267 | * @return the new adapter. | ||
268 | * @see satellite.InterferometryPayload | ||
269 | * @generated | ||
270 | */ | ||
271 | public Adapter createInterferometryPayloadAdapter() { | ||
272 | return null; | ||
273 | } | ||
274 | |||
275 | /** | ||
276 | * Creates a new adapter for an object of class '{@link satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
277 | * <!-- begin-user-doc --> | ||
278 | * This default implementation returns null so that we can easily ignore cases; | ||
279 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
280 | * <!-- end-user-doc --> | ||
281 | * @return the new adapter. | ||
282 | * @see satellite.CubeSat3U | ||
283 | * @generated | ||
284 | */ | ||
285 | public Adapter createCubeSat3UAdapter() { | ||
286 | return null; | ||
287 | } | ||
288 | |||
289 | /** | ||
290 | * Creates a new adapter for an object of class '{@link satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
291 | * <!-- begin-user-doc --> | ||
292 | * This default implementation returns null so that we can easily ignore cases; | ||
293 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
294 | * <!-- end-user-doc --> | ||
295 | * @return the new adapter. | ||
296 | * @see satellite.CubeSat6U | ||
297 | * @generated | ||
298 | */ | ||
299 | public Adapter createCubeSat6UAdapter() { | ||
300 | return null; | ||
301 | } | ||
302 | |||
303 | /** | ||
304 | * Creates a new adapter for an object of class '{@link satellite.SmallSat <em>Small Sat</em>}'. | ||
305 | * <!-- begin-user-doc --> | ||
306 | * This default implementation returns null so that we can easily ignore cases; | ||
307 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
308 | * <!-- end-user-doc --> | ||
309 | * @return the new adapter. | ||
310 | * @see satellite.SmallSat | ||
311 | * @generated | ||
312 | */ | ||
313 | public Adapter createSmallSatAdapter() { | ||
314 | return null; | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * Creates a new adapter for an object of class '{@link satellite.CubeSat <em>Cube Sat</em>}'. | ||
319 | * <!-- begin-user-doc --> | ||
320 | * This default implementation returns null so that we can easily ignore cases; | ||
321 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
322 | * <!-- end-user-doc --> | ||
323 | * @return the new adapter. | ||
324 | * @see satellite.CubeSat | ||
325 | * @generated | ||
326 | */ | ||
327 | public Adapter createCubeSatAdapter() { | ||
328 | return null; | ||
329 | } | ||
330 | |||
331 | /** | ||
332 | * Creates a new adapter for an object of class '{@link satellite.UHFCommSubsystem <em>UHF Comm Subsystem</em>}'. | ||
333 | * <!-- begin-user-doc --> | ||
334 | * This default implementation returns null so that we can easily ignore cases; | ||
335 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
336 | * <!-- end-user-doc --> | ||
337 | * @return the new adapter. | ||
338 | * @see satellite.UHFCommSubsystem | ||
339 | * @generated | ||
340 | */ | ||
341 | public Adapter createUHFCommSubsystemAdapter() { | ||
342 | return null; | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * Creates a new adapter for an object of class '{@link satellite.XCommSubsystem <em>XComm Subsystem</em>}'. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * This default implementation returns null so that we can easily ignore cases; | ||
349 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
350 | * <!-- end-user-doc --> | ||
351 | * @return the new adapter. | ||
352 | * @see satellite.XCommSubsystem | ||
353 | * @generated | ||
354 | */ | ||
355 | public Adapter createXCommSubsystemAdapter() { | ||
356 | return null; | ||
357 | } | ||
358 | |||
359 | /** | ||
360 | * Creates a new adapter for an object of class '{@link satellite.KaCommSubsystem <em>Ka Comm Subsystem</em>}'. | ||
361 | * <!-- begin-user-doc --> | ||
362 | * This default implementation returns null so that we can easily ignore cases; | ||
363 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
364 | * <!-- end-user-doc --> | ||
365 | * @return the new adapter. | ||
366 | * @see satellite.KaCommSubsystem | ||
367 | * @generated | ||
368 | */ | ||
369 | public Adapter createKaCommSubsystemAdapter() { | ||
370 | return null; | ||
371 | } | ||
372 | |||
373 | /** | ||
374 | * Creates a new adapter for the default case. | ||
375 | * <!-- begin-user-doc --> | ||
376 | * This default implementation returns null. | ||
377 | * <!-- end-user-doc --> | ||
378 | * @return the new adapter. | ||
379 | * @generated | ||
380 | */ | ||
381 | public Adapter createEObjectAdapter() { | ||
382 | return null; | ||
383 | } | ||
384 | |||
385 | } //SatelliteAdapterFactory | ||