diff options
author | 2019-02-05 23:54:03 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | 7f7f934fe6ad11df96906d009eec68583fd46660 (patch) | |
tree | 17828b0e833bc89b2b796fcc7da6cb74d6ec3e9c /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java | |
parent | Generated files change (diff) | |
download | VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.gz VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.tar.zst VIATRA-Generator-7f7f934fe6ad11df96906d009eec68583fd46660.zip |
[Stochastic] Fault tree transformation langauge
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java | 473 |
1 files changed, 473 insertions, 0 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java new file mode 100644 index 00000000..035b1191 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java | |||
@@ -0,0 +1,473 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Adapter; | ||
9 | import org.eclipse.emf.common.notify.Notifier; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EObject; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * The <b>Adapter Factory</b> for the model. | ||
18 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class CftLanguageAdapterFactory extends AdapterFactoryImpl | ||
24 | { | ||
25 | /** | ||
26 | * The cached model package. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @generated | ||
30 | */ | ||
31 | protected static CftLanguagePackage modelPackage; | ||
32 | |||
33 | /** | ||
34 | * Creates an instance of the adapter factory. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @generated | ||
38 | */ | ||
39 | public CftLanguageAdapterFactory() | ||
40 | { | ||
41 | if (modelPackage == null) | ||
42 | { | ||
43 | modelPackage = CftLanguagePackage.eINSTANCE; | ||
44 | } | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * Returns whether this factory is applicable for the type of the object. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
51 | * <!-- end-user-doc --> | ||
52 | * @return whether this factory is applicable for the type of the object. | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | public boolean isFactoryForType(Object object) | ||
57 | { | ||
58 | if (object == modelPackage) | ||
59 | { | ||
60 | return true; | ||
61 | } | ||
62 | if (object instanceof EObject) | ||
63 | { | ||
64 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
65 | } | ||
66 | return false; | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * The switch that delegates to the <code>createXXX</code> methods. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @generated | ||
74 | */ | ||
75 | protected CftLanguageSwitch<Adapter> modelSwitch = | ||
76 | new CftLanguageSwitch<Adapter>() | ||
77 | { | ||
78 | @Override | ||
79 | public Adapter caseCftModel(CftModel object) | ||
80 | { | ||
81 | return createCftModelAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseImportDeclaration(ImportDeclaration object) | ||
85 | { | ||
86 | return createImportDeclarationAdapter(); | ||
87 | } | ||
88 | @Override | ||
89 | public Adapter caseComponentDefinition(ComponentDefinition object) | ||
90 | { | ||
91 | return createComponentDefinitionAdapter(); | ||
92 | } | ||
93 | @Override | ||
94 | public Adapter caseEventDeclaration(EventDeclaration object) | ||
95 | { | ||
96 | return createEventDeclarationAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseInputEvent(InputEvent object) | ||
100 | { | ||
101 | return createInputEventAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseEventDefinition(EventDefinition object) | ||
105 | { | ||
106 | return createEventDefinitionAdapter(); | ||
107 | } | ||
108 | @Override | ||
109 | public Adapter caseBasicEventDefinition(BasicEventDefinition object) | ||
110 | { | ||
111 | return createBasicEventDefinitionAdapter(); | ||
112 | } | ||
113 | @Override | ||
114 | public Adapter caseGateDefinition(GateDefinition object) | ||
115 | { | ||
116 | return createGateDefinitionAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseAndGate(AndGate object) | ||
120 | { | ||
121 | return createAndGateAdapter(); | ||
122 | } | ||
123 | @Override | ||
124 | public Adapter caseOrGate(OrGate object) | ||
125 | { | ||
126 | return createOrGateAdapter(); | ||
127 | } | ||
128 | @Override | ||
129 | public Adapter caseTransformationDefinition(TransformationDefinition object) | ||
130 | { | ||
131 | return createTransformationDefinitionAdapter(); | ||
132 | } | ||
133 | @Override | ||
134 | public Adapter caseMappingDefinition(MappingDefinition object) | ||
135 | { | ||
136 | return createMappingDefinitionAdapter(); | ||
137 | } | ||
138 | @Override | ||
139 | public Adapter caseMappingParameter(MappingParameter object) | ||
140 | { | ||
141 | return createMappingParameterAdapter(); | ||
142 | } | ||
143 | @Override | ||
144 | public Adapter caseLookupDefinition(LookupDefinition object) | ||
145 | { | ||
146 | return createLookupDefinitionAdapter(); | ||
147 | } | ||
148 | @Override | ||
149 | public Adapter caseVariable(Variable object) | ||
150 | { | ||
151 | return createVariableAdapter(); | ||
152 | } | ||
153 | @Override | ||
154 | public Adapter caseAssignment(Assignment object) | ||
155 | { | ||
156 | return createAssignmentAdapter(); | ||
157 | } | ||
158 | @Override | ||
159 | public Adapter caseEventReference(EventReference object) | ||
160 | { | ||
161 | return createEventReferenceAdapter(); | ||
162 | } | ||
163 | @Override | ||
164 | public Adapter caseComponentInstance(ComponentInstance object) | ||
165 | { | ||
166 | return createComponentInstanceAdapter(); | ||
167 | } | ||
168 | @Override | ||
169 | public Adapter defaultCase(EObject object) | ||
170 | { | ||
171 | return createEObjectAdapter(); | ||
172 | } | ||
173 | }; | ||
174 | |||
175 | /** | ||
176 | * Creates an adapter for the <code>target</code>. | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @param target the object to adapt. | ||
180 | * @return the adapter for the <code>target</code>. | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public Adapter createAdapter(Notifier target) | ||
185 | { | ||
186 | return modelSwitch.doSwitch((EObject)target); | ||
187 | } | ||
188 | |||
189 | |||
190 | /** | ||
191 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel <em>Cft Model</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.faulttree.components.cftLanguage.CftModel | ||
198 | * @generated | ||
199 | */ | ||
200 | public Adapter createCftModelAdapter() | ||
201 | { | ||
202 | return null; | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration <em>Import Declaration</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 hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration | ||
213 | * @generated | ||
214 | */ | ||
215 | public Adapter createImportDeclarationAdapter() | ||
216 | { | ||
217 | return null; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition <em>Component Definition</em>}'. | ||
222 | * <!-- begin-user-doc --> | ||
223 | * This default implementation returns null so that we can easily ignore cases; | ||
224 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
225 | * <!-- end-user-doc --> | ||
226 | * @return the new adapter. | ||
227 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition | ||
228 | * @generated | ||
229 | */ | ||
230 | public Adapter createComponentDefinitionAdapter() | ||
231 | { | ||
232 | return null; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration <em>Event Declaration</em>}'. | ||
237 | * <!-- begin-user-doc --> | ||
238 | * This default implementation returns null so that we can easily ignore cases; | ||
239 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
240 | * <!-- end-user-doc --> | ||
241 | * @return the new adapter. | ||
242 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration | ||
243 | * @generated | ||
244 | */ | ||
245 | public Adapter createEventDeclarationAdapter() | ||
246 | { | ||
247 | return null; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent <em>Input Event</em>}'. | ||
252 | * <!-- begin-user-doc --> | ||
253 | * This default implementation returns null so that we can easily ignore cases; | ||
254 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
255 | * <!-- end-user-doc --> | ||
256 | * @return the new adapter. | ||
257 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent | ||
258 | * @generated | ||
259 | */ | ||
260 | public Adapter createInputEventAdapter() | ||
261 | { | ||
262 | return null; | ||
263 | } | ||
264 | |||
265 | /** | ||
266 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition <em>Event Definition</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.faulttree.components.cftLanguage.EventDefinition | ||
273 | * @generated | ||
274 | */ | ||
275 | public Adapter createEventDefinitionAdapter() | ||
276 | { | ||
277 | return null; | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
282 | * <!-- begin-user-doc --> | ||
283 | * This default implementation returns null so that we can easily ignore cases; | ||
284 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
285 | * <!-- end-user-doc --> | ||
286 | * @return the new adapter. | ||
287 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition | ||
288 | * @generated | ||
289 | */ | ||
290 | public Adapter createBasicEventDefinitionAdapter() | ||
291 | { | ||
292 | return null; | ||
293 | } | ||
294 | |||
295 | /** | ||
296 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition <em>Gate Definition</em>}'. | ||
297 | * <!-- begin-user-doc --> | ||
298 | * This default implementation returns null so that we can easily ignore cases; | ||
299 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
300 | * <!-- end-user-doc --> | ||
301 | * @return the new adapter. | ||
302 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition | ||
303 | * @generated | ||
304 | */ | ||
305 | public Adapter createGateDefinitionAdapter() | ||
306 | { | ||
307 | return null; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate <em>And Gate</em>}'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This default implementation returns null so that we can easily ignore cases; | ||
314 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @return the new adapter. | ||
317 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate | ||
318 | * @generated | ||
319 | */ | ||
320 | public Adapter createAndGateAdapter() | ||
321 | { | ||
322 | return null; | ||
323 | } | ||
324 | |||
325 | /** | ||
326 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate <em>Or Gate</em>}'. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * This default implementation returns null so that we can easily ignore cases; | ||
329 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
330 | * <!-- end-user-doc --> | ||
331 | * @return the new adapter. | ||
332 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate | ||
333 | * @generated | ||
334 | */ | ||
335 | public Adapter createOrGateAdapter() | ||
336 | { | ||
337 | return null; | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition <em>Transformation Definition</em>}'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * This default implementation returns null so that we can easily ignore cases; | ||
344 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
345 | * <!-- end-user-doc --> | ||
346 | * @return the new adapter. | ||
347 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition | ||
348 | * @generated | ||
349 | */ | ||
350 | public Adapter createTransformationDefinitionAdapter() | ||
351 | { | ||
352 | return null; | ||
353 | } | ||
354 | |||
355 | /** | ||
356 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition <em>Mapping Definition</em>}'. | ||
357 | * <!-- begin-user-doc --> | ||
358 | * This default implementation returns null so that we can easily ignore cases; | ||
359 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
360 | * <!-- end-user-doc --> | ||
361 | * @return the new adapter. | ||
362 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition | ||
363 | * @generated | ||
364 | */ | ||
365 | public Adapter createMappingDefinitionAdapter() | ||
366 | { | ||
367 | return null; | ||
368 | } | ||
369 | |||
370 | /** | ||
371 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter <em>Mapping Parameter</em>}'. | ||
372 | * <!-- begin-user-doc --> | ||
373 | * This default implementation returns null so that we can easily ignore cases; | ||
374 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
375 | * <!-- end-user-doc --> | ||
376 | * @return the new adapter. | ||
377 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter | ||
378 | * @generated | ||
379 | */ | ||
380 | public Adapter createMappingParameterAdapter() | ||
381 | { | ||
382 | return null; | ||
383 | } | ||
384 | |||
385 | /** | ||
386 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition <em>Lookup Definition</em>}'. | ||
387 | * <!-- begin-user-doc --> | ||
388 | * This default implementation returns null so that we can easily ignore cases; | ||
389 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
390 | * <!-- end-user-doc --> | ||
391 | * @return the new adapter. | ||
392 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition | ||
393 | * @generated | ||
394 | */ | ||
395 | public Adapter createLookupDefinitionAdapter() | ||
396 | { | ||
397 | return null; | ||
398 | } | ||
399 | |||
400 | /** | ||
401 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable <em>Variable</em>}'. | ||
402 | * <!-- begin-user-doc --> | ||
403 | * This default implementation returns null so that we can easily ignore cases; | ||
404 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
405 | * <!-- end-user-doc --> | ||
406 | * @return the new adapter. | ||
407 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable | ||
408 | * @generated | ||
409 | */ | ||
410 | public Adapter createVariableAdapter() | ||
411 | { | ||
412 | return null; | ||
413 | } | ||
414 | |||
415 | /** | ||
416 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment <em>Assignment</em>}'. | ||
417 | * <!-- begin-user-doc --> | ||
418 | * This default implementation returns null so that we can easily ignore cases; | ||
419 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
420 | * <!-- end-user-doc --> | ||
421 | * @return the new adapter. | ||
422 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment | ||
423 | * @generated | ||
424 | */ | ||
425 | public Adapter createAssignmentAdapter() | ||
426 | { | ||
427 | return null; | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference <em>Event Reference</em>}'. | ||
432 | * <!-- begin-user-doc --> | ||
433 | * This default implementation returns null so that we can easily ignore cases; | ||
434 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
435 | * <!-- end-user-doc --> | ||
436 | * @return the new adapter. | ||
437 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference | ||
438 | * @generated | ||
439 | */ | ||
440 | public Adapter createEventReferenceAdapter() | ||
441 | { | ||
442 | return null; | ||
443 | } | ||
444 | |||
445 | /** | ||
446 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance <em>Component Instance</em>}'. | ||
447 | * <!-- begin-user-doc --> | ||
448 | * This default implementation returns null so that we can easily ignore cases; | ||
449 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
450 | * <!-- end-user-doc --> | ||
451 | * @return the new adapter. | ||
452 | * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance | ||
453 | * @generated | ||
454 | */ | ||
455 | public Adapter createComponentInstanceAdapter() | ||
456 | { | ||
457 | return null; | ||
458 | } | ||
459 | |||
460 | /** | ||
461 | * Creates a new adapter for the default case. | ||
462 | * <!-- begin-user-doc --> | ||
463 | * This default implementation returns null. | ||
464 | * <!-- end-user-doc --> | ||
465 | * @return the new adapter. | ||
466 | * @generated | ||
467 | */ | ||
468 | public Adapter createEObjectAdapter() | ||
469 | { | ||
470 | return null; | ||
471 | } | ||
472 | |||
473 | } //CftLanguageAdapterFactory | ||