diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util')
2 files changed, 560 insertions, 0 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famAdapterFactory.java new file mode 100644 index 00000000..b5a4e37b --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famAdapterFactory.java | |||
@@ -0,0 +1,271 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.fam.util; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Adapter; | ||
6 | import org.eclipse.emf.common.notify.Notifier; | ||
7 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
8 | import org.eclipse.emf.ecore.EObject; | ||
9 | |||
10 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FAMTerminator; | ||
11 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function; | ||
12 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalArchitectureModel; | ||
13 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalData; | ||
14 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalElement; | ||
15 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInput; | ||
16 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInterface; | ||
17 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalOutput; | ||
18 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.InformationLink; | ||
19 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.famPackage; | ||
20 | |||
21 | /** | ||
22 | * <!-- begin-user-doc --> | ||
23 | * The <b>Adapter Factory</b> for the model. | ||
24 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
25 | * <!-- end-user-doc --> | ||
26 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.famPackage | ||
27 | * @generated | ||
28 | */ | ||
29 | public class famAdapterFactory extends AdapterFactoryImpl { | ||
30 | /** | ||
31 | * The cached model package. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @generated | ||
35 | */ | ||
36 | protected static famPackage modelPackage; | ||
37 | |||
38 | /** | ||
39 | * Creates an instance of the adapter factory. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @generated | ||
43 | */ | ||
44 | public famAdapterFactory() { | ||
45 | if (modelPackage == null) { | ||
46 | modelPackage = famPackage.eINSTANCE; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * Returns whether this factory is applicable for the type of the object. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return whether this factory is applicable for the type of the object. | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | public boolean isFactoryForType(Object object) { | ||
60 | if (object == modelPackage) { | ||
61 | return true; | ||
62 | } | ||
63 | if (object instanceof EObject) { | ||
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 famSwitch<Adapter> modelSwitch = | ||
76 | new famSwitch<Adapter>() { | ||
77 | @Override | ||
78 | public Adapter caseFunctionalElement(FunctionalElement object) { | ||
79 | return createFunctionalElementAdapter(); | ||
80 | } | ||
81 | @Override | ||
82 | public Adapter caseFunctionalArchitectureModel(FunctionalArchitectureModel object) { | ||
83 | return createFunctionalArchitectureModelAdapter(); | ||
84 | } | ||
85 | @Override | ||
86 | public Adapter caseFunction(Function object) { | ||
87 | return createFunctionAdapter(); | ||
88 | } | ||
89 | @Override | ||
90 | public Adapter caseFAMTerminator(FAMTerminator object) { | ||
91 | return createFAMTerminatorAdapter(); | ||
92 | } | ||
93 | @Override | ||
94 | public Adapter caseInformationLink(InformationLink object) { | ||
95 | return createInformationLinkAdapter(); | ||
96 | } | ||
97 | @Override | ||
98 | public Adapter caseFunctionalInterface(FunctionalInterface object) { | ||
99 | return createFunctionalInterfaceAdapter(); | ||
100 | } | ||
101 | @Override | ||
102 | public Adapter caseFunctionalInput(FunctionalInput object) { | ||
103 | return createFunctionalInputAdapter(); | ||
104 | } | ||
105 | @Override | ||
106 | public Adapter caseFunctionalOutput(FunctionalOutput object) { | ||
107 | return createFunctionalOutputAdapter(); | ||
108 | } | ||
109 | @Override | ||
110 | public Adapter caseFunctionalData(FunctionalData object) { | ||
111 | return createFunctionalDataAdapter(); | ||
112 | } | ||
113 | @Override | ||
114 | public Adapter defaultCase(EObject object) { | ||
115 | return createEObjectAdapter(); | ||
116 | } | ||
117 | }; | ||
118 | |||
119 | /** | ||
120 | * Creates an adapter for the <code>target</code>. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @param target the object to adapt. | ||
124 | * @return the adapter for the <code>target</code>. | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public Adapter createAdapter(Notifier target) { | ||
129 | return modelSwitch.doSwitch((EObject)target); | ||
130 | } | ||
131 | |||
132 | |||
133 | /** | ||
134 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalElement <em>Functional Element</em>}'. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * This default implementation returns null so that we can easily ignore cases; | ||
137 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
138 | * <!-- end-user-doc --> | ||
139 | * @return the new adapter. | ||
140 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalElement | ||
141 | * @generated | ||
142 | */ | ||
143 | public Adapter createFunctionalElementAdapter() { | ||
144 | return null; | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalArchitectureModel <em>Functional Architecture Model</em>}'. | ||
149 | * <!-- begin-user-doc --> | ||
150 | * This default implementation returns null so that we can easily ignore cases; | ||
151 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
152 | * <!-- end-user-doc --> | ||
153 | * @return the new adapter. | ||
154 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalArchitectureModel | ||
155 | * @generated | ||
156 | */ | ||
157 | public Adapter createFunctionalArchitectureModelAdapter() { | ||
158 | return null; | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function <em>Function</em>}'. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * This default implementation returns null so that we can easily ignore cases; | ||
165 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
166 | * <!-- end-user-doc --> | ||
167 | * @return the new adapter. | ||
168 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function | ||
169 | * @generated | ||
170 | */ | ||
171 | public Adapter createFunctionAdapter() { | ||
172 | return null; | ||
173 | } | ||
174 | |||
175 | /** | ||
176 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FAMTerminator <em>FAM Terminator</em>}'. | ||
177 | * <!-- begin-user-doc --> | ||
178 | * This default implementation returns null so that we can easily ignore cases; | ||
179 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
180 | * <!-- end-user-doc --> | ||
181 | * @return the new adapter. | ||
182 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FAMTerminator | ||
183 | * @generated | ||
184 | */ | ||
185 | public Adapter createFAMTerminatorAdapter() { | ||
186 | return null; | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.InformationLink <em>Information Link</em>}'. | ||
191 | * <!-- begin-user-doc --> | ||
192 | * This default implementation returns null so that we can easily ignore cases; | ||
193 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
194 | * <!-- end-user-doc --> | ||
195 | * @return the new adapter. | ||
196 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.InformationLink | ||
197 | * @generated | ||
198 | */ | ||
199 | public Adapter createInformationLinkAdapter() { | ||
200 | return null; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInterface <em>Functional Interface</em>}'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * This default implementation returns null so that we can easily ignore cases; | ||
207 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
208 | * <!-- end-user-doc --> | ||
209 | * @return the new adapter. | ||
210 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInterface | ||
211 | * @generated | ||
212 | */ | ||
213 | public Adapter createFunctionalInterfaceAdapter() { | ||
214 | return null; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInput <em>Functional Input</em>}'. | ||
219 | * <!-- begin-user-doc --> | ||
220 | * This default implementation returns null so that we can easily ignore cases; | ||
221 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
222 | * <!-- end-user-doc --> | ||
223 | * @return the new adapter. | ||
224 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInput | ||
225 | * @generated | ||
226 | */ | ||
227 | public Adapter createFunctionalInputAdapter() { | ||
228 | return null; | ||
229 | } | ||
230 | |||
231 | /** | ||
232 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalOutput <em>Functional Output</em>}'. | ||
233 | * <!-- begin-user-doc --> | ||
234 | * This default implementation returns null so that we can easily ignore cases; | ||
235 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
236 | * <!-- end-user-doc --> | ||
237 | * @return the new adapter. | ||
238 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalOutput | ||
239 | * @generated | ||
240 | */ | ||
241 | public Adapter createFunctionalOutputAdapter() { | ||
242 | return null; | ||
243 | } | ||
244 | |||
245 | /** | ||
246 | * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalData <em>Functional Data</em>}'. | ||
247 | * <!-- begin-user-doc --> | ||
248 | * This default implementation returns null so that we can easily ignore cases; | ||
249 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
250 | * <!-- end-user-doc --> | ||
251 | * @return the new adapter. | ||
252 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalData | ||
253 | * @generated | ||
254 | */ | ||
255 | public Adapter createFunctionalDataAdapter() { | ||
256 | return null; | ||
257 | } | ||
258 | |||
259 | /** | ||
260 | * Creates a new adapter for the default case. | ||
261 | * <!-- begin-user-doc --> | ||
262 | * This default implementation returns null. | ||
263 | * <!-- end-user-doc --> | ||
264 | * @return the new adapter. | ||
265 | * @generated | ||
266 | */ | ||
267 | public Adapter createEObjectAdapter() { | ||
268 | return null; | ||
269 | } | ||
270 | |||
271 | } //famAdapterFactory | ||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famSwitch.java new file mode 100644 index 00000000..979bd3e9 --- /dev/null +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/fam/util/famSwitch.java | |||
@@ -0,0 +1,289 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.fam.util; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | import org.eclipse.emf.ecore.util.Switch; | ||
8 | |||
9 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FAMTerminator; | ||
10 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.Function; | ||
11 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalArchitectureModel; | ||
12 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalData; | ||
13 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalElement; | ||
14 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInput; | ||
15 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalInterface; | ||
16 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.FunctionalOutput; | ||
17 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.InformationLink; | ||
18 | import ca.mcgill.ecse.dslreasoner.standalone.test.fam.famPackage; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
23 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
24 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
25 | * starting with the actual class of the object | ||
26 | * and proceeding up the inheritance hierarchy | ||
27 | * until a non-null result is returned, | ||
28 | * which is the result of the switch. | ||
29 | * <!-- end-user-doc --> | ||
30 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.fam.famPackage | ||
31 | * @generated | ||
32 | */ | ||
33 | public class famSwitch<T> extends Switch<T> { | ||
34 | /** | ||
35 | * The cached model package | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | protected static famPackage modelPackage; | ||
41 | |||
42 | /** | ||
43 | * Creates an instance of the switch. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | public famSwitch() { | ||
49 | if (modelPackage == null) { | ||
50 | modelPackage = famPackage.eINSTANCE; | ||
51 | } | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * Checks whether this is a switch for the given package. | ||
56 | * <!-- begin-user-doc --> | ||
57 | * <!-- end-user-doc --> | ||
58 | * @param ePackage the package in question. | ||
59 | * @return whether this is a switch for the given package. | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected boolean isSwitchFor(EPackage ePackage) { | ||
64 | return ePackage == modelPackage; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
72 | * @generated | ||
73 | */ | ||
74 | @Override | ||
75 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
76 | switch (classifierID) { | ||
77 | case famPackage.FUNCTIONAL_ELEMENT: { | ||
78 | FunctionalElement functionalElement = (FunctionalElement)theEObject; | ||
79 | T result = caseFunctionalElement(functionalElement); | ||
80 | if (result == null) result = defaultCase(theEObject); | ||
81 | return result; | ||
82 | } | ||
83 | case famPackage.FUNCTIONAL_ARCHITECTURE_MODEL: { | ||
84 | FunctionalArchitectureModel functionalArchitectureModel = (FunctionalArchitectureModel)theEObject; | ||
85 | T result = caseFunctionalArchitectureModel(functionalArchitectureModel); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case famPackage.FUNCTION: { | ||
90 | Function function = (Function)theEObject; | ||
91 | T result = caseFunction(function); | ||
92 | if (result == null) result = caseFunctionalElement(function); | ||
93 | if (result == null) result = defaultCase(theEObject); | ||
94 | return result; | ||
95 | } | ||
96 | case famPackage.FAM_TERMINATOR: { | ||
97 | FAMTerminator famTerminator = (FAMTerminator)theEObject; | ||
98 | T result = caseFAMTerminator(famTerminator); | ||
99 | if (result == null) result = defaultCase(theEObject); | ||
100 | return result; | ||
101 | } | ||
102 | case famPackage.INFORMATION_LINK: { | ||
103 | InformationLink informationLink = (InformationLink)theEObject; | ||
104 | T result = caseInformationLink(informationLink); | ||
105 | if (result == null) result = defaultCase(theEObject); | ||
106 | return result; | ||
107 | } | ||
108 | case famPackage.FUNCTIONAL_INTERFACE: { | ||
109 | FunctionalInterface functionalInterface = (FunctionalInterface)theEObject; | ||
110 | T result = caseFunctionalInterface(functionalInterface); | ||
111 | if (result == null) result = defaultCase(theEObject); | ||
112 | return result; | ||
113 | } | ||
114 | case famPackage.FUNCTIONAL_INPUT: { | ||
115 | FunctionalInput functionalInput = (FunctionalInput)theEObject; | ||
116 | T result = caseFunctionalInput(functionalInput); | ||
117 | if (result == null) result = caseFunctionalData(functionalInput); | ||
118 | if (result == null) result = defaultCase(theEObject); | ||
119 | return result; | ||
120 | } | ||
121 | case famPackage.FUNCTIONAL_OUTPUT: { | ||
122 | FunctionalOutput functionalOutput = (FunctionalOutput)theEObject; | ||
123 | T result = caseFunctionalOutput(functionalOutput); | ||
124 | if (result == null) result = caseFunctionalData(functionalOutput); | ||
125 | if (result == null) result = defaultCase(theEObject); | ||
126 | return result; | ||
127 | } | ||
128 | case famPackage.FUNCTIONAL_DATA: { | ||
129 | FunctionalData functionalData = (FunctionalData)theEObject; | ||
130 | T result = caseFunctionalData(functionalData); | ||
131 | if (result == null) result = defaultCase(theEObject); | ||
132 | return result; | ||
133 | } | ||
134 | default: return defaultCase(theEObject); | ||
135 | } | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * Returns the result of interpreting the object as an instance of '<em>Functional Element</em>'. | ||
140 | * <!-- begin-user-doc --> | ||
141 | * This implementation returns null; | ||
142 | * returning a non-null result will terminate the switch. | ||
143 | * <!-- end-user-doc --> | ||
144 | * @param object the target of the switch. | ||
145 | * @return the result of interpreting the object as an instance of '<em>Functional Element</em>'. | ||
146 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
147 | * @generated | ||
148 | */ | ||
149 | public T caseFunctionalElement(FunctionalElement object) { | ||
150 | return null; | ||
151 | } | ||
152 | |||
153 | /** | ||
154 | * Returns the result of interpreting the object as an instance of '<em>Functional Architecture Model</em>'. | ||
155 | * <!-- begin-user-doc --> | ||
156 | * This implementation returns null; | ||
157 | * returning a non-null result will terminate the switch. | ||
158 | * <!-- end-user-doc --> | ||
159 | * @param object the target of the switch. | ||
160 | * @return the result of interpreting the object as an instance of '<em>Functional Architecture Model</em>'. | ||
161 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
162 | * @generated | ||
163 | */ | ||
164 | public T caseFunctionalArchitectureModel(FunctionalArchitectureModel object) { | ||
165 | return null; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * Returns the result of interpreting the object as an instance of '<em>Function</em>'. | ||
170 | * <!-- begin-user-doc --> | ||
171 | * This implementation returns null; | ||
172 | * returning a non-null result will terminate the switch. | ||
173 | * <!-- end-user-doc --> | ||
174 | * @param object the target of the switch. | ||
175 | * @return the result of interpreting the object as an instance of '<em>Function</em>'. | ||
176 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
177 | * @generated | ||
178 | */ | ||
179 | public T caseFunction(Function object) { | ||
180 | return null; | ||
181 | } | ||
182 | |||
183 | /** | ||
184 | * Returns the result of interpreting the object as an instance of '<em>FAM Terminator</em>'. | ||
185 | * <!-- begin-user-doc --> | ||
186 | * This implementation returns null; | ||
187 | * returning a non-null result will terminate the switch. | ||
188 | * <!-- end-user-doc --> | ||
189 | * @param object the target of the switch. | ||
190 | * @return the result of interpreting the object as an instance of '<em>FAM Terminator</em>'. | ||
191 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
192 | * @generated | ||
193 | */ | ||
194 | public T caseFAMTerminator(FAMTerminator object) { | ||
195 | return null; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * Returns the result of interpreting the object as an instance of '<em>Information Link</em>'. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * This implementation returns null; | ||
202 | * returning a non-null result will terminate the switch. | ||
203 | * <!-- end-user-doc --> | ||
204 | * @param object the target of the switch. | ||
205 | * @return the result of interpreting the object as an instance of '<em>Information Link</em>'. | ||
206 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
207 | * @generated | ||
208 | */ | ||
209 | public T caseInformationLink(InformationLink object) { | ||
210 | return null; | ||
211 | } | ||
212 | |||
213 | /** | ||
214 | * Returns the result of interpreting the object as an instance of '<em>Functional Interface</em>'. | ||
215 | * <!-- begin-user-doc --> | ||
216 | * This implementation returns null; | ||
217 | * returning a non-null result will terminate the switch. | ||
218 | * <!-- end-user-doc --> | ||
219 | * @param object the target of the switch. | ||
220 | * @return the result of interpreting the object as an instance of '<em>Functional Interface</em>'. | ||
221 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
222 | * @generated | ||
223 | */ | ||
224 | public T caseFunctionalInterface(FunctionalInterface object) { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Returns the result of interpreting the object as an instance of '<em>Functional Input</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>Functional Input</em>'. | ||
236 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
237 | * @generated | ||
238 | */ | ||
239 | public T caseFunctionalInput(FunctionalInput object) { | ||
240 | return null; | ||
241 | } | ||
242 | |||
243 | /** | ||
244 | * Returns the result of interpreting the object as an instance of '<em>Functional Output</em>'. | ||
245 | * <!-- begin-user-doc --> | ||
246 | * This implementation returns null; | ||
247 | * returning a non-null result will terminate the switch. | ||
248 | * <!-- end-user-doc --> | ||
249 | * @param object the target of the switch. | ||
250 | * @return the result of interpreting the object as an instance of '<em>Functional Output</em>'. | ||
251 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
252 | * @generated | ||
253 | */ | ||
254 | public T caseFunctionalOutput(FunctionalOutput object) { | ||
255 | return null; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * Returns the result of interpreting the object as an instance of '<em>Functional Data</em>'. | ||
260 | * <!-- begin-user-doc --> | ||
261 | * This implementation returns null; | ||
262 | * returning a non-null result will terminate the switch. | ||
263 | * <!-- end-user-doc --> | ||
264 | * @param object the target of the switch. | ||
265 | * @return the result of interpreting the object as an instance of '<em>Functional Data</em>'. | ||
266 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
267 | * @generated | ||
268 | */ | ||
269 | public T caseFunctionalData(FunctionalData object) { | ||
270 | return null; | ||
271 | } | ||
272 | |||
273 | /** | ||
274 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
275 | * <!-- begin-user-doc --> | ||
276 | * This implementation returns null; | ||
277 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
278 | * <!-- end-user-doc --> | ||
279 | * @param object the target of the switch. | ||
280 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
281 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
282 | * @generated | ||
283 | */ | ||
284 | @Override | ||
285 | public T defaultCase(EObject object) { | ||
286 | return null; | ||
287 | } | ||
288 | |||
289 | } //famSwitch | ||