diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util')
2 files changed, 778 insertions, 0 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java new file mode 100644 index 00000000..67d9c396 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java | |||
@@ -0,0 +1,373 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | ||
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.application.applicationConfiguration.ApplicationConfigurationPackage | ||
21 | * @generated | ||
22 | */ | ||
23 | public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl | ||
24 | { | ||
25 | /** | ||
26 | * The cached model package. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <!-- end-user-doc --> | ||
29 | * @generated | ||
30 | */ | ||
31 | protected static ApplicationConfigurationPackage modelPackage; | ||
32 | |||
33 | /** | ||
34 | * Creates an instance of the adapter factory. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @generated | ||
38 | */ | ||
39 | public ApplicationConfigurationAdapterFactory() | ||
40 | { | ||
41 | if (modelPackage == null) | ||
42 | { | ||
43 | modelPackage = ApplicationConfigurationPackage.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 ApplicationConfigurationSwitch<Adapter> modelSwitch = | ||
76 | new ApplicationConfigurationSwitch<Adapter>() | ||
77 | { | ||
78 | @Override | ||
79 | public Adapter caseConfigurationScript(ConfigurationScript object) | ||
80 | { | ||
81 | return createConfigurationScriptAdapter(); | ||
82 | } | ||
83 | @Override | ||
84 | public Adapter caseCommand(Command object) | ||
85 | { | ||
86 | return createCommandAdapter(); | ||
87 | } | ||
88 | @Override | ||
89 | public Adapter caseDeclaration(Declaration object) | ||
90 | { | ||
91 | return createDeclarationAdapter(); | ||
92 | } | ||
93 | @Override | ||
94 | public Adapter caseImport(Import object) | ||
95 | { | ||
96 | return createImportAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseEPackageImport(EPackageImport object) | ||
100 | { | ||
101 | return createEPackageImportAdapter(); | ||
102 | } | ||
103 | @Override | ||
104 | public Adapter caseViatraImport(ViatraImport object) | ||
105 | { | ||
106 | return createViatraImportAdapter(); | ||
107 | } | ||
108 | @Override | ||
109 | public Adapter caseMetamodelSpecification(MetamodelSpecification object) | ||
110 | { | ||
111 | return createMetamodelSpecificationAdapter(); | ||
112 | } | ||
113 | @Override | ||
114 | public Adapter caseMetamodelEntry(MetamodelEntry object) | ||
115 | { | ||
116 | return createMetamodelEntryAdapter(); | ||
117 | } | ||
118 | @Override | ||
119 | public Adapter caseAllPackageEntry(AllPackageEntry object) | ||
120 | { | ||
121 | return createAllPackageEntryAdapter(); | ||
122 | } | ||
123 | @Override | ||
124 | public Adapter caseMetamodelElement(MetamodelElement object) | ||
125 | { | ||
126 | return createMetamodelElementAdapter(); | ||
127 | } | ||
128 | @Override | ||
129 | public Adapter caseMetamodelDeclaration(MetamodelDeclaration object) | ||
130 | { | ||
131 | return createMetamodelDeclarationAdapter(); | ||
132 | } | ||
133 | @Override | ||
134 | public Adapter caseMetamodelReference(MetamodelReference object) | ||
135 | { | ||
136 | return createMetamodelReferenceAdapter(); | ||
137 | } | ||
138 | @Override | ||
139 | public Adapter caseMetamodel(Metamodel object) | ||
140 | { | ||
141 | return createMetamodelAdapter(); | ||
142 | } | ||
143 | @Override | ||
144 | public Adapter defaultCase(EObject object) | ||
145 | { | ||
146 | return createEObjectAdapter(); | ||
147 | } | ||
148 | }; | ||
149 | |||
150 | /** | ||
151 | * Creates an adapter for the <code>target</code>. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @param target the object to adapt. | ||
155 | * @return the adapter for the <code>target</code>. | ||
156 | * @generated | ||
157 | */ | ||
158 | @Override | ||
159 | public Adapter createAdapter(Notifier target) | ||
160 | { | ||
161 | return modelSwitch.doSwitch((EObject)target); | ||
162 | } | ||
163 | |||
164 | |||
165 | /** | ||
166 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript <em>Configuration Script</em>}'. | ||
167 | * <!-- begin-user-doc --> | ||
168 | * This default implementation returns null so that we can easily ignore cases; | ||
169 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
170 | * <!-- end-user-doc --> | ||
171 | * @return the new adapter. | ||
172 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript | ||
173 | * @generated | ||
174 | */ | ||
175 | public Adapter createConfigurationScriptAdapter() | ||
176 | { | ||
177 | return null; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command <em>Command</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.application.applicationConfiguration.Command | ||
188 | * @generated | ||
189 | */ | ||
190 | public Adapter createCommandAdapter() | ||
191 | { | ||
192 | return null; | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration <em>Declaration</em>}'. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * This default implementation returns null so that we can easily ignore cases; | ||
199 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
200 | * <!-- end-user-doc --> | ||
201 | * @return the new adapter. | ||
202 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration | ||
203 | * @generated | ||
204 | */ | ||
205 | public Adapter createDeclarationAdapter() | ||
206 | { | ||
207 | return null; | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import <em>Import</em>}'. | ||
212 | * <!-- begin-user-doc --> | ||
213 | * This default implementation returns null so that we can easily ignore cases; | ||
214 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
215 | * <!-- end-user-doc --> | ||
216 | * @return the new adapter. | ||
217 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import | ||
218 | * @generated | ||
219 | */ | ||
220 | public Adapter createImportAdapter() | ||
221 | { | ||
222 | return null; | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport <em>EPackage Import</em>}'. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * This default implementation returns null so that we can easily ignore cases; | ||
229 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
230 | * <!-- end-user-doc --> | ||
231 | * @return the new adapter. | ||
232 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport | ||
233 | * @generated | ||
234 | */ | ||
235 | public Adapter createEPackageImportAdapter() | ||
236 | { | ||
237 | return null; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport <em>Viatra Import</em>}'. | ||
242 | * <!-- begin-user-doc --> | ||
243 | * This default implementation returns null so that we can easily ignore cases; | ||
244 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
245 | * <!-- end-user-doc --> | ||
246 | * @return the new adapter. | ||
247 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport | ||
248 | * @generated | ||
249 | */ | ||
250 | public Adapter createViatraImportAdapter() | ||
251 | { | ||
252 | return null; | ||
253 | } | ||
254 | |||
255 | /** | ||
256 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification <em>Metamodel Specification</em>}'. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * This default implementation returns null so that we can easily ignore cases; | ||
259 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
260 | * <!-- end-user-doc --> | ||
261 | * @return the new adapter. | ||
262 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification | ||
263 | * @generated | ||
264 | */ | ||
265 | public Adapter createMetamodelSpecificationAdapter() | ||
266 | { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry <em>Metamodel Entry</em>}'. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null so that we can easily ignore cases; | ||
274 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
275 | * <!-- end-user-doc --> | ||
276 | * @return the new adapter. | ||
277 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry | ||
278 | * @generated | ||
279 | */ | ||
280 | public Adapter createMetamodelEntryAdapter() | ||
281 | { | ||
282 | return null; | ||
283 | } | ||
284 | |||
285 | /** | ||
286 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry <em>All Package Entry</em>}'. | ||
287 | * <!-- begin-user-doc --> | ||
288 | * This default implementation returns null so that we can easily ignore cases; | ||
289 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
290 | * <!-- end-user-doc --> | ||
291 | * @return the new adapter. | ||
292 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry | ||
293 | * @generated | ||
294 | */ | ||
295 | public Adapter createAllPackageEntryAdapter() | ||
296 | { | ||
297 | return null; | ||
298 | } | ||
299 | |||
300 | /** | ||
301 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement <em>Metamodel Element</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.application.applicationConfiguration.MetamodelElement | ||
308 | * @generated | ||
309 | */ | ||
310 | public Adapter createMetamodelElementAdapter() | ||
311 | { | ||
312 | return null; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration <em>Metamodel Declaration</em>}'. | ||
317 | * <!-- begin-user-doc --> | ||
318 | * This default implementation returns null so that we can easily ignore cases; | ||
319 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
320 | * <!-- end-user-doc --> | ||
321 | * @return the new adapter. | ||
322 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration | ||
323 | * @generated | ||
324 | */ | ||
325 | public Adapter createMetamodelDeclarationAdapter() | ||
326 | { | ||
327 | return null; | ||
328 | } | ||
329 | |||
330 | /** | ||
331 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference <em>Metamodel Reference</em>}'. | ||
332 | * <!-- begin-user-doc --> | ||
333 | * This default implementation returns null so that we can easily ignore cases; | ||
334 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
335 | * <!-- end-user-doc --> | ||
336 | * @return the new adapter. | ||
337 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference | ||
338 | * @generated | ||
339 | */ | ||
340 | public Adapter createMetamodelReferenceAdapter() | ||
341 | { | ||
342 | return null; | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel <em>Metamodel</em>}'. | ||
347 | * <!-- begin-user-doc --> | ||
348 | * This default implementation returns null so that we can easily ignore cases; | ||
349 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
350 | * <!-- end-user-doc --> | ||
351 | * @return the new adapter. | ||
352 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel | ||
353 | * @generated | ||
354 | */ | ||
355 | public Adapter createMetamodelAdapter() | ||
356 | { | ||
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 | { | ||
370 | return null; | ||
371 | } | ||
372 | |||
373 | } //ApplicationConfigurationAdapterFactory | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java new file mode 100644 index 00000000..673ffe08 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java | |||
@@ -0,0 +1,405 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | import org.eclipse.emf.ecore.EPackage; | ||
10 | |||
11 | import org.eclipse.emf.ecore.util.Switch; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
16 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
17 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
18 | * starting with the actual class of the object | ||
19 | * and proceeding up the inheritance hierarchy | ||
20 | * until a non-null result is returned, | ||
21 | * which is the result of the switch. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class ApplicationConfigurationSwitch<T> extends Switch<T> | ||
27 | { | ||
28 | /** | ||
29 | * The cached model package | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | protected static ApplicationConfigurationPackage modelPackage; | ||
35 | |||
36 | /** | ||
37 | * Creates an instance of the switch. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | public ApplicationConfigurationSwitch() | ||
43 | { | ||
44 | if (modelPackage == null) | ||
45 | { | ||
46 | modelPackage = ApplicationConfigurationPackage.eINSTANCE; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * Checks whether this is a switch for the given package. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @param ePackage the package in question. | ||
55 | * @return whether this is a switch for the given package. | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected boolean isSwitchFor(EPackage ePackage) | ||
60 | { | ||
61 | return ePackage == modelPackage; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected T doSwitch(int classifierID, EObject theEObject) | ||
73 | { | ||
74 | switch (classifierID) | ||
75 | { | ||
76 | case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: | ||
77 | { | ||
78 | ConfigurationScript configurationScript = (ConfigurationScript)theEObject; | ||
79 | T result = caseConfigurationScript(configurationScript); | ||
80 | if (result == null) result = defaultCase(theEObject); | ||
81 | return result; | ||
82 | } | ||
83 | case ApplicationConfigurationPackage.COMMAND: | ||
84 | { | ||
85 | Command command = (Command)theEObject; | ||
86 | T result = caseCommand(command); | ||
87 | if (result == null) result = defaultCase(theEObject); | ||
88 | return result; | ||
89 | } | ||
90 | case ApplicationConfigurationPackage.DECLARATION: | ||
91 | { | ||
92 | Declaration declaration = (Declaration)theEObject; | ||
93 | T result = caseDeclaration(declaration); | ||
94 | if (result == null) result = caseCommand(declaration); | ||
95 | if (result == null) result = defaultCase(theEObject); | ||
96 | return result; | ||
97 | } | ||
98 | case ApplicationConfigurationPackage.IMPORT: | ||
99 | { | ||
100 | Import import_ = (Import)theEObject; | ||
101 | T result = caseImport(import_); | ||
102 | if (result == null) result = defaultCase(theEObject); | ||
103 | return result; | ||
104 | } | ||
105 | case ApplicationConfigurationPackage.EPACKAGE_IMPORT: | ||
106 | { | ||
107 | EPackageImport ePackageImport = (EPackageImport)theEObject; | ||
108 | T result = caseEPackageImport(ePackageImport); | ||
109 | if (result == null) result = caseImport(ePackageImport); | ||
110 | if (result == null) result = defaultCase(theEObject); | ||
111 | return result; | ||
112 | } | ||
113 | case ApplicationConfigurationPackage.VIATRA_IMPORT: | ||
114 | { | ||
115 | ViatraImport viatraImport = (ViatraImport)theEObject; | ||
116 | T result = caseViatraImport(viatraImport); | ||
117 | if (result == null) result = caseImport(viatraImport); | ||
118 | if (result == null) result = defaultCase(theEObject); | ||
119 | return result; | ||
120 | } | ||
121 | case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: | ||
122 | { | ||
123 | MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; | ||
124 | T result = caseMetamodelSpecification(metamodelSpecification); | ||
125 | if (result == null) result = caseMetamodel(metamodelSpecification); | ||
126 | if (result == null) result = defaultCase(theEObject); | ||
127 | return result; | ||
128 | } | ||
129 | case ApplicationConfigurationPackage.METAMODEL_ENTRY: | ||
130 | { | ||
131 | MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; | ||
132 | T result = caseMetamodelEntry(metamodelEntry); | ||
133 | if (result == null) result = defaultCase(theEObject); | ||
134 | return result; | ||
135 | } | ||
136 | case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: | ||
137 | { | ||
138 | AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; | ||
139 | T result = caseAllPackageEntry(allPackageEntry); | ||
140 | if (result == null) result = caseMetamodelEntry(allPackageEntry); | ||
141 | if (result == null) result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case ApplicationConfigurationPackage.METAMODEL_ELEMENT: | ||
145 | { | ||
146 | MetamodelElement metamodelElement = (MetamodelElement)theEObject; | ||
147 | T result = caseMetamodelElement(metamodelElement); | ||
148 | if (result == null) result = caseMetamodelEntry(metamodelElement); | ||
149 | if (result == null) result = defaultCase(theEObject); | ||
150 | return result; | ||
151 | } | ||
152 | case ApplicationConfigurationPackage.METAMODEL_DECLARATION: | ||
153 | { | ||
154 | MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; | ||
155 | T result = caseMetamodelDeclaration(metamodelDeclaration); | ||
156 | if (result == null) result = caseDeclaration(metamodelDeclaration); | ||
157 | if (result == null) result = caseCommand(metamodelDeclaration); | ||
158 | if (result == null) result = defaultCase(theEObject); | ||
159 | return result; | ||
160 | } | ||
161 | case ApplicationConfigurationPackage.METAMODEL_REFERENCE: | ||
162 | { | ||
163 | MetamodelReference metamodelReference = (MetamodelReference)theEObject; | ||
164 | T result = caseMetamodelReference(metamodelReference); | ||
165 | if (result == null) result = caseMetamodel(metamodelReference); | ||
166 | if (result == null) result = defaultCase(theEObject); | ||
167 | return result; | ||
168 | } | ||
169 | case ApplicationConfigurationPackage.METAMODEL: | ||
170 | { | ||
171 | Metamodel metamodel = (Metamodel)theEObject; | ||
172 | T result = caseMetamodel(metamodel); | ||
173 | if (result == null) result = defaultCase(theEObject); | ||
174 | return result; | ||
175 | } | ||
176 | default: return defaultCase(theEObject); | ||
177 | } | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * Returns the result of interpreting the object as an instance of '<em>Configuration Script</em>'. | ||
182 | * <!-- begin-user-doc --> | ||
183 | * This implementation returns null; | ||
184 | * returning a non-null result will terminate the switch. | ||
185 | * <!-- end-user-doc --> | ||
186 | * @param object the target of the switch. | ||
187 | * @return the result of interpreting the object as an instance of '<em>Configuration Script</em>'. | ||
188 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
189 | * @generated | ||
190 | */ | ||
191 | public T caseConfigurationScript(ConfigurationScript object) | ||
192 | { | ||
193 | return null; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * Returns the result of interpreting the object as an instance of '<em>Command</em>'. | ||
198 | * <!-- begin-user-doc --> | ||
199 | * This implementation returns null; | ||
200 | * returning a non-null result will terminate the switch. | ||
201 | * <!-- end-user-doc --> | ||
202 | * @param object the target of the switch. | ||
203 | * @return the result of interpreting the object as an instance of '<em>Command</em>'. | ||
204 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
205 | * @generated | ||
206 | */ | ||
207 | public T caseCommand(Command object) | ||
208 | { | ||
209 | return null; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * Returns the result of interpreting the object as an instance of '<em>Declaration</em>'. | ||
214 | * <!-- begin-user-doc --> | ||
215 | * This implementation returns null; | ||
216 | * returning a non-null result will terminate the switch. | ||
217 | * <!-- end-user-doc --> | ||
218 | * @param object the target of the switch. | ||
219 | * @return the result of interpreting the object as an instance of '<em>Declaration</em>'. | ||
220 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
221 | * @generated | ||
222 | */ | ||
223 | public T caseDeclaration(Declaration object) | ||
224 | { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Returns the result of interpreting the object as an instance of '<em>Import</em>'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This implementation returns null; | ||
232 | * returning a non-null result will terminate the switch. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @param object the target of the switch. | ||
235 | * @return the result of interpreting the object as an instance of '<em>Import</em>'. | ||
236 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
237 | * @generated | ||
238 | */ | ||
239 | public T caseImport(Import object) | ||
240 | { | ||
241 | return null; | ||
242 | } | ||
243 | |||
244 | /** | ||
245 | * Returns the result of interpreting the object as an instance of '<em>EPackage Import</em>'. | ||
246 | * <!-- begin-user-doc --> | ||
247 | * This implementation returns null; | ||
248 | * returning a non-null result will terminate the switch. | ||
249 | * <!-- end-user-doc --> | ||
250 | * @param object the target of the switch. | ||
251 | * @return the result of interpreting the object as an instance of '<em>EPackage Import</em>'. | ||
252 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
253 | * @generated | ||
254 | */ | ||
255 | public T caseEPackageImport(EPackageImport object) | ||
256 | { | ||
257 | return null; | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * Returns the result of interpreting the object as an instance of '<em>Viatra Import</em>'. | ||
262 | * <!-- begin-user-doc --> | ||
263 | * This implementation returns null; | ||
264 | * returning a non-null result will terminate the switch. | ||
265 | * <!-- end-user-doc --> | ||
266 | * @param object the target of the switch. | ||
267 | * @return the result of interpreting the object as an instance of '<em>Viatra Import</em>'. | ||
268 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
269 | * @generated | ||
270 | */ | ||
271 | public T caseViatraImport(ViatraImport object) | ||
272 | { | ||
273 | return null; | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Specification</em>'. | ||
278 | * <!-- begin-user-doc --> | ||
279 | * This implementation returns null; | ||
280 | * returning a non-null result will terminate the switch. | ||
281 | * <!-- end-user-doc --> | ||
282 | * @param object the target of the switch. | ||
283 | * @return the result of interpreting the object as an instance of '<em>Metamodel Specification</em>'. | ||
284 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
285 | * @generated | ||
286 | */ | ||
287 | public T caseMetamodelSpecification(MetamodelSpecification object) | ||
288 | { | ||
289 | return null; | ||
290 | } | ||
291 | |||
292 | /** | ||
293 | * Returns the result of interpreting the object as an instance of '<em>Metamodel 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>Metamodel Entry</em>'. | ||
300 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
301 | * @generated | ||
302 | */ | ||
303 | public T caseMetamodelEntry(MetamodelEntry object) | ||
304 | { | ||
305 | return null; | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * Returns the result of interpreting the object as an instance of '<em>All Package Entry</em>'. | ||
310 | * <!-- begin-user-doc --> | ||
311 | * This implementation returns null; | ||
312 | * returning a non-null result will terminate the switch. | ||
313 | * <!-- end-user-doc --> | ||
314 | * @param object the target of the switch. | ||
315 | * @return the result of interpreting the object as an instance of '<em>All Package Entry</em>'. | ||
316 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
317 | * @generated | ||
318 | */ | ||
319 | public T caseAllPackageEntry(AllPackageEntry object) | ||
320 | { | ||
321 | return null; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Element</em>'. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * This implementation returns null; | ||
328 | * returning a non-null result will terminate the switch. | ||
329 | * <!-- end-user-doc --> | ||
330 | * @param object the target of the switch. | ||
331 | * @return the result of interpreting the object as an instance of '<em>Metamodel Element</em>'. | ||
332 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
333 | * @generated | ||
334 | */ | ||
335 | public T caseMetamodelElement(MetamodelElement object) | ||
336 | { | ||
337 | return null; | ||
338 | } | ||
339 | |||
340 | /** | ||
341 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Declaration</em>'. | ||
342 | * <!-- begin-user-doc --> | ||
343 | * This implementation returns null; | ||
344 | * returning a non-null result will terminate the switch. | ||
345 | * <!-- end-user-doc --> | ||
346 | * @param object the target of the switch. | ||
347 | * @return the result of interpreting the object as an instance of '<em>Metamodel Declaration</em>'. | ||
348 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
349 | * @generated | ||
350 | */ | ||
351 | public T caseMetamodelDeclaration(MetamodelDeclaration object) | ||
352 | { | ||
353 | return null; | ||
354 | } | ||
355 | |||
356 | /** | ||
357 | * Returns the result of interpreting the object as an instance of '<em>Metamodel Reference</em>'. | ||
358 | * <!-- begin-user-doc --> | ||
359 | * This implementation returns null; | ||
360 | * returning a non-null result will terminate the switch. | ||
361 | * <!-- end-user-doc --> | ||
362 | * @param object the target of the switch. | ||
363 | * @return the result of interpreting the object as an instance of '<em>Metamodel Reference</em>'. | ||
364 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
365 | * @generated | ||
366 | */ | ||
367 | public T caseMetamodelReference(MetamodelReference object) | ||
368 | { | ||
369 | return null; | ||
370 | } | ||
371 | |||
372 | /** | ||
373 | * Returns the result of interpreting the object as an instance of '<em>Metamodel</em>'. | ||
374 | * <!-- begin-user-doc --> | ||
375 | * This implementation returns null; | ||
376 | * returning a non-null result will terminate the switch. | ||
377 | * <!-- end-user-doc --> | ||
378 | * @param object the target of the switch. | ||
379 | * @return the result of interpreting the object as an instance of '<em>Metamodel</em>'. | ||
380 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
381 | * @generated | ||
382 | */ | ||
383 | public T caseMetamodel(Metamodel object) | ||
384 | { | ||
385 | return null; | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
390 | * <!-- begin-user-doc --> | ||
391 | * This implementation returns null; | ||
392 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
393 | * <!-- end-user-doc --> | ||
394 | * @param object the target of the switch. | ||
395 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
396 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
397 | * @generated | ||
398 | */ | ||
399 | @Override | ||
400 | public T defaultCase(EObject object) | ||
401 | { | ||
402 | return null; | ||
403 | } | ||
404 | |||
405 | } //ApplicationConfigurationSwitch | ||