1 | /**
|
---|
2 | */
|
---|
3 | package de.ugoe.cs.cpdp.decentApp.models.decent.util;
|
---|
4 |
|
---|
5 | import de.ugoe.cs.cpdp.decentApp.models.decent.*;
|
---|
6 |
|
---|
7 | import org.eclipse.emf.ecore.EObject;
|
---|
8 | import org.eclipse.emf.ecore.EPackage;
|
---|
9 | import org.eclipse.emf.ecore.util.Switch;
|
---|
10 |
|
---|
11 | import de.ugoe.cs.cpdp.decentApp.models.decent.Activity;
|
---|
12 | import de.ugoe.cs.cpdp.decentApp.models.decent.ActivityType;
|
---|
13 | import de.ugoe.cs.cpdp.decentApp.models.decent.Agent;
|
---|
14 | import de.ugoe.cs.cpdp.decentApp.models.decent.AgentPool;
|
---|
15 | import de.ugoe.cs.cpdp.decentApp.models.decent.AgentState;
|
---|
16 | import de.ugoe.cs.cpdp.decentApp.models.decent.Artifact;
|
---|
17 | import de.ugoe.cs.cpdp.decentApp.models.decent.ArtifactType;
|
---|
18 | import de.ugoe.cs.cpdp.decentApp.models.decent.ArtifactTypeHierarchy;
|
---|
19 | import de.ugoe.cs.cpdp.decentApp.models.decent.Attribute;
|
---|
20 | import de.ugoe.cs.cpdp.decentApp.models.decent.AttributePool;
|
---|
21 | import de.ugoe.cs.cpdp.decentApp.models.decent.DECENTPackage;
|
---|
22 | import de.ugoe.cs.cpdp.decentApp.models.decent.Delta;
|
---|
23 | import de.ugoe.cs.cpdp.decentApp.models.decent.Dimension;
|
---|
24 | import de.ugoe.cs.cpdp.decentApp.models.decent.DoubleListValue;
|
---|
25 | import de.ugoe.cs.cpdp.decentApp.models.decent.DoubleValue;
|
---|
26 | import de.ugoe.cs.cpdp.decentApp.models.decent.Element;
|
---|
27 | import de.ugoe.cs.cpdp.decentApp.models.decent.IntegerListValue;
|
---|
28 | import de.ugoe.cs.cpdp.decentApp.models.decent.IntegerValue;
|
---|
29 | import de.ugoe.cs.cpdp.decentApp.models.decent.ListValue;
|
---|
30 | import de.ugoe.cs.cpdp.decentApp.models.decent.Location;
|
---|
31 | import de.ugoe.cs.cpdp.decentApp.models.decent.Model;
|
---|
32 | import de.ugoe.cs.cpdp.decentApp.models.decent.Project;
|
---|
33 | import de.ugoe.cs.cpdp.decentApp.models.decent.State;
|
---|
34 | import de.ugoe.cs.cpdp.decentApp.models.decent.Step;
|
---|
35 | import de.ugoe.cs.cpdp.decentApp.models.decent.StringListValue;
|
---|
36 | import de.ugoe.cs.cpdp.decentApp.models.decent.StringValue;
|
---|
37 | import de.ugoe.cs.cpdp.decentApp.models.decent.Value;
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * <!-- begin-user-doc -->
|
---|
41 | * The <b>Switch</b> for the model's inheritance hierarchy.
|
---|
42 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
|
---|
43 | * to invoke the <code>caseXXX</code> method for each class of the model,
|
---|
44 | * starting with the actual class of the object
|
---|
45 | * and proceeding up the inheritance hierarchy
|
---|
46 | * until a non-null result is returned,
|
---|
47 | * which is the result of the switch.
|
---|
48 | * <!-- end-user-doc -->
|
---|
49 | * @see de.ugoe.cs.cpdp.decentApp.models.decent.DECENTPackage
|
---|
50 | * @generated
|
---|
51 | */
|
---|
52 | public class DECENTSwitch<T> extends Switch<T> {
|
---|
53 | /**
|
---|
54 | * The cached model package
|
---|
55 | * <!-- begin-user-doc -->
|
---|
56 | * <!-- end-user-doc -->
|
---|
57 | * @generated
|
---|
58 | */
|
---|
59 | protected static DECENTPackage modelPackage;
|
---|
60 |
|
---|
61 | /**
|
---|
62 | * Creates an instance of the switch.
|
---|
63 | * <!-- begin-user-doc -->
|
---|
64 | * <!-- end-user-doc -->
|
---|
65 | * @generated
|
---|
66 | */
|
---|
67 | public DECENTSwitch() {
|
---|
68 | if (modelPackage == null) {
|
---|
69 | modelPackage = DECENTPackage.eINSTANCE;
|
---|
70 | }
|
---|
71 | }
|
---|
72 |
|
---|
73 | /**
|
---|
74 | * Checks whether this is a switch for the given package.
|
---|
75 | * <!-- begin-user-doc -->
|
---|
76 | * <!-- end-user-doc -->
|
---|
77 | * @parameter ePackage the package in question.
|
---|
78 | * @return whether this is a switch for the given package.
|
---|
79 | * @generated
|
---|
80 | */
|
---|
81 | @Override
|
---|
82 | protected boolean isSwitchFor(EPackage ePackage) {
|
---|
83 | return ePackage == modelPackage;
|
---|
84 | }
|
---|
85 |
|
---|
86 | /**
|
---|
87 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
|
---|
88 | * <!-- begin-user-doc -->
|
---|
89 | * <!-- end-user-doc -->
|
---|
90 | * @return the first non-null result returned by a <code>caseXXX</code> call.
|
---|
91 | * @generated
|
---|
92 | */
|
---|
93 | @Override
|
---|
94 | protected T doSwitch(int classifierID, EObject theEObject) {
|
---|
95 | switch (classifierID) {
|
---|
96 | case DECENTPackage.MODEL: {
|
---|
97 | Model model = (Model)theEObject;
|
---|
98 | T result = caseModel(model);
|
---|
99 | if (result == null) result = defaultCase(theEObject);
|
---|
100 | return result;
|
---|
101 | }
|
---|
102 | case DECENTPackage.ELEMENT: {
|
---|
103 | Element element = (Element)theEObject;
|
---|
104 | T result = caseElement(element);
|
---|
105 | if (result == null) result = defaultCase(theEObject);
|
---|
106 | return result;
|
---|
107 | }
|
---|
108 | case DECENTPackage.STEP: {
|
---|
109 | Step step = (Step)theEObject;
|
---|
110 | T result = caseStep(step);
|
---|
111 | if (result == null) result = caseElement(step);
|
---|
112 | if (result == null) result = defaultCase(theEObject);
|
---|
113 | return result;
|
---|
114 | }
|
---|
115 | case DECENTPackage.AGENT_POOL: {
|
---|
116 | AgentPool agentPool = (AgentPool)theEObject;
|
---|
117 | T result = caseAgentPool(agentPool);
|
---|
118 | if (result == null) result = defaultCase(theEObject);
|
---|
119 | return result;
|
---|
120 | }
|
---|
121 | case DECENTPackage.ATTRIBUTE_POOL: {
|
---|
122 | AttributePool attributePool = (AttributePool)theEObject;
|
---|
123 | T result = caseAttributePool(attributePool);
|
---|
124 | if (result == null) result = defaultCase(theEObject);
|
---|
125 | return result;
|
---|
126 | }
|
---|
127 | case DECENTPackage.ARTIFACT_TYPE_HIERARCHY: {
|
---|
128 | ArtifactTypeHierarchy artifactTypeHierarchy = (ArtifactTypeHierarchy)theEObject;
|
---|
129 | T result = caseArtifactTypeHierarchy(artifactTypeHierarchy);
|
---|
130 | if (result == null) result = defaultCase(theEObject);
|
---|
131 | return result;
|
---|
132 | }
|
---|
133 | case DECENTPackage.ARTIFACT_TYPE: {
|
---|
134 | ArtifactType artifactType = (ArtifactType)theEObject;
|
---|
135 | T result = caseArtifactType(artifactType);
|
---|
136 | if (result == null) result = caseElement(artifactType);
|
---|
137 | if (result == null) result = defaultCase(theEObject);
|
---|
138 | return result;
|
---|
139 | }
|
---|
140 | case DECENTPackage.PROJECT: {
|
---|
141 | Project project = (Project)theEObject;
|
---|
142 | T result = caseProject(project);
|
---|
143 | if (result == null) result = caseElement(project);
|
---|
144 | if (result == null) result = defaultCase(theEObject);
|
---|
145 | return result;
|
---|
146 | }
|
---|
147 | case DECENTPackage.AGENT: {
|
---|
148 | Agent agent = (Agent)theEObject;
|
---|
149 | T result = caseAgent(agent);
|
---|
150 | if (result == null) result = caseElement(agent);
|
---|
151 | if (result == null) result = defaultCase(theEObject);
|
---|
152 | return result;
|
---|
153 | }
|
---|
154 | case DECENTPackage.AGENT_STATE: {
|
---|
155 | AgentState agentState = (AgentState)theEObject;
|
---|
156 | T result = caseAgentState(agentState);
|
---|
157 | if (result == null) result = caseElement(agentState);
|
---|
158 | if (result == null) result = defaultCase(theEObject);
|
---|
159 | return result;
|
---|
160 | }
|
---|
161 | case DECENTPackage.LOCATION: {
|
---|
162 | Location location = (Location)theEObject;
|
---|
163 | T result = caseLocation(location);
|
---|
164 | if (result == null) result = caseElement(location);
|
---|
165 | if (result == null) result = defaultCase(theEObject);
|
---|
166 | return result;
|
---|
167 | }
|
---|
168 | case DECENTPackage.ARTIFACT: {
|
---|
169 | Artifact artifact = (Artifact)theEObject;
|
---|
170 | T result = caseArtifact(artifact);
|
---|
171 | if (result == null) result = caseElement(artifact);
|
---|
172 | if (result == null) result = defaultCase(theEObject);
|
---|
173 | return result;
|
---|
174 | }
|
---|
175 | case DECENTPackage.STATE: {
|
---|
176 | State state = (State)theEObject;
|
---|
177 | T result = caseState(state);
|
---|
178 | if (result == null) result = caseElement(state);
|
---|
179 | if (result == null) result = defaultCase(theEObject);
|
---|
180 | return result;
|
---|
181 | }
|
---|
182 | case DECENTPackage.ACTIVITY: {
|
---|
183 | Activity activity = (Activity)theEObject;
|
---|
184 | T result = caseActivity(activity);
|
---|
185 | if (result == null) result = caseElement(activity);
|
---|
186 | if (result == null) result = defaultCase(theEObject);
|
---|
187 | return result;
|
---|
188 | }
|
---|
189 | case DECENTPackage.ACTIVITY_TYPE: {
|
---|
190 | ActivityType activityType = (ActivityType)theEObject;
|
---|
191 | T result = caseActivityType(activityType);
|
---|
192 | if (result == null) result = caseElement(activityType);
|
---|
193 | if (result == null) result = defaultCase(theEObject);
|
---|
194 | return result;
|
---|
195 | }
|
---|
196 | case DECENTPackage.DIMENSION: {
|
---|
197 | Dimension dimension = (Dimension)theEObject;
|
---|
198 | T result = caseDimension(dimension);
|
---|
199 | if (result == null) result = caseElement(dimension);
|
---|
200 | if (result == null) result = defaultCase(theEObject);
|
---|
201 | return result;
|
---|
202 | }
|
---|
203 | case DECENTPackage.ATTRIBUTE: {
|
---|
204 | Attribute attribute = (Attribute)theEObject;
|
---|
205 | T result = caseAttribute(attribute);
|
---|
206 | if (result == null) result = caseElement(attribute);
|
---|
207 | if (result == null) result = defaultCase(theEObject);
|
---|
208 | return result;
|
---|
209 | }
|
---|
210 | case DECENTPackage.VALUE: {
|
---|
211 | Value value = (Value)theEObject;
|
---|
212 | T result = caseValue(value);
|
---|
213 | if (result == null) result = defaultCase(theEObject);
|
---|
214 | return result;
|
---|
215 | }
|
---|
216 | case DECENTPackage.INTEGER_VALUE: {
|
---|
217 | IntegerValue integerValue = (IntegerValue)theEObject;
|
---|
218 | T result = caseIntegerValue(integerValue);
|
---|
219 | if (result == null) result = caseValue(integerValue);
|
---|
220 | if (result == null) result = defaultCase(theEObject);
|
---|
221 | return result;
|
---|
222 | }
|
---|
223 | case DECENTPackage.DOUBLE_VALUE: {
|
---|
224 | DoubleValue doubleValue = (DoubleValue)theEObject;
|
---|
225 | T result = caseDoubleValue(doubleValue);
|
---|
226 | if (result == null) result = caseValue(doubleValue);
|
---|
227 | if (result == null) result = defaultCase(theEObject);
|
---|
228 | return result;
|
---|
229 | }
|
---|
230 | case DECENTPackage.STRING_VALUE: {
|
---|
231 | StringValue stringValue = (StringValue)theEObject;
|
---|
232 | T result = caseStringValue(stringValue);
|
---|
233 | if (result == null) result = caseValue(stringValue);
|
---|
234 | if (result == null) result = defaultCase(theEObject);
|
---|
235 | return result;
|
---|
236 | }
|
---|
237 | case DECENTPackage.LIST_VALUE: {
|
---|
238 | ListValue listValue = (ListValue)theEObject;
|
---|
239 | T result = caseListValue(listValue);
|
---|
240 | if (result == null) result = caseValue(listValue);
|
---|
241 | if (result == null) result = defaultCase(theEObject);
|
---|
242 | return result;
|
---|
243 | }
|
---|
244 | case DECENTPackage.STRING_LIST_VALUE: {
|
---|
245 | StringListValue stringListValue = (StringListValue)theEObject;
|
---|
246 | T result = caseStringListValue(stringListValue);
|
---|
247 | if (result == null) result = caseValue(stringListValue);
|
---|
248 | if (result == null) result = defaultCase(theEObject);
|
---|
249 | return result;
|
---|
250 | }
|
---|
251 | case DECENTPackage.DOUBLE_LIST_VALUE: {
|
---|
252 | DoubleListValue doubleListValue = (DoubleListValue)theEObject;
|
---|
253 | T result = caseDoubleListValue(doubleListValue);
|
---|
254 | if (result == null) result = caseValue(doubleListValue);
|
---|
255 | if (result == null) result = defaultCase(theEObject);
|
---|
256 | return result;
|
---|
257 | }
|
---|
258 | case DECENTPackage.INTEGER_LIST_VALUE: {
|
---|
259 | IntegerListValue integerListValue = (IntegerListValue)theEObject;
|
---|
260 | T result = caseIntegerListValue(integerListValue);
|
---|
261 | if (result == null) result = caseValue(integerListValue);
|
---|
262 | if (result == null) result = defaultCase(theEObject);
|
---|
263 | return result;
|
---|
264 | }
|
---|
265 | case DECENTPackage.DELTA: {
|
---|
266 | Delta delta = (Delta)theEObject;
|
---|
267 | T result = caseDelta(delta);
|
---|
268 | if (result == null) result = defaultCase(theEObject);
|
---|
269 | return result;
|
---|
270 | }
|
---|
271 | default: return defaultCase(theEObject);
|
---|
272 | }
|
---|
273 | }
|
---|
274 |
|
---|
275 | /**
|
---|
276 | * Returns the result of interpreting the object as an instance of '<em>Model</em>'.
|
---|
277 | * <!-- begin-user-doc -->
|
---|
278 | * This implementation returns null;
|
---|
279 | * returning a non-null result will terminate the switch.
|
---|
280 | * <!-- end-user-doc -->
|
---|
281 | * @param object the target of the switch.
|
---|
282 | * @return the result of interpreting the object as an instance of '<em>Model</em>'.
|
---|
283 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
284 | * @generated
|
---|
285 | */
|
---|
286 | public T caseModel(Model object) {
|
---|
287 | return null;
|
---|
288 | }
|
---|
289 |
|
---|
290 | /**
|
---|
291 | * Returns the result of interpreting the object as an instance of '<em>Element</em>'.
|
---|
292 | * <!-- begin-user-doc -->
|
---|
293 | * This implementation returns null;
|
---|
294 | * returning a non-null result will terminate the switch.
|
---|
295 | * <!-- end-user-doc -->
|
---|
296 | * @param object the target of the switch.
|
---|
297 | * @return the result of interpreting the object as an instance of '<em>Element</em>'.
|
---|
298 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
299 | * @generated
|
---|
300 | */
|
---|
301 | public T caseElement(Element object) {
|
---|
302 | return null;
|
---|
303 | }
|
---|
304 |
|
---|
305 | /**
|
---|
306 | * Returns the result of interpreting the object as an instance of '<em>Step</em>'.
|
---|
307 | * <!-- begin-user-doc -->
|
---|
308 | * This implementation returns null;
|
---|
309 | * returning a non-null result will terminate the switch.
|
---|
310 | * <!-- end-user-doc -->
|
---|
311 | * @param object the target of the switch.
|
---|
312 | * @return the result of interpreting the object as an instance of '<em>Step</em>'.
|
---|
313 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
314 | * @generated
|
---|
315 | */
|
---|
316 | public T caseStep(Step object) {
|
---|
317 | return null;
|
---|
318 | }
|
---|
319 |
|
---|
320 | /**
|
---|
321 | * Returns the result of interpreting the object as an instance of '<em>Agent Pool</em>'.
|
---|
322 | * <!-- begin-user-doc -->
|
---|
323 | * This implementation returns null;
|
---|
324 | * returning a non-null result will terminate the switch.
|
---|
325 | * <!-- end-user-doc -->
|
---|
326 | * @param object the target of the switch.
|
---|
327 | * @return the result of interpreting the object as an instance of '<em>Agent Pool</em>'.
|
---|
328 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
329 | * @generated
|
---|
330 | */
|
---|
331 | public T caseAgentPool(AgentPool object) {
|
---|
332 | return null;
|
---|
333 | }
|
---|
334 |
|
---|
335 | /**
|
---|
336 | * Returns the result of interpreting the object as an instance of '<em>Attribute Pool</em>'.
|
---|
337 | * <!-- begin-user-doc -->
|
---|
338 | * This implementation returns null;
|
---|
339 | * returning a non-null result will terminate the switch.
|
---|
340 | * <!-- end-user-doc -->
|
---|
341 | * @param object the target of the switch.
|
---|
342 | * @return the result of interpreting the object as an instance of '<em>Attribute Pool</em>'.
|
---|
343 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
344 | * @generated
|
---|
345 | */
|
---|
346 | public T caseAttributePool(AttributePool object) {
|
---|
347 | return null;
|
---|
348 | }
|
---|
349 |
|
---|
350 | /**
|
---|
351 | * Returns the result of interpreting the object as an instance of '<em>Artifact Type Hierarchy</em>'.
|
---|
352 | * <!-- begin-user-doc -->
|
---|
353 | * This implementation returns null;
|
---|
354 | * returning a non-null result will terminate the switch.
|
---|
355 | * <!-- end-user-doc -->
|
---|
356 | * @param object the target of the switch.
|
---|
357 | * @return the result of interpreting the object as an instance of '<em>Artifact Type Hierarchy</em>'.
|
---|
358 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
359 | * @generated
|
---|
360 | */
|
---|
361 | public T caseArtifactTypeHierarchy(ArtifactTypeHierarchy object) {
|
---|
362 | return null;
|
---|
363 | }
|
---|
364 |
|
---|
365 | /**
|
---|
366 | * Returns the result of interpreting the object as an instance of '<em>Artifact Type</em>'.
|
---|
367 | * <!-- begin-user-doc -->
|
---|
368 | * This implementation returns null;
|
---|
369 | * returning a non-null result will terminate the switch.
|
---|
370 | * <!-- end-user-doc -->
|
---|
371 | * @param object the target of the switch.
|
---|
372 | * @return the result of interpreting the object as an instance of '<em>Artifact Type</em>'.
|
---|
373 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
374 | * @generated
|
---|
375 | */
|
---|
376 | public T caseArtifactType(ArtifactType object) {
|
---|
377 | return null;
|
---|
378 | }
|
---|
379 |
|
---|
380 | /**
|
---|
381 | * Returns the result of interpreting the object as an instance of '<em>Project</em>'.
|
---|
382 | * <!-- begin-user-doc -->
|
---|
383 | * This implementation returns null;
|
---|
384 | * returning a non-null result will terminate the switch.
|
---|
385 | * <!-- end-user-doc -->
|
---|
386 | * @param object the target of the switch.
|
---|
387 | * @return the result of interpreting the object as an instance of '<em>Project</em>'.
|
---|
388 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
389 | * @generated
|
---|
390 | */
|
---|
391 | public T caseProject(Project object) {
|
---|
392 | return null;
|
---|
393 | }
|
---|
394 |
|
---|
395 | /**
|
---|
396 | * Returns the result of interpreting the object as an instance of '<em>Agent</em>'.
|
---|
397 | * <!-- begin-user-doc -->
|
---|
398 | * This implementation returns null;
|
---|
399 | * returning a non-null result will terminate the switch.
|
---|
400 | * <!-- end-user-doc -->
|
---|
401 | * @param object the target of the switch.
|
---|
402 | * @return the result of interpreting the object as an instance of '<em>Agent</em>'.
|
---|
403 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
404 | * @generated
|
---|
405 | */
|
---|
406 | public T caseAgent(Agent object) {
|
---|
407 | return null;
|
---|
408 | }
|
---|
409 |
|
---|
410 | /**
|
---|
411 | * Returns the result of interpreting the object as an instance of '<em>Agent State</em>'.
|
---|
412 | * <!-- begin-user-doc -->
|
---|
413 | * This implementation returns null;
|
---|
414 | * returning a non-null result will terminate the switch.
|
---|
415 | * <!-- end-user-doc -->
|
---|
416 | * @param object the target of the switch.
|
---|
417 | * @return the result of interpreting the object as an instance of '<em>Agent State</em>'.
|
---|
418 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
419 | * @generated
|
---|
420 | */
|
---|
421 | public T caseAgentState(AgentState object) {
|
---|
422 | return null;
|
---|
423 | }
|
---|
424 |
|
---|
425 | /**
|
---|
426 | * Returns the result of interpreting the object as an instance of '<em>Location</em>'.
|
---|
427 | * <!-- begin-user-doc -->
|
---|
428 | * This implementation returns null;
|
---|
429 | * returning a non-null result will terminate the switch.
|
---|
430 | * <!-- end-user-doc -->
|
---|
431 | * @param object the target of the switch.
|
---|
432 | * @return the result of interpreting the object as an instance of '<em>Location</em>'.
|
---|
433 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
434 | * @generated
|
---|
435 | */
|
---|
436 | public T caseLocation(Location object) {
|
---|
437 | return null;
|
---|
438 | }
|
---|
439 |
|
---|
440 | /**
|
---|
441 | * Returns the result of interpreting the object as an instance of '<em>Artifact</em>'.
|
---|
442 | * <!-- begin-user-doc -->
|
---|
443 | * This implementation returns null;
|
---|
444 | * returning a non-null result will terminate the switch.
|
---|
445 | * <!-- end-user-doc -->
|
---|
446 | * @param object the target of the switch.
|
---|
447 | * @return the result of interpreting the object as an instance of '<em>Artifact</em>'.
|
---|
448 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
449 | * @generated
|
---|
450 | */
|
---|
451 | public T caseArtifact(Artifact object) {
|
---|
452 | return null;
|
---|
453 | }
|
---|
454 |
|
---|
455 | /**
|
---|
456 | * Returns the result of interpreting the object as an instance of '<em>State</em>'.
|
---|
457 | * <!-- begin-user-doc -->
|
---|
458 | * This implementation returns null;
|
---|
459 | * returning a non-null result will terminate the switch.
|
---|
460 | * <!-- end-user-doc -->
|
---|
461 | * @param object the target of the switch.
|
---|
462 | * @return the result of interpreting the object as an instance of '<em>State</em>'.
|
---|
463 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
464 | * @generated
|
---|
465 | */
|
---|
466 | public T caseState(State object) {
|
---|
467 | return null;
|
---|
468 | }
|
---|
469 |
|
---|
470 | /**
|
---|
471 | * Returns the result of interpreting the object as an instance of '<em>Activity</em>'.
|
---|
472 | * <!-- begin-user-doc -->
|
---|
473 | * This implementation returns null;
|
---|
474 | * returning a non-null result will terminate the switch.
|
---|
475 | * <!-- end-user-doc -->
|
---|
476 | * @param object the target of the switch.
|
---|
477 | * @return the result of interpreting the object as an instance of '<em>Activity</em>'.
|
---|
478 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
479 | * @generated
|
---|
480 | */
|
---|
481 | public T caseActivity(Activity object) {
|
---|
482 | return null;
|
---|
483 | }
|
---|
484 |
|
---|
485 | /**
|
---|
486 | * Returns the result of interpreting the object as an instance of '<em>Activity Type</em>'.
|
---|
487 | * <!-- begin-user-doc -->
|
---|
488 | * This implementation returns null;
|
---|
489 | * returning a non-null result will terminate the switch.
|
---|
490 | * <!-- end-user-doc -->
|
---|
491 | * @param object the target of the switch.
|
---|
492 | * @return the result of interpreting the object as an instance of '<em>Activity Type</em>'.
|
---|
493 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
494 | * @generated
|
---|
495 | */
|
---|
496 | public T caseActivityType(ActivityType object) {
|
---|
497 | return null;
|
---|
498 | }
|
---|
499 |
|
---|
500 | /**
|
---|
501 | * Returns the result of interpreting the object as an instance of '<em>Dimension</em>'.
|
---|
502 | * <!-- begin-user-doc -->
|
---|
503 | * This implementation returns null;
|
---|
504 | * returning a non-null result will terminate the switch.
|
---|
505 | * <!-- end-user-doc -->
|
---|
506 | * @param object the target of the switch.
|
---|
507 | * @return the result of interpreting the object as an instance of '<em>Dimension</em>'.
|
---|
508 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
509 | * @generated
|
---|
510 | */
|
---|
511 | public T caseDimension(Dimension object) {
|
---|
512 | return null;
|
---|
513 | }
|
---|
514 |
|
---|
515 | /**
|
---|
516 | * Returns the result of interpreting the object as an instance of '<em>Attribute</em>'.
|
---|
517 | * <!-- begin-user-doc -->
|
---|
518 | * This implementation returns null;
|
---|
519 | * returning a non-null result will terminate the switch.
|
---|
520 | * <!-- end-user-doc -->
|
---|
521 | * @param object the target of the switch.
|
---|
522 | * @return the result of interpreting the object as an instance of '<em>Attribute</em>'.
|
---|
523 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
524 | * @generated
|
---|
525 | */
|
---|
526 | public T caseAttribute(Attribute object) {
|
---|
527 | return null;
|
---|
528 | }
|
---|
529 |
|
---|
530 | /**
|
---|
531 | * Returns the result of interpreting the object as an instance of '<em>Value</em>'.
|
---|
532 | * <!-- begin-user-doc -->
|
---|
533 | * This implementation returns null;
|
---|
534 | * returning a non-null result will terminate the switch.
|
---|
535 | * <!-- end-user-doc -->
|
---|
536 | * @param object the target of the switch.
|
---|
537 | * @return the result of interpreting the object as an instance of '<em>Value</em>'.
|
---|
538 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
539 | * @generated
|
---|
540 | */
|
---|
541 | public T caseValue(Value object) {
|
---|
542 | return null;
|
---|
543 | }
|
---|
544 |
|
---|
545 | /**
|
---|
546 | * Returns the result of interpreting the object as an instance of '<em>Integer Value</em>'.
|
---|
547 | * <!-- begin-user-doc -->
|
---|
548 | * This implementation returns null;
|
---|
549 | * returning a non-null result will terminate the switch.
|
---|
550 | * <!-- end-user-doc -->
|
---|
551 | * @param object the target of the switch.
|
---|
552 | * @return the result of interpreting the object as an instance of '<em>Integer Value</em>'.
|
---|
553 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
554 | * @generated
|
---|
555 | */
|
---|
556 | public T caseIntegerValue(IntegerValue object) {
|
---|
557 | return null;
|
---|
558 | }
|
---|
559 |
|
---|
560 | /**
|
---|
561 | * Returns the result of interpreting the object as an instance of '<em>Double Value</em>'.
|
---|
562 | * <!-- begin-user-doc -->
|
---|
563 | * This implementation returns null;
|
---|
564 | * returning a non-null result will terminate the switch.
|
---|
565 | * <!-- end-user-doc -->
|
---|
566 | * @param object the target of the switch.
|
---|
567 | * @return the result of interpreting the object as an instance of '<em>Double Value</em>'.
|
---|
568 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
569 | * @generated
|
---|
570 | */
|
---|
571 | public T caseDoubleValue(DoubleValue object) {
|
---|
572 | return null;
|
---|
573 | }
|
---|
574 |
|
---|
575 | /**
|
---|
576 | * Returns the result of interpreting the object as an instance of '<em>String Value</em>'.
|
---|
577 | * <!-- begin-user-doc -->
|
---|
578 | * This implementation returns null;
|
---|
579 | * returning a non-null result will terminate the switch.
|
---|
580 | * <!-- end-user-doc -->
|
---|
581 | * @param object the target of the switch.
|
---|
582 | * @return the result of interpreting the object as an instance of '<em>String Value</em>'.
|
---|
583 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
584 | * @generated
|
---|
585 | */
|
---|
586 | public T caseStringValue(StringValue object) {
|
---|
587 | return null;
|
---|
588 | }
|
---|
589 |
|
---|
590 | /**
|
---|
591 | * Returns the result of interpreting the object as an instance of '<em>List Value</em>'.
|
---|
592 | * <!-- begin-user-doc -->
|
---|
593 | * This implementation returns null;
|
---|
594 | * returning a non-null result will terminate the switch.
|
---|
595 | * <!-- end-user-doc -->
|
---|
596 | * @param object the target of the switch.
|
---|
597 | * @return the result of interpreting the object as an instance of '<em>List Value</em>'.
|
---|
598 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
599 | * @generated
|
---|
600 | */
|
---|
601 | public T caseListValue(ListValue object) {
|
---|
602 | return null;
|
---|
603 | }
|
---|
604 |
|
---|
605 | /**
|
---|
606 | * Returns the result of interpreting the object as an instance of '<em>String List Value</em>'.
|
---|
607 | * <!-- begin-user-doc -->
|
---|
608 | * This implementation returns null;
|
---|
609 | * returning a non-null result will terminate the switch.
|
---|
610 | * <!-- end-user-doc -->
|
---|
611 | * @param object the target of the switch.
|
---|
612 | * @return the result of interpreting the object as an instance of '<em>String List Value</em>'.
|
---|
613 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
614 | * @generated
|
---|
615 | */
|
---|
616 | public T caseStringListValue(StringListValue object) {
|
---|
617 | return null;
|
---|
618 | }
|
---|
619 |
|
---|
620 | /**
|
---|
621 | * Returns the result of interpreting the object as an instance of '<em>Double List Value</em>'.
|
---|
622 | * <!-- begin-user-doc -->
|
---|
623 | * This implementation returns null;
|
---|
624 | * returning a non-null result will terminate the switch.
|
---|
625 | * <!-- end-user-doc -->
|
---|
626 | * @param object the target of the switch.
|
---|
627 | * @return the result of interpreting the object as an instance of '<em>Double List Value</em>'.
|
---|
628 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
629 | * @generated
|
---|
630 | */
|
---|
631 | public T caseDoubleListValue(DoubleListValue object) {
|
---|
632 | return null;
|
---|
633 | }
|
---|
634 |
|
---|
635 | /**
|
---|
636 | * Returns the result of interpreting the object as an instance of '<em>Integer List Value</em>'.
|
---|
637 | * <!-- begin-user-doc -->
|
---|
638 | * This implementation returns null;
|
---|
639 | * returning a non-null result will terminate the switch.
|
---|
640 | * <!-- end-user-doc -->
|
---|
641 | * @param object the target of the switch.
|
---|
642 | * @return the result of interpreting the object as an instance of '<em>Integer List Value</em>'.
|
---|
643 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
644 | * @generated
|
---|
645 | */
|
---|
646 | public T caseIntegerListValue(IntegerListValue object) {
|
---|
647 | return null;
|
---|
648 | }
|
---|
649 |
|
---|
650 | /**
|
---|
651 | * Returns the result of interpreting the object as an instance of '<em>Delta</em>'.
|
---|
652 | * <!-- begin-user-doc -->
|
---|
653 | * This implementation returns null;
|
---|
654 | * returning a non-null result will terminate the switch.
|
---|
655 | * <!-- end-user-doc -->
|
---|
656 | * @param object the target of the switch.
|
---|
657 | * @return the result of interpreting the object as an instance of '<em>Delta</em>'.
|
---|
658 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
659 | * @generated
|
---|
660 | */
|
---|
661 | public T caseDelta(Delta object) {
|
---|
662 | return null;
|
---|
663 | }
|
---|
664 |
|
---|
665 | /**
|
---|
666 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
|
---|
667 | * <!-- begin-user-doc -->
|
---|
668 | * This implementation returns null;
|
---|
669 | * returning a non-null result will terminate the switch, but this is the last case anyway.
|
---|
670 | * <!-- end-user-doc -->
|
---|
671 | * @param object the target of the switch.
|
---|
672 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
|
---|
673 | * @see #doSwitch(org.eclipse.emf.ecore.EObject)
|
---|
674 | * @generated
|
---|
675 | */
|
---|
676 | @Override
|
---|
677 | public T defaultCase(EObject object) {
|
---|
678 | return null;
|
---|
679 | }
|
---|
680 |
|
---|
681 | } //DECENTSwitch
|
---|