diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java | 347 |
1 files changed, 347 insertions, 0 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java new file mode 100644 index 00000000..fd948334 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java | |||
@@ -0,0 +1,347 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.domains.satellite.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.satellite.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
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 hu.bme.mit.inf.dslreasoner.domains.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 caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
101 | return createDirectedCommunicationLinkAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter casePayload(Payload object) { | ||
106 | return createPayloadAdapter(); | ||
107 | } | ||
108 | |||
109 | @Override | ||
110 | public Adapter caseInterferometryPayload(InterferometryPayload object) { | ||
111 | return createInterferometryPayloadAdapter(); | ||
112 | } | ||
113 | |||
114 | @Override | ||
115 | public Adapter caseCubeSat3U(CubeSat3U object) { | ||
116 | return createCubeSat3UAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
121 | return createCubeSat6UAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseSmallSat(SmallSat object) { | ||
126 | return createSmallSatAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter caseCubeSat(CubeSat object) { | ||
131 | return createCubeSatAdapter(); | ||
132 | } | ||
133 | |||
134 | @Override | ||
135 | public Adapter defaultCase(EObject object) { | ||
136 | return createEObjectAdapter(); | ||
137 | } | ||
138 | }; | ||
139 | |||
140 | /** | ||
141 | * Creates an adapter for the <code>target</code>. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @param target the object to adapt. | ||
145 | * @return the adapter for the <code>target</code>. | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public Adapter createAdapter(Notifier target) { | ||
150 | return modelSwitch.doSwitch((EObject) target); | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * This default implementation returns null so that we can easily ignore cases; | ||
157 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
158 | * <!-- end-user-doc --> | ||
159 | * @return the new adapter. | ||
160 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission | ||
161 | * @generated | ||
162 | */ | ||
163 | public Adapter createConstellationMissionAdapter() { | ||
164 | return null; | ||
165 | } | ||
166 | |||
167 | /** | ||
168 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
169 | * <!-- begin-user-doc --> | ||
170 | * This default implementation returns null so that we can easily ignore cases; | ||
171 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
172 | * <!-- end-user-doc --> | ||
173 | * @return the new adapter. | ||
174 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission | ||
175 | * @generated | ||
176 | */ | ||
177 | public Adapter createInterferometryMissionAdapter() { | ||
178 | return null; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * This default implementation returns null so that we can easily ignore cases; | ||
185 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
186 | * <!-- end-user-doc --> | ||
187 | * @return the new adapter. | ||
188 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement | ||
189 | * @generated | ||
190 | */ | ||
191 | public Adapter createCommunicatingElementAdapter() { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This default implementation returns null so that we can easily ignore cases; | ||
199 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the new adapter. | ||
202 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork | ||
203 | * @generated | ||
204 | */ | ||
205 | public Adapter createGroundStationNetworkAdapter() { | ||
206 | return null; | ||
207 | } | ||
208 | |||
209 | /** | ||
210 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft <em>Spacecraft</em>}'. | ||
211 | * <!-- begin-user-doc --> | ||
212 | * This default implementation returns null so that we can easily ignore cases; | ||
213 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
214 | * <!-- end-user-doc --> | ||
215 | * @return the new adapter. | ||
216 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft | ||
217 | * @generated | ||
218 | */ | ||
219 | public Adapter createSpacecraftAdapter() { | ||
220 | return null; | ||
221 | } | ||
222 | |||
223 | /** | ||
224 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
225 | * <!-- begin-user-doc --> | ||
226 | * This default implementation returns null so that we can easily ignore cases; | ||
227 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
228 | * <!-- end-user-doc --> | ||
229 | * @return the new adapter. | ||
230 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem | ||
231 | * @generated | ||
232 | */ | ||
233 | public Adapter createCommSubsystemAdapter() { | ||
234 | return null; | ||
235 | } | ||
236 | |||
237 | /** | ||
238 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | ||
239 | * <!-- begin-user-doc --> | ||
240 | * This default implementation returns null so that we can easily ignore cases; | ||
241 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
242 | * <!-- end-user-doc --> | ||
243 | * @return the new adapter. | ||
244 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink | ||
245 | * @generated | ||
246 | */ | ||
247 | public Adapter createDirectedCommunicationLinkAdapter() { | ||
248 | return null; | ||
249 | } | ||
250 | |||
251 | /** | ||
252 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload <em>Payload</em>}'. | ||
253 | * <!-- begin-user-doc --> | ||
254 | * This default implementation returns null so that we can easily ignore cases; | ||
255 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
256 | * <!-- end-user-doc --> | ||
257 | * @return the new adapter. | ||
258 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload | ||
259 | * @generated | ||
260 | */ | ||
261 | public Adapter createPayloadAdapter() { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
267 | * <!-- begin-user-doc --> | ||
268 | * This default implementation returns null so that we can easily ignore cases; | ||
269 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
270 | * <!-- end-user-doc --> | ||
271 | * @return the new adapter. | ||
272 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload | ||
273 | * @generated | ||
274 | */ | ||
275 | public Adapter createInterferometryPayloadAdapter() { | ||
276 | return null; | ||
277 | } | ||
278 | |||
279 | /** | ||
280 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * This default implementation returns null so that we can easily ignore cases; | ||
283 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
284 | * <!-- end-user-doc --> | ||
285 | * @return the new adapter. | ||
286 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
287 | * @generated | ||
288 | */ | ||
289 | public Adapter createCubeSat3UAdapter() { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This default implementation returns null so that we can easily ignore cases; | ||
297 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @return the new adapter. | ||
300 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
301 | * @generated | ||
302 | */ | ||
303 | public Adapter createCubeSat6UAdapter() { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This default implementation returns null so that we can easily ignore cases; | ||
311 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @return the new adapter. | ||
314 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
315 | * @generated | ||
316 | */ | ||
317 | public Adapter createSmallSatAdapter() { | ||
318 | return null; | ||
319 | } | ||
320 | |||
321 | /** | ||
322 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat <em>Cube Sat</em>}'. | ||
323 | * <!-- begin-user-doc --> | ||
324 | * This default implementation returns null so that we can easily ignore cases; | ||
325 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
326 | * <!-- end-user-doc --> | ||
327 | * @return the new adapter. | ||
328 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat | ||
329 | * @generated | ||
330 | */ | ||
331 | public Adapter createCubeSatAdapter() { | ||
332 | return null; | ||
333 | } | ||
334 | |||
335 | /** | ||
336 | * Creates a new adapter for the default case. | ||
337 | * <!-- begin-user-doc --> | ||
338 | * This default implementation returns null. | ||
339 | * <!-- end-user-doc --> | ||
340 | * @return the new adapter. | ||
341 | * @generated | ||
342 | */ | ||
343 | public Adapter createEObjectAdapter() { | ||
344 | return null; | ||
345 | } | ||
346 | |||
347 | } //SatelliteAdapterFactory | ||