aboutsummaryrefslogtreecommitdiffstats
path: root/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java
diff options
context:
space:
mode:
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.java354
1 files changed, 354 insertions, 0 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
new file mode 100644
index 00000000..c6b82734
--- /dev/null
+++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java
@@ -0,0 +1,354 @@
1/**
2 */
3package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util;
4
5import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*;
6
7import org.eclipse.emf.common.notify.Adapter;
8import org.eclipse.emf.common.notify.Notifier;
9
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11
12import 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 */
22public 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 caseIntputEvent(IntputEvent object) {
88 return createIntputEventAdapter();
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 defaultCase(EObject object) {
128 return createEObjectAdapter();
129 }
130 };
131
132 /**
133 * Creates an adapter for the <code>target</code>.
134 * <!-- begin-user-doc -->
135 * <!-- end-user-doc -->
136 * @param target the object to adapt.
137 * @return the adapter for the <code>target</code>.
138 * @generated
139 */
140 @Override
141 public Adapter createAdapter(Notifier target) {
142 return modelSwitch.doSwitch((EObject)target);
143 }
144
145
146 /**
147 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition <em>Component Definition</em>}'.
148 * <!-- begin-user-doc -->
149 * This default implementation returns null so that we can easily ignore cases;
150 * it's useful to ignore a case when inheritance will catch all the cases anyway.
151 * <!-- end-user-doc -->
152 * @return the new adapter.
153 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition
154 * @generated
155 */
156 public Adapter createComponentDefinitionAdapter() {
157 return null;
158 }
159
160 /**
161 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition <em>Event Definition</em>}'.
162 * <!-- begin-user-doc -->
163 * This default implementation returns null so that we can easily ignore cases;
164 * it's useful to ignore a case when inheritance will catch all the cases anyway.
165 * <!-- end-user-doc -->
166 * @return the new adapter.
167 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition
168 * @generated
169 */
170 public Adapter createEventDefinitionAdapter() {
171 return null;
172 }
173
174 /**
175 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition <em>Gate Definition</em>}'.
176 * <!-- begin-user-doc -->
177 * This default implementation returns null so that we can easily ignore cases;
178 * it's useful to ignore a case when inheritance will catch all the cases anyway.
179 * <!-- end-user-doc -->
180 * @return the new adapter.
181 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition
182 * @generated
183 */
184 public Adapter createGateDefinitionAdapter() {
185 return null;
186 }
187
188 /**
189 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition <em>Basic Event Definition</em>}'.
190 * <!-- begin-user-doc -->
191 * This default implementation returns null so that we can easily ignore cases;
192 * it's useful to ignore a case when inheritance will catch all the cases anyway.
193 * <!-- end-user-doc -->
194 * @return the new adapter.
195 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition
196 * @generated
197 */
198 public Adapter createBasicEventDefinitionAdapter() {
199 return null;
200 }
201
202 /**
203 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent <em>Intput Event</em>}'.
204 * <!-- begin-user-doc -->
205 * This default implementation returns null so that we can easily ignore cases;
206 * it's useful to ignore a case when inheritance will catch all the cases anyway.
207 * <!-- end-user-doc -->
208 * @return the new adapter.
209 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.IntputEvent
210 * @generated
211 */
212 public Adapter createIntputEventAdapter() {
213 return null;
214 }
215
216 /**
217 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration <em>Event Declaration</em>}'.
218 * <!-- begin-user-doc -->
219 * This default implementation returns null so that we can easily ignore cases;
220 * it's useful to ignore a case when inheritance will catch all the cases anyway.
221 * <!-- end-user-doc -->
222 * @return the new adapter.
223 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration
224 * @generated
225 */
226 public Adapter createEventDeclarationAdapter() {
227 return null;
228 }
229
230 /**
231 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition <em>And Gate Definition</em>}'.
232 * <!-- begin-user-doc -->
233 * This default implementation returns null so that we can easily ignore cases;
234 * it's useful to ignore a case when inheritance will catch all the cases anyway.
235 * <!-- end-user-doc -->
236 * @return the new adapter.
237 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition
238 * @generated
239 */
240 public Adapter createAndGateDefinitionAdapter() {
241 return null;
242 }
243
244 /**
245 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition <em>Or Gate Definition</em>}'.
246 * <!-- begin-user-doc -->
247 * This default implementation returns null so that we can easily ignore cases;
248 * it's useful to ignore a case when inheritance will catch all the cases anyway.
249 * <!-- end-user-doc -->
250 * @return the new adapter.
251 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition
252 * @generated
253 */
254 public Adapter createOrGateDefinitionAdapter() {
255 return null;
256 }
257
258 /**
259 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition <em>KOf MGate Definition</em>}'.
260 * <!-- begin-user-doc -->
261 * This default implementation returns null so that we can easily ignore cases;
262 * it's useful to ignore a case when inheritance will catch all the cases anyway.
263 * <!-- end-user-doc -->
264 * @return the new adapter.
265 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition
266 * @generated
267 */
268 public Adapter createKOfMGateDefinitionAdapter() {
269 return null;
270 }
271
272 /**
273 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree <em>Component Fault Tree</em>}'.
274 * <!-- begin-user-doc -->
275 * This default implementation returns null so that we can easily ignore cases;
276 * it's useful to ignore a case when inheritance will catch all the cases anyway.
277 * <!-- end-user-doc -->
278 * @return the new adapter.
279 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree
280 * @generated
281 */
282 public Adapter createComponentFaultTreeAdapter() {
283 return null;
284 }
285
286 /**
287 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component <em>Component</em>}'.
288 * <!-- begin-user-doc -->
289 * This default implementation returns null so that we can easily ignore cases;
290 * it's useful to ignore a case when inheritance will catch all the cases anyway.
291 * <!-- end-user-doc -->
292 * @return the new adapter.
293 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component
294 * @generated
295 */
296 public Adapter createComponentAdapter() {
297 return null;
298 }
299
300 /**
301 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input <em>Input</em>}'.
302 * <!-- begin-user-doc -->
303 * This default implementation returns null so that we can easily ignore cases;
304 * it's useful to ignore a case when inheritance will catch all the cases anyway.
305 * <!-- end-user-doc -->
306 * @return the new adapter.
307 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input
308 * @generated
309 */
310 public Adapter createInputAdapter() {
311 return null;
312 }
313
314 /**
315 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output <em>Output</em>}'.
316 * <!-- begin-user-doc -->
317 * This default implementation returns null so that we can easily ignore cases;
318 * it's useful to ignore a case when inheritance will catch all the cases anyway.
319 * <!-- end-user-doc -->
320 * @return the new adapter.
321 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output
322 * @generated
323 */
324 public Adapter createOutputAdapter() {
325 return null;
326 }
327
328 /**
329 * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection <em>Connection</em>}'.
330 * <!-- begin-user-doc -->
331 * This default implementation returns null so that we can easily ignore cases;
332 * it's useful to ignore a case when inheritance will catch all the cases anyway.
333 * <!-- end-user-doc -->
334 * @return the new adapter.
335 * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection
336 * @generated
337 */
338 public Adapter createConnectionAdapter() {
339 return null;
340 }
341
342 /**
343 * Creates a new adapter for the default case.
344 * <!-- begin-user-doc -->
345 * This default implementation returns null.
346 * <!-- end-user-doc -->
347 * @return the new adapter.
348 * @generated
349 */
350 public Adapter createEObjectAdapter() {
351 return null;
352 }
353
354} //CftAdapterFactory