diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util')
2 files changed, 671 insertions, 0 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java new file mode 100644 index 00000000..4b624c4d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java | |||
@@ -0,0 +1,318 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; | ||
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.logic.model.logicresult.LogicresultPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class LogicresultAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static LogicresultPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public LogicresultAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = LogicresultPackage.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 LogicresultSwitch<Adapter> modelSwitch = | ||
69 | new LogicresultSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseLogicResult(LogicResult object) { | ||
72 | return createLogicResultAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseModelResult(ModelResult object) { | ||
76 | return createModelResultAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseInconsistencyResult(InconsistencyResult object) { | ||
80 | return createInconsistencyResultAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseUnknownResult(UnknownResult object) { | ||
84 | return createUnknownResultAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseInsuficientResourcesResult(InsuficientResourcesResult object) { | ||
88 | return createInsuficientResourcesResultAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseErrorResult(ErrorResult object) { | ||
92 | return createErrorResultAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseStatistics(Statistics object) { | ||
96 | return createStatisticsAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseStatisticEntry(StatisticEntry object) { | ||
100 | return createStatisticEntryAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseUndecidableResult(UndecidableResult object) { | ||
104 | return createUndecidableResultAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseIntStatisticEntry(IntStatisticEntry object) { | ||
108 | return createIntStatisticEntryAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter caseRealStatisticEntry(RealStatisticEntry object) { | ||
112 | return createRealStatisticEntryAdapter(); | ||
113 | } | ||
114 | @Override | ||
115 | public Adapter caseStringStatisticEntry(StringStatisticEntry object) { | ||
116 | return createStringStatisticEntryAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter defaultCase(EObject object) { | ||
120 | return createEObjectAdapter(); | ||
121 | } | ||
122 | }; | ||
123 | |||
124 | /** | ||
125 | * Creates an adapter for the <code>target</code>. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @param target the object to adapt. | ||
129 | * @return the adapter for the <code>target</code>. | ||
130 | * @generated | ||
131 | */ | ||
132 | @Override | ||
133 | public Adapter createAdapter(Notifier target) { | ||
134 | return modelSwitch.doSwitch((EObject)target); | ||
135 | } | ||
136 | |||
137 | |||
138 | /** | ||
139 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult <em>Logic Result</em>}'. | ||
140 | * <!-- begin-user-doc --> | ||
141 | * This default implementation returns null so that we can easily ignore cases; | ||
142 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
143 | * <!-- end-user-doc --> | ||
144 | * @return the new adapter. | ||
145 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult | ||
146 | * @generated | ||
147 | */ | ||
148 | public Adapter createLogicResultAdapter() { | ||
149 | return null; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult <em>Model Result</em>}'. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * This default implementation returns null so that we can easily ignore cases; | ||
156 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
157 | * <!-- end-user-doc --> | ||
158 | * @return the new adapter. | ||
159 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult | ||
160 | * @generated | ||
161 | */ | ||
162 | public Adapter createModelResultAdapter() { | ||
163 | return null; | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult <em>Inconsistency Result</em>}'. | ||
168 | * <!-- begin-user-doc --> | ||
169 | * This default implementation returns null so that we can easily ignore cases; | ||
170 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
171 | * <!-- end-user-doc --> | ||
172 | * @return the new adapter. | ||
173 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult | ||
174 | * @generated | ||
175 | */ | ||
176 | public Adapter createInconsistencyResultAdapter() { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult <em>Unknown Result</em>}'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This default implementation returns null so that we can easily ignore cases; | ||
184 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @return the new adapter. | ||
187 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult | ||
188 | * @generated | ||
189 | */ | ||
190 | public Adapter createUnknownResultAdapter() { | ||
191 | return null; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult <em>Insuficient Resources Result</em>}'. | ||
196 | * <!-- begin-user-doc --> | ||
197 | * This default implementation returns null so that we can easily ignore cases; | ||
198 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
199 | * <!-- end-user-doc --> | ||
200 | * @return the new adapter. | ||
201 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult | ||
202 | * @generated | ||
203 | */ | ||
204 | public Adapter createInsuficientResourcesResultAdapter() { | ||
205 | return null; | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult <em>Error Result</em>}'. | ||
210 | * <!-- begin-user-doc --> | ||
211 | * This default implementation returns null so that we can easily ignore cases; | ||
212 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
213 | * <!-- end-user-doc --> | ||
214 | * @return the new adapter. | ||
215 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult | ||
216 | * @generated | ||
217 | */ | ||
218 | public Adapter createErrorResultAdapter() { | ||
219 | return null; | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics <em>Statistics</em>}'. | ||
224 | * <!-- begin-user-doc --> | ||
225 | * This default implementation returns null so that we can easily ignore cases; | ||
226 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
227 | * <!-- end-user-doc --> | ||
228 | * @return the new adapter. | ||
229 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics | ||
230 | * @generated | ||
231 | */ | ||
232 | public Adapter createStatisticsAdapter() { | ||
233 | return null; | ||
234 | } | ||
235 | |||
236 | /** | ||
237 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry <em>Statistic Entry</em>}'. | ||
238 | * <!-- begin-user-doc --> | ||
239 | * This default implementation returns null so that we can easily ignore cases; | ||
240 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
241 | * <!-- end-user-doc --> | ||
242 | * @return the new adapter. | ||
243 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry | ||
244 | * @generated | ||
245 | */ | ||
246 | public Adapter createStatisticEntryAdapter() { | ||
247 | return null; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult <em>Undecidable Result</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.logic.model.logicresult.UndecidableResult | ||
258 | * @generated | ||
259 | */ | ||
260 | public Adapter createUndecidableResultAdapter() { | ||
261 | return null; | ||
262 | } | ||
263 | |||
264 | /** | ||
265 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry <em>Int Statistic Entry</em>}'. | ||
266 | * <!-- begin-user-doc --> | ||
267 | * This default implementation returns null so that we can easily ignore cases; | ||
268 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
269 | * <!-- end-user-doc --> | ||
270 | * @return the new adapter. | ||
271 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry | ||
272 | * @generated | ||
273 | */ | ||
274 | public Adapter createIntStatisticEntryAdapter() { | ||
275 | return null; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry <em>Real Statistic Entry</em>}'. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * This default implementation returns null so that we can easily ignore cases; | ||
282 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
283 | * <!-- end-user-doc --> | ||
284 | * @return the new adapter. | ||
285 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry | ||
286 | * @generated | ||
287 | */ | ||
288 | public Adapter createRealStatisticEntryAdapter() { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry <em>String Statistic Entry</em>}'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This default implementation returns null so that we can easily ignore cases; | ||
296 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @return the new adapter. | ||
299 | * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry | ||
300 | * @generated | ||
301 | */ | ||
302 | public Adapter createStringStatisticEntryAdapter() { | ||
303 | return null; | ||
304 | } | ||
305 | |||
306 | /** | ||
307 | * Creates a new adapter for the default case. | ||
308 | * <!-- begin-user-doc --> | ||
309 | * This default implementation returns null. | ||
310 | * <!-- end-user-doc --> | ||
311 | * @return the new adapter. | ||
312 | * @generated | ||
313 | */ | ||
314 | public Adapter createEObjectAdapter() { | ||
315 | return null; | ||
316 | } | ||
317 | |||
318 | } //LogicresultAdapterFactory | ||
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java new file mode 100644 index 00000000..2cdf142b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java | |||
@@ -0,0 +1,353 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; | ||
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.logic.model.logicresult.LogicresultPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class LogicresultSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static LogicresultPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public LogicresultSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = LogicresultPackage.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 LogicresultPackage.LOGIC_RESULT: { | ||
70 | LogicResult logicResult = (LogicResult)theEObject; | ||
71 | T result = caseLogicResult(logicResult); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case LogicresultPackage.MODEL_RESULT: { | ||
76 | ModelResult modelResult = (ModelResult)theEObject; | ||
77 | T result = caseModelResult(modelResult); | ||
78 | if (result == null) result = caseLogicResult(modelResult); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case LogicresultPackage.INCONSISTENCY_RESULT: { | ||
83 | InconsistencyResult inconsistencyResult = (InconsistencyResult)theEObject; | ||
84 | T result = caseInconsistencyResult(inconsistencyResult); | ||
85 | if (result == null) result = caseLogicResult(inconsistencyResult); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case LogicresultPackage.UNKNOWN_RESULT: { | ||
90 | UnknownResult unknownResult = (UnknownResult)theEObject; | ||
91 | T result = caseUnknownResult(unknownResult); | ||
92 | if (result == null) result = caseLogicResult(unknownResult); | ||
93 | if (result == null) result = defaultCase(theEObject); | ||
94 | return result; | ||
95 | } | ||
96 | case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT: { | ||
97 | InsuficientResourcesResult insuficientResourcesResult = (InsuficientResourcesResult)theEObject; | ||
98 | T result = caseInsuficientResourcesResult(insuficientResourcesResult); | ||
99 | if (result == null) result = caseUnknownResult(insuficientResourcesResult); | ||
100 | if (result == null) result = caseLogicResult(insuficientResourcesResult); | ||
101 | if (result == null) result = defaultCase(theEObject); | ||
102 | return result; | ||
103 | } | ||
104 | case LogicresultPackage.ERROR_RESULT: { | ||
105 | ErrorResult errorResult = (ErrorResult)theEObject; | ||
106 | T result = caseErrorResult(errorResult); | ||
107 | if (result == null) result = caseUnknownResult(errorResult); | ||
108 | if (result == null) result = caseLogicResult(errorResult); | ||
109 | if (result == null) result = defaultCase(theEObject); | ||
110 | return result; | ||
111 | } | ||
112 | case LogicresultPackage.STATISTICS: { | ||
113 | Statistics statistics = (Statistics)theEObject; | ||
114 | T result = caseStatistics(statistics); | ||
115 | if (result == null) result = defaultCase(theEObject); | ||
116 | return result; | ||
117 | } | ||
118 | case LogicresultPackage.STATISTIC_ENTRY: { | ||
119 | StatisticEntry statisticEntry = (StatisticEntry)theEObject; | ||
120 | T result = caseStatisticEntry(statisticEntry); | ||
121 | if (result == null) result = defaultCase(theEObject); | ||
122 | return result; | ||
123 | } | ||
124 | case LogicresultPackage.UNDECIDABLE_RESULT: { | ||
125 | UndecidableResult undecidableResult = (UndecidableResult)theEObject; | ||
126 | T result = caseUndecidableResult(undecidableResult); | ||
127 | if (result == null) result = caseUnknownResult(undecidableResult); | ||
128 | if (result == null) result = caseLogicResult(undecidableResult); | ||
129 | if (result == null) result = defaultCase(theEObject); | ||
130 | return result; | ||
131 | } | ||
132 | case LogicresultPackage.INT_STATISTIC_ENTRY: { | ||
133 | IntStatisticEntry intStatisticEntry = (IntStatisticEntry)theEObject; | ||
134 | T result = caseIntStatisticEntry(intStatisticEntry); | ||
135 | if (result == null) result = caseStatisticEntry(intStatisticEntry); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | case LogicresultPackage.REAL_STATISTIC_ENTRY: { | ||
140 | RealStatisticEntry realStatisticEntry = (RealStatisticEntry)theEObject; | ||
141 | T result = caseRealStatisticEntry(realStatisticEntry); | ||
142 | if (result == null) result = caseStatisticEntry(realStatisticEntry); | ||
143 | if (result == null) result = defaultCase(theEObject); | ||
144 | return result; | ||
145 | } | ||
146 | case LogicresultPackage.STRING_STATISTIC_ENTRY: { | ||
147 | StringStatisticEntry stringStatisticEntry = (StringStatisticEntry)theEObject; | ||
148 | T result = caseStringStatisticEntry(stringStatisticEntry); | ||
149 | if (result == null) result = caseStatisticEntry(stringStatisticEntry); | ||
150 | if (result == null) result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | default: return defaultCase(theEObject); | ||
154 | } | ||
155 | } | ||
156 | |||
157 | /** | ||
158 | * Returns the result of interpreting the object as an instance of '<em>Logic Result</em>'. | ||
159 | * <!-- begin-user-doc --> | ||
160 | * This implementation returns null; | ||
161 | * returning a non-null result will terminate the switch. | ||
162 | * <!-- end-user-doc --> | ||
163 | * @param object the target of the switch. | ||
164 | * @return the result of interpreting the object as an instance of '<em>Logic Result</em>'. | ||
165 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
166 | * @generated | ||
167 | */ | ||
168 | public T caseLogicResult(LogicResult object) { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Returns the result of interpreting the object as an instance of '<em>Model Result</em>'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This implementation returns null; | ||
176 | * returning a non-null result will terminate the switch. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @param object the target of the switch. | ||
179 | * @return the result of interpreting the object as an instance of '<em>Model Result</em>'. | ||
180 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
181 | * @generated | ||
182 | */ | ||
183 | public T caseModelResult(ModelResult object) { | ||
184 | return null; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * Returns the result of interpreting the object as an instance of '<em>Inconsistency Result</em>'. | ||
189 | * <!-- begin-user-doc --> | ||
190 | * This implementation returns null; | ||
191 | * returning a non-null result will terminate the switch. | ||
192 | * <!-- end-user-doc --> | ||
193 | * @param object the target of the switch. | ||
194 | * @return the result of interpreting the object as an instance of '<em>Inconsistency Result</em>'. | ||
195 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
196 | * @generated | ||
197 | */ | ||
198 | public T caseInconsistencyResult(InconsistencyResult object) { | ||
199 | return null; | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * Returns the result of interpreting the object as an instance of '<em>Unknown Result</em>'. | ||
204 | * <!-- begin-user-doc --> | ||
205 | * This implementation returns null; | ||
206 | * returning a non-null result will terminate the switch. | ||
207 | * <!-- end-user-doc --> | ||
208 | * @param object the target of the switch. | ||
209 | * @return the result of interpreting the object as an instance of '<em>Unknown Result</em>'. | ||
210 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
211 | * @generated | ||
212 | */ | ||
213 | public T caseUnknownResult(UnknownResult object) { | ||
214 | return null; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * Returns the result of interpreting the object as an instance of '<em>Insuficient Resources Result</em>'. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * This implementation returns null; | ||
221 | * returning a non-null result will terminate the switch. | ||
222 | * <!-- end-user-doc --> | ||
223 | * @param object the target of the switch. | ||
224 | * @return the result of interpreting the object as an instance of '<em>Insuficient Resources Result</em>'. | ||
225 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
226 | * @generated | ||
227 | */ | ||
228 | public T caseInsuficientResourcesResult(InsuficientResourcesResult object) { | ||
229 | return null; | ||
230 | } | ||
231 | |||
232 | /** | ||
233 | * Returns the result of interpreting the object as an instance of '<em>Error Result</em>'. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * This implementation returns null; | ||
236 | * returning a non-null result will terminate the switch. | ||
237 | * <!-- end-user-doc --> | ||
238 | * @param object the target of the switch. | ||
239 | * @return the result of interpreting the object as an instance of '<em>Error Result</em>'. | ||
240 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
241 | * @generated | ||
242 | */ | ||
243 | public T caseErrorResult(ErrorResult object) { | ||
244 | return null; | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * Returns the result of interpreting the object as an instance of '<em>Statistics</em>'. | ||
249 | * <!-- begin-user-doc --> | ||
250 | * This implementation returns null; | ||
251 | * returning a non-null result will terminate the switch. | ||
252 | * <!-- end-user-doc --> | ||
253 | * @param object the target of the switch. | ||
254 | * @return the result of interpreting the object as an instance of '<em>Statistics</em>'. | ||
255 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
256 | * @generated | ||
257 | */ | ||
258 | public T caseStatistics(Statistics object) { | ||
259 | return null; | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | * Returns the result of interpreting the object as an instance of '<em>Statistic Entry</em>'. | ||
264 | * <!-- begin-user-doc --> | ||
265 | * This implementation returns null; | ||
266 | * returning a non-null result will terminate the switch. | ||
267 | * <!-- end-user-doc --> | ||
268 | * @param object the target of the switch. | ||
269 | * @return the result of interpreting the object as an instance of '<em>Statistic Entry</em>'. | ||
270 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
271 | * @generated | ||
272 | */ | ||
273 | public T caseStatisticEntry(StatisticEntry object) { | ||
274 | return null; | ||
275 | } | ||
276 | |||
277 | /** | ||
278 | * Returns the result of interpreting the object as an instance of '<em>Undecidable Result</em>'. | ||
279 | * <!-- begin-user-doc --> | ||
280 | * This implementation returns null; | ||
281 | * returning a non-null result will terminate the switch. | ||
282 | * <!-- end-user-doc --> | ||
283 | * @param object the target of the switch. | ||
284 | * @return the result of interpreting the object as an instance of '<em>Undecidable Result</em>'. | ||
285 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
286 | * @generated | ||
287 | */ | ||
288 | public T caseUndecidableResult(UndecidableResult object) { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Returns the result of interpreting the object as an instance of '<em>Int Statistic Entry</em>'. | ||
294 | * <!-- begin-user-doc --> | ||
295 | * This implementation returns null; | ||
296 | * returning a non-null result will terminate the switch. | ||
297 | * <!-- end-user-doc --> | ||
298 | * @param object the target of the switch. | ||
299 | * @return the result of interpreting the object as an instance of '<em>Int Statistic Entry</em>'. | ||
300 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
301 | * @generated | ||
302 | */ | ||
303 | public T caseIntStatisticEntry(IntStatisticEntry object) { | ||
304 | return null; | ||
305 | } | ||
306 | |||
307 | /** | ||
308 | * Returns the result of interpreting the object as an instance of '<em>Real Statistic Entry</em>'. | ||
309 | * <!-- begin-user-doc --> | ||
310 | * This implementation returns null; | ||
311 | * returning a non-null result will terminate the switch. | ||
312 | * <!-- end-user-doc --> | ||
313 | * @param object the target of the switch. | ||
314 | * @return the result of interpreting the object as an instance of '<em>Real Statistic Entry</em>'. | ||
315 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
316 | * @generated | ||
317 | */ | ||
318 | public T caseRealStatisticEntry(RealStatisticEntry object) { | ||
319 | return null; | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * Returns the result of interpreting the object as an instance of '<em>String Statistic Entry</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * This implementation returns null; | ||
326 | * returning a non-null result will terminate the switch. | ||
327 | * <!-- end-user-doc --> | ||
328 | * @param object the target of the switch. | ||
329 | * @return the result of interpreting the object as an instance of '<em>String Statistic Entry</em>'. | ||
330 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
331 | * @generated | ||
332 | */ | ||
333 | public T caseStringStatisticEntry(StringStatisticEntry object) { | ||
334 | return null; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * This implementation returns null; | ||
341 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
342 | * <!-- end-user-doc --> | ||
343 | * @param object the target of the switch. | ||
344 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
345 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
346 | * @generated | ||
347 | */ | ||
348 | @Override | ||
349 | public T defaultCase(EObject object) { | ||
350 | return null; | ||
351 | } | ||
352 | |||
353 | } //LogicresultSwitch | ||