diff options
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java | 372 |
1 files changed, 0 insertions, 372 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java deleted file mode 100644 index f5d3bf83..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java +++ /dev/null | |||
@@ -1,372 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; | ||
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.faulttree.model.cft.CftPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class CftAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static CftPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public CftAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = CftPackage.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 CftSwitch<Adapter> modelSwitch = | ||
69 | new CftSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseComponentDefinition(ComponentDefinition object) { | ||
72 | return createComponentDefinitionAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseEventDefinition(EventDefinition object) { | ||
76 | return createEventDefinitionAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseGateDefinition(GateDefinition object) { | ||
80 | return createGateDefinitionAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseBasicEventDefinition(BasicEventDefinition object) { | ||
84 | return createBasicEventDefinitionAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseInputEvent(InputEvent object) { | ||
88 | return createInputEventAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseEventDeclaration(EventDeclaration object) { | ||
92 | return createEventDeclarationAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseAndGateDefinition(AndGateDefinition object) { | ||
96 | return createAndGateDefinitionAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseOrGateDefinition(OrGateDefinition object) { | ||
100 | return createOrGateDefinitionAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseKOfMGateDefinition(KOfMGateDefinition object) { | ||
104 | return createKOfMGateDefinitionAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseComponentFaultTree(ComponentFaultTree object) { | ||
108 | return createComponentFaultTreeAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseComponent(Component object) { | ||
112 | return createComponentAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseInput(Input object) { | ||
116 | return createInputAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseOutput(Output object) { | ||
120 | return createOutputAdapter(); | ||
121 | } | ||
122 | @Override | ||
123 | public Adapter caseConnection(Connection object) { | ||
124 | return createConnectionAdapter(); | ||
125 | } | ||
126 | @Override | ||
127 | public Adapter caseModalElement(ModalElement object) { | ||
128 | return createModalElementAdapter(); | ||
129 | } | ||
130 | @Override | ||
131 | public Adapter defaultCase(EObject object) { | ||
132 | return createEObjectAdapter(); | ||
133 | } | ||
134 | }; | ||
135 | |||
136 | /** | ||
137 | * Creates an adapter for the <code>target</code>. | ||
138 | * <!-- begin-user-doc --> | ||
139 | * <!-- end-user-doc --> | ||
140 | * @param target the object to adapt. | ||
141 | * @return the adapter for the <code>target</code>. | ||
142 | * @generated | ||
143 | */ | ||
144 | @Override | ||
145 | public Adapter createAdapter(Notifier target) { | ||
146 | return modelSwitch.doSwitch((EObject)target); | ||
147 | } | ||
148 | |||
149 | |||
150 | /** | ||
151 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * This default implementation returns null so that we can easily ignore cases; | ||
154 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
155 | * <!-- end-user-doc --> | ||
156 | * @return the new adapter. | ||
157 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition | ||
158 | * @generated | ||
159 | */ | ||
160 | public Adapter createComponentDefinitionAdapter() { | ||
161 | return null; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'. | ||
166 | * <!-- begin-user-doc --> | ||
167 | * This default implementation returns null so that we can easily ignore cases; | ||
168 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
169 | * <!-- end-user-doc --> | ||
170 | * @return the new adapter. | ||
171 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition | ||
172 | * @generated | ||
173 | */ | ||
174 | public Adapter createEventDefinitionAdapter() { | ||
175 | return null; | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * This default implementation returns null so that we can easily ignore cases; | ||
182 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
183 | * <!-- end-user-doc --> | ||
184 | * @return the new adapter. | ||
185 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition | ||
186 | * @generated | ||
187 | */ | ||
188 | public Adapter createGateDefinitionAdapter() { | ||
189 | return null; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'. | ||
194 | * <!-- begin-user-doc --> | ||
195 | * This default implementation returns null so that we can easily ignore cases; | ||
196 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
197 | * <!-- end-user-doc --> | ||
198 | * @return the new adapter. | ||
199 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition | ||
200 | * @generated | ||
201 | */ | ||
202 | public Adapter createBasicEventDefinitionAdapter() { | ||
203 | return null; | ||
204 | } | ||
205 | |||
206 | /** | ||
207 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent <em>Input Event</em>}'. | ||
208 | * <!-- begin-user-doc --> | ||
209 | * This default implementation returns null so that we can easily ignore cases; | ||
210 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
211 | * <!-- end-user-doc --> | ||
212 | * @return the new adapter. | ||
213 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent | ||
214 | * @generated | ||
215 | */ | ||
216 | public Adapter createInputEventAdapter() { | ||
217 | return null; | ||
218 | } | ||
219 | |||
220 | /** | ||
221 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</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.model.cft.EventDeclaration | ||
228 | * @generated | ||
229 | */ | ||
230 | public Adapter createEventDeclarationAdapter() { | ||
231 | return null; | ||
232 | } | ||
233 | |||
234 | /** | ||
235 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * This default implementation returns null so that we can easily ignore cases; | ||
238 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
239 | * <!-- end-user-doc --> | ||
240 | * @return the new adapter. | ||
241 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition | ||
242 | * @generated | ||
243 | */ | ||
244 | public Adapter createAndGateDefinitionAdapter() { | ||
245 | return null; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * This default implementation returns null so that we can easily ignore cases; | ||
252 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
253 | * <!-- end-user-doc --> | ||
254 | * @return the new adapter. | ||
255 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition | ||
256 | * @generated | ||
257 | */ | ||
258 | public Adapter createOrGateDefinitionAdapter() { | ||
259 | return null; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * This default implementation returns null so that we can easily ignore cases; | ||
266 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
267 | * <!-- end-user-doc --> | ||
268 | * @return the new adapter. | ||
269 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition | ||
270 | * @generated | ||
271 | */ | ||
272 | public Adapter createKOfMGateDefinitionAdapter() { | ||
273 | return null; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * This default implementation returns null so that we can easily ignore cases; | ||
280 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
281 | * <!-- end-user-doc --> | ||
282 | * @return the new adapter. | ||
283 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree | ||
284 | * @generated | ||
285 | */ | ||
286 | public Adapter createComponentFaultTreeAdapter() { | ||
287 | return null; | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'. | ||
292 | * <!-- begin-user-doc --> | ||
293 | * This default implementation returns null so that we can easily ignore cases; | ||
294 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
295 | * <!-- end-user-doc --> | ||
296 | * @return the new adapter. | ||
297 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component | ||
298 | * @generated | ||
299 | */ | ||
300 | public Adapter createComponentAdapter() { | ||
301 | return null; | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'. | ||
306 | * <!-- begin-user-doc --> | ||
307 | * This default implementation returns null so that we can easily ignore cases; | ||
308 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
309 | * <!-- end-user-doc --> | ||
310 | * @return the new adapter. | ||
311 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input | ||
312 | * @generated | ||
313 | */ | ||
314 | public Adapter createInputAdapter() { | ||
315 | return null; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'. | ||
320 | * <!-- begin-user-doc --> | ||
321 | * This default implementation returns null so that we can easily ignore cases; | ||
322 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
323 | * <!-- end-user-doc --> | ||
324 | * @return the new adapter. | ||
325 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output | ||
326 | * @generated | ||
327 | */ | ||
328 | public Adapter createOutputAdapter() { | ||
329 | return null; | ||
330 | } | ||
331 | |||
332 | /** | ||
333 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'. | ||
334 | * <!-- begin-user-doc --> | ||
335 | * This default implementation returns null so that we can easily ignore cases; | ||
336 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
337 | * <!-- end-user-doc --> | ||
338 | * @return the new adapter. | ||
339 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection | ||
340 | * @generated | ||
341 | */ | ||
342 | public Adapter createConnectionAdapter() { | ||
343 | return null; | ||
344 | } | ||
345 | |||
346 | /** | ||
347 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement <em>Modal Element</em>}'. | ||
348 | * <!-- begin-user-doc --> | ||
349 | * This default implementation returns null so that we can easily ignore cases; | ||
350 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
351 | * <!-- end-user-doc --> | ||
352 | * @return the new adapter. | ||
353 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement | ||
354 | * @generated | ||
355 | */ | ||
356 | public Adapter createModalElementAdapter() { | ||
357 | return null; | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * Creates a new adapter for the default case. | ||
362 | * <!-- begin-user-doc --> | ||
363 | * This default implementation returns null. | ||
364 | * <!-- end-user-doc --> | ||
365 | * @return the new adapter. | ||
366 | * @generated | ||
367 | */ | ||
368 | public Adapter createEObjectAdapter() { | ||
369 | return null; | ||
370 | } | ||
371 | |||
372 | } //CftAdapterFactory | ||