diff options
author | 2019-04-15 16:23:19 +0200 | |
---|---|---|
committer | 2019-04-15 16:23:19 +0200 | |
commit | 2531cfb60d747c261a20201415728beb0e24ab9b (patch) | |
tree | 0d7a242c674d735879e8c017bda7212e7ad02df2 /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/satellite/util/SatelliteAdapterFactory.java | |
parent | Make diversity checking work with optimization (diff) | |
download | VIATRA-Generator-2531cfb60d747c261a20201415728beb0e24ab9b.tar.gz VIATRA-Generator-2531cfb60d747c261a20201415728beb0e24ab9b.tar.zst VIATRA-Generator-2531cfb60d747c261a20201415728beb0e24ab9b.zip |
Satellite constellation case study WIP
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 | 328 |
1 files changed, 328 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..c2ba615b --- /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,328 @@ | |||
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 caseCubeSat3U(CubeSat3U object) { | ||
96 | return createCubeSat3UAdapter(); | ||
97 | } | ||
98 | |||
99 | @Override | ||
100 | public Adapter caseCubeSat6U(CubeSat6U object) { | ||
101 | return createCubeSat6UAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter caseSmallSat(SmallSat object) { | ||
106 | return createSmallSatAdapter(); | ||
107 | } | ||
108 | |||
109 | @Override | ||
110 | public Adapter caseCommSubsystem(CommSubsystem object) { | ||
111 | return createCommSubsystemAdapter(); | ||
112 | } | ||
113 | |||
114 | @Override | ||
115 | public Adapter caseDirectedCommunicationLink(DirectedCommunicationLink object) { | ||
116 | return createDirectedCommunicationLinkAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter casePayload(Payload object) { | ||
121 | return createPayloadAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseInterferometryPayload(InterferometryPayload object) { | ||
126 | return createInterferometryPayloadAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter defaultCase(EObject object) { | ||
131 | return createEObjectAdapter(); | ||
132 | } | ||
133 | }; | ||
134 | |||
135 | /** | ||
136 | * Creates an adapter for the <code>target</code>. | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @param target the object to adapt. | ||
140 | * @return the adapter for the <code>target</code>. | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public Adapter createAdapter(Notifier target) { | ||
145 | return modelSwitch.doSwitch((EObject) target); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission <em>Constellation Mission</em>}'. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * This default implementation returns null so that we can easily ignore cases; | ||
152 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
153 | * <!-- end-user-doc --> | ||
154 | * @return the new adapter. | ||
155 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.ConstellationMission | ||
156 | * @generated | ||
157 | */ | ||
158 | public Adapter createConstellationMissionAdapter() { | ||
159 | return null; | ||
160 | } | ||
161 | |||
162 | /** | ||
163 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission <em>Interferometry Mission</em>}'. | ||
164 | * <!-- begin-user-doc --> | ||
165 | * This default implementation returns null so that we can easily ignore cases; | ||
166 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
167 | * <!-- end-user-doc --> | ||
168 | * @return the new adapter. | ||
169 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryMission | ||
170 | * @generated | ||
171 | */ | ||
172 | public Adapter createInterferometryMissionAdapter() { | ||
173 | return null; | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement <em>Communicating Element</em>}'. | ||
178 | * <!-- begin-user-doc --> | ||
179 | * This default implementation returns null so that we can easily ignore cases; | ||
180 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
181 | * <!-- end-user-doc --> | ||
182 | * @return the new adapter. | ||
183 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommunicatingElement | ||
184 | * @generated | ||
185 | */ | ||
186 | public Adapter createCommunicatingElementAdapter() { | ||
187 | return null; | ||
188 | } | ||
189 | |||
190 | /** | ||
191 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork <em>Ground Station Network</em>}'. | ||
192 | * <!-- begin-user-doc --> | ||
193 | * This default implementation returns null so that we can easily ignore cases; | ||
194 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
195 | * <!-- end-user-doc --> | ||
196 | * @return the new adapter. | ||
197 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.GroundStationNetwork | ||
198 | * @generated | ||
199 | */ | ||
200 | public Adapter createGroundStationNetworkAdapter() { | ||
201 | return null; | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft <em>Spacecraft</em>}'. | ||
206 | * <!-- begin-user-doc --> | ||
207 | * This default implementation returns null so that we can easily ignore cases; | ||
208 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
209 | * <!-- end-user-doc --> | ||
210 | * @return the new adapter. | ||
211 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Spacecraft | ||
212 | * @generated | ||
213 | */ | ||
214 | public Adapter createSpacecraftAdapter() { | ||
215 | return null; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U <em>Cube Sat3 U</em>}'. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * This default implementation returns null so that we can easily ignore cases; | ||
222 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
223 | * <!-- end-user-doc --> | ||
224 | * @return the new adapter. | ||
225 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat3U | ||
226 | * @generated | ||
227 | */ | ||
228 | public Adapter createCubeSat3UAdapter() { | ||
229 | return null; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U <em>Cube Sat6 U</em>}'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * This default implementation returns null so that we can easily ignore cases; | ||
236 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
237 | * <!-- end-user-doc --> | ||
238 | * @return the new adapter. | ||
239 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CubeSat6U | ||
240 | * @generated | ||
241 | */ | ||
242 | public Adapter createCubeSat6UAdapter() { | ||
243 | return null; | ||
244 | } | ||
245 | |||
246 | /** | ||
247 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat <em>Small Sat</em>}'. | ||
248 | * <!-- begin-user-doc --> | ||
249 | * This default implementation returns null so that we can easily ignore cases; | ||
250 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
251 | * <!-- end-user-doc --> | ||
252 | * @return the new adapter. | ||
253 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.SmallSat | ||
254 | * @generated | ||
255 | */ | ||
256 | public Adapter createSmallSatAdapter() { | ||
257 | return null; | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem <em>Comm Subsystem</em>}'. | ||
262 | * <!-- begin-user-doc --> | ||
263 | * This default implementation returns null so that we can easily ignore cases; | ||
264 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
265 | * <!-- end-user-doc --> | ||
266 | * @return the new adapter. | ||
267 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.CommSubsystem | ||
268 | * @generated | ||
269 | */ | ||
270 | public Adapter createCommSubsystemAdapter() { | ||
271 | return null; | ||
272 | } | ||
273 | |||
274 | /** | ||
275 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink <em>Directed Communication Link</em>}'. | ||
276 | * <!-- begin-user-doc --> | ||
277 | * This default implementation returns null so that we can easily ignore cases; | ||
278 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
279 | * <!-- end-user-doc --> | ||
280 | * @return the new adapter. | ||
281 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.DirectedCommunicationLink | ||
282 | * @generated | ||
283 | */ | ||
284 | public Adapter createDirectedCommunicationLinkAdapter() { | ||
285 | return null; | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.Payload <em>Payload</em>}'. | ||
290 | * <!-- begin-user-doc --> | ||
291 | * This default implementation returns null so that we can easily ignore cases; | ||
292 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
293 | * <!-- end-user-doc --> | ||
294 | * @return the new adapter. | ||
295 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.Payload | ||
296 | * @generated | ||
297 | */ | ||
298 | public Adapter createPayloadAdapter() { | ||
299 | return null; | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload <em>Interferometry Payload</em>}'. | ||
304 | * <!-- begin-user-doc --> | ||
305 | * This default implementation returns null so that we can easily ignore cases; | ||
306 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
307 | * <!-- end-user-doc --> | ||
308 | * @return the new adapter. | ||
309 | * @see hu.bme.mit.inf.dslreasoner.domains.satellite.InterferometryPayload | ||
310 | * @generated | ||
311 | */ | ||
312 | public Adapter createInterferometryPayloadAdapter() { | ||
313 | return null; | ||
314 | } | ||
315 | |||
316 | /** | ||
317 | * Creates a new adapter for the default case. | ||
318 | * <!-- begin-user-doc --> | ||
319 | * This default implementation returns null. | ||
320 | * <!-- end-user-doc --> | ||
321 | * @return the new adapter. | ||
322 | * @generated | ||
323 | */ | ||
324 | public Adapter createEObjectAdapter() { | ||
325 | return null; | ||
326 | } | ||
327 | |||
328 | } //SatelliteAdapterFactory | ||