diff options
author | 2019-02-06 18:28:18 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | 615b602f0a9b4ce9eca8c38b9aa780b81d03d8e7 (patch) | |
tree | 1c9fe0f4ae152d84152c8ff1cfb6366ec8b277e9 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util | |
parent | [Stochastic] Fault tree transformation langauge (diff) | |
download | VIATRA-Generator-615b602f0a9b4ce9eca8c38b9aa780b81d03d8e7.tar.gz VIATRA-Generator-615b602f0a9b4ce9eca8c38b9aa780b81d03d8e7.tar.zst VIATRA-Generator-615b602f0a9b4ce9eca8c38b9aa780b81d03d8e7.zip |
Extract component fault tree model
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util')
2 files changed, 591 insertions, 0 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java new file mode 100644 index 00000000..17daaad3 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java | |||
@@ -0,0 +1,282 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; | ||
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.ft.FtPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class FtAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static FtPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public FtAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = FtPackage.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 FtSwitch<Adapter> modelSwitch = | ||
69 | new FtSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseFaultTree(FaultTree object) { | ||
72 | return createFaultTreeAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseEvent(Event object) { | ||
76 | return createEventAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseBasicEvent(BasicEvent object) { | ||
80 | return createBasicEventAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseGate(Gate object) { | ||
84 | return createGateAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseDistribution(Distribution object) { | ||
88 | return createDistributionAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseConstantDistribution(ConstantDistribution object) { | ||
92 | return createConstantDistributionAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseExponentialDistribution(ExponentialDistribution object) { | ||
96 | return createExponentialDistributionAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseAndGate(AndGate object) { | ||
100 | return createAndGateAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseOrGate(OrGate object) { | ||
104 | return createOrGateAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseKOfMGate(KOfMGate object) { | ||
108 | return createKOfMGateAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter defaultCase(EObject object) { | ||
112 | return createEObjectAdapter(); | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | /** | ||
117 | * Creates an adapter for the <code>target</code>. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param target the object to adapt. | ||
121 | * @return the adapter for the <code>target</code>. | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Adapter createAdapter(Notifier target) { | ||
126 | return modelSwitch.doSwitch((EObject)target); | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree <em>Fault Tree</em>}'. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * This default implementation returns null so that we can easily ignore cases; | ||
134 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
135 | * <!-- end-user-doc --> | ||
136 | * @return the new adapter. | ||
137 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree | ||
138 | * @generated | ||
139 | */ | ||
140 | public Adapter createFaultTreeAdapter() { | ||
141 | return null; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event <em>Event</em>}'. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * This default implementation returns null so that we can easily ignore cases; | ||
148 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
149 | * <!-- end-user-doc --> | ||
150 | * @return the new adapter. | ||
151 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event | ||
152 | * @generated | ||
153 | */ | ||
154 | public Adapter createEventAdapter() { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent <em>Basic Event</em>}'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This default implementation returns null so that we can easily ignore cases; | ||
162 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return the new adapter. | ||
165 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent | ||
166 | * @generated | ||
167 | */ | ||
168 | public Adapter createBasicEventAdapter() { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate <em>Gate</em>}'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This default implementation returns null so that we can easily ignore cases; | ||
176 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @return the new adapter. | ||
179 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate | ||
180 | * @generated | ||
181 | */ | ||
182 | public Adapter createGateAdapter() { | ||
183 | return null; | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution <em>Distribution</em>}'. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * This default implementation returns null so that we can easily ignore cases; | ||
190 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
191 | * <!-- end-user-doc --> | ||
192 | * @return the new adapter. | ||
193 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution | ||
194 | * @generated | ||
195 | */ | ||
196 | public Adapter createDistributionAdapter() { | ||
197 | return null; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution <em>Constant Distribution</em>}'. | ||
202 | * <!-- begin-user-doc --> | ||
203 | * This default implementation returns null so that we can easily ignore cases; | ||
204 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
205 | * <!-- end-user-doc --> | ||
206 | * @return the new adapter. | ||
207 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution | ||
208 | * @generated | ||
209 | */ | ||
210 | public Adapter createConstantDistributionAdapter() { | ||
211 | return null; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution <em>Exponential Distribution</em>}'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * This default implementation returns null so that we can easily ignore cases; | ||
218 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
219 | * <!-- end-user-doc --> | ||
220 | * @return the new adapter. | ||
221 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution | ||
222 | * @generated | ||
223 | */ | ||
224 | public Adapter createExponentialDistributionAdapter() { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate <em>And Gate</em>}'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This default implementation returns null so that we can easily ignore cases; | ||
232 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @return the new adapter. | ||
235 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate | ||
236 | * @generated | ||
237 | */ | ||
238 | public Adapter createAndGateAdapter() { | ||
239 | return null; | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate <em>Or Gate</em>}'. | ||
244 | * <!-- begin-user-doc --> | ||
245 | * This default implementation returns null so that we can easily ignore cases; | ||
246 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
247 | * <!-- end-user-doc --> | ||
248 | * @return the new adapter. | ||
249 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate | ||
250 | * @generated | ||
251 | */ | ||
252 | public Adapter createOrGateAdapter() { | ||
253 | return null; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate <em>KOf MGate</em>}'. | ||
258 | * <!-- begin-user-doc --> | ||
259 | * This default implementation returns null so that we can easily ignore cases; | ||
260 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
261 | * <!-- end-user-doc --> | ||
262 | * @return the new adapter. | ||
263 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate | ||
264 | * @generated | ||
265 | */ | ||
266 | public Adapter createKOfMGateAdapter() { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for the default case. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null. | ||
274 | * <!-- end-user-doc --> | ||
275 | * @return the new adapter. | ||
276 | * @generated | ||
277 | */ | ||
278 | public Adapter createEObjectAdapter() { | ||
279 | return null; | ||
280 | } | ||
281 | |||
282 | } //FtAdapterFactory | ||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java new file mode 100644 index 00000000..b1846705 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java | |||
@@ -0,0 +1,309 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class FtSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static FtPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public FtSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = FtPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case FtPackage.FAULT_TREE: { | ||
70 | FaultTree faultTree = (FaultTree)theEObject; | ||
71 | T result = caseFaultTree(faultTree); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case FtPackage.EVENT: { | ||
76 | Event event = (Event)theEObject; | ||
77 | T result = caseEvent(event); | ||
78 | if (result == null) result = defaultCase(theEObject); | ||
79 | return result; | ||
80 | } | ||
81 | case FtPackage.BASIC_EVENT: { | ||
82 | BasicEvent basicEvent = (BasicEvent)theEObject; | ||
83 | T result = caseBasicEvent(basicEvent); | ||
84 | if (result == null) result = caseEvent(basicEvent); | ||
85 | if (result == null) result = defaultCase(theEObject); | ||
86 | return result; | ||
87 | } | ||
88 | case FtPackage.GATE: { | ||
89 | Gate gate = (Gate)theEObject; | ||
90 | T result = caseGate(gate); | ||
91 | if (result == null) result = caseEvent(gate); | ||
92 | if (result == null) result = defaultCase(theEObject); | ||
93 | return result; | ||
94 | } | ||
95 | case FtPackage.DISTRIBUTION: { | ||
96 | Distribution distribution = (Distribution)theEObject; | ||
97 | T result = caseDistribution(distribution); | ||
98 | if (result == null) result = defaultCase(theEObject); | ||
99 | return result; | ||
100 | } | ||
101 | case FtPackage.CONSTANT_DISTRIBUTION: { | ||
102 | ConstantDistribution constantDistribution = (ConstantDistribution)theEObject; | ||
103 | T result = caseConstantDistribution(constantDistribution); | ||
104 | if (result == null) result = caseDistribution(constantDistribution); | ||
105 | if (result == null) result = defaultCase(theEObject); | ||
106 | return result; | ||
107 | } | ||
108 | case FtPackage.EXPONENTIAL_DISTRIBUTION: { | ||
109 | ExponentialDistribution exponentialDistribution = (ExponentialDistribution)theEObject; | ||
110 | T result = caseExponentialDistribution(exponentialDistribution); | ||
111 | if (result == null) result = caseDistribution(exponentialDistribution); | ||
112 | if (result == null) result = defaultCase(theEObject); | ||
113 | return result; | ||
114 | } | ||
115 | case FtPackage.AND_GATE: { | ||
116 | AndGate andGate = (AndGate)theEObject; | ||
117 | T result = caseAndGate(andGate); | ||
118 | if (result == null) result = caseGate(andGate); | ||
119 | if (result == null) result = caseEvent(andGate); | ||
120 | if (result == null) result = defaultCase(theEObject); | ||
121 | return result; | ||
122 | } | ||
123 | case FtPackage.OR_GATE: { | ||
124 | OrGate orGate = (OrGate)theEObject; | ||
125 | T result = caseOrGate(orGate); | ||
126 | if (result == null) result = caseGate(orGate); | ||
127 | if (result == null) result = caseEvent(orGate); | ||
128 | if (result == null) result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case FtPackage.KOF_MGATE: { | ||
132 | KOfMGate kOfMGate = (KOfMGate)theEObject; | ||
133 | T result = caseKOfMGate(kOfMGate); | ||
134 | if (result == null) result = caseGate(kOfMGate); | ||
135 | if (result == null) result = caseEvent(kOfMGate); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | default: return defaultCase(theEObject); | ||
140 | } | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * Returns the result of interpreting the object as an instance of '<em>Fault Tree</em>'. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * This implementation returns null; | ||
147 | * returning a non-null result will terminate the switch. | ||
148 | * <!-- end-user-doc --> | ||
149 | * @param object the target of the switch. | ||
150 | * @return the result of interpreting the object as an instance of '<em>Fault Tree</em>'. | ||
151 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
152 | * @generated | ||
153 | */ | ||
154 | public T caseFaultTree(FaultTree object) { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Returns the result of interpreting the object as an instance of '<em>Event</em>'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This implementation returns null; | ||
162 | * returning a non-null result will terminate the switch. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @param object the target of the switch. | ||
165 | * @return the result of interpreting the object as an instance of '<em>Event</em>'. | ||
166 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
167 | * @generated | ||
168 | */ | ||
169 | public T caseEvent(Event object) { | ||
170 | return null; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * Returns the result of interpreting the object as an instance of '<em>Basic Event</em>'. | ||
175 | * <!-- begin-user-doc --> | ||
176 | * This implementation returns null; | ||
177 | * returning a non-null result will terminate the switch. | ||
178 | * <!-- end-user-doc --> | ||
179 | * @param object the target of the switch. | ||
180 | * @return the result of interpreting the object as an instance of '<em>Basic Event</em>'. | ||
181 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
182 | * @generated | ||
183 | */ | ||
184 | public T caseBasicEvent(BasicEvent object) { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Returns the result of interpreting the object as an instance of '<em>Gate</em>'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This implementation returns null; | ||
192 | * returning a non-null result will terminate the switch. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @param object the target of the switch. | ||
195 | * @return the result of interpreting the object as an instance of '<em>Gate</em>'. | ||
196 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
197 | * @generated | ||
198 | */ | ||
199 | public T caseGate(Gate object) { | ||
200 | return null; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * Returns the result of interpreting the object as an instance of '<em>Distribution</em>'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * This implementation returns null; | ||
207 | * returning a non-null result will terminate the switch. | ||
208 | * <!-- end-user-doc --> | ||
209 | * @param object the target of the switch. | ||
210 | * @return the result of interpreting the object as an instance of '<em>Distribution</em>'. | ||
211 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
212 | * @generated | ||
213 | */ | ||
214 | public T caseDistribution(Distribution object) { | ||
215 | return null; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * Returns the result of interpreting the object as an instance of '<em>Constant Distribution</em>'. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * This implementation returns null; | ||
222 | * returning a non-null result will terminate the switch. | ||
223 | * <!-- end-user-doc --> | ||
224 | * @param object the target of the switch. | ||
225 | * @return the result of interpreting the object as an instance of '<em>Constant Distribution</em>'. | ||
226 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
227 | * @generated | ||
228 | */ | ||
229 | public T caseConstantDistribution(ConstantDistribution object) { | ||
230 | return null; | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * Returns the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'. | ||
235 | * <!-- begin-user-doc --> | ||
236 | * This implementation returns null; | ||
237 | * returning a non-null result will terminate the switch. | ||
238 | * <!-- end-user-doc --> | ||
239 | * @param object the target of the switch. | ||
240 | * @return the result of interpreting the object as an instance of '<em>Exponential Distribution</em>'. | ||
241 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
242 | * @generated | ||
243 | */ | ||
244 | public T caseExponentialDistribution(ExponentialDistribution object) { | ||
245 | return null; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * Returns the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * This implementation returns null; | ||
252 | * returning a non-null result will terminate the switch. | ||
253 | * <!-- end-user-doc --> | ||
254 | * @param object the target of the switch. | ||
255 | * @return the result of interpreting the object as an instance of '<em>And Gate</em>'. | ||
256 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
257 | * @generated | ||
258 | */ | ||
259 | public T caseAndGate(AndGate object) { | ||
260 | return null; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * Returns the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * This implementation returns null; | ||
267 | * returning a non-null result will terminate the switch. | ||
268 | * <!-- end-user-doc --> | ||
269 | * @param object the target of the switch. | ||
270 | * @return the result of interpreting the object as an instance of '<em>Or Gate</em>'. | ||
271 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
272 | * @generated | ||
273 | */ | ||
274 | public T caseOrGate(OrGate object) { | ||
275 | return null; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * Returns the result of interpreting the object as an instance of '<em>KOf MGate</em>'. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * This implementation returns null; | ||
282 | * returning a non-null result will terminate the switch. | ||
283 | * <!-- end-user-doc --> | ||
284 | * @param object the target of the switch. | ||
285 | * @return the result of interpreting the object as an instance of '<em>KOf MGate</em>'. | ||
286 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
287 | * @generated | ||
288 | */ | ||
289 | public T caseKOfMGate(KOfMGate object) { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This implementation returns null; | ||
297 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @param object the target of the switch. | ||
300 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
301 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public T defaultCase(EObject object) { | ||
306 | return null; | ||
307 | } | ||
308 | |||
309 | } //FtSwitch | ||