diff options
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util')
2 files changed, 584 insertions, 0 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationAdapterFactory.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationAdapterFactory.java new file mode 100644 index 00000000..628d56eb --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationAdapterFactory.java | |||
@@ -0,0 +1,282 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.*; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Adapter; | ||
8 | import org.eclipse.emf.common.notify.Notifier; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EObject; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class PartialinterpretationAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static PartialinterpretationPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public PartialinterpretationAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = PartialinterpretationPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected PartialinterpretationSwitch<Adapter> modelSwitch = | ||
69 | new PartialinterpretationSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter casePartialInterpretation(PartialInterpretation object) { | ||
72 | return createPartialInterpretationAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter casePartialConstantInterpretation(PartialConstantInterpretation object) { | ||
76 | return createPartialConstantInterpretationAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter casePartialRelationInterpretation(PartialRelationInterpretation object) { | ||
80 | return createPartialRelationInterpretationAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter casePartialFunctionInterpretation(PartialFunctionInterpretation object) { | ||
84 | return createPartialFunctionInterpretationAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter casePartialTypeInterpratation(PartialTypeInterpratation object) { | ||
88 | return createPartialTypeInterpratationAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseRelationLink(RelationLink object) { | ||
92 | return createRelationLinkAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseUnaryElementRelationLink(UnaryElementRelationLink object) { | ||
96 | return createUnaryElementRelationLinkAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseBinaryElementRelationLink(BinaryElementRelationLink object) { | ||
100 | return createBinaryElementRelationLinkAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseNaryRelationLink(NaryRelationLink object) { | ||
104 | return createNaryRelationLinkAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseNaryRelationLinkElement(NaryRelationLinkElement object) { | ||
108 | return createNaryRelationLinkElementAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter defaultCase(EObject object) { | ||
112 | return createEObjectAdapter(); | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | /** | ||
117 | * Creates an adapter for the <code>target</code>. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param target the object to adapt. | ||
121 | * @return the adapter for the <code>target</code>. | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Adapter createAdapter(Notifier target) { | ||
126 | return modelSwitch.doSwitch((EObject)target); | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation <em>Partial Interpretation</em>}'. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * This default implementation returns null so that we can easily ignore cases; | ||
134 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
135 | * <!-- end-user-doc --> | ||
136 | * @return the new adapter. | ||
137 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation | ||
138 | * @generated | ||
139 | */ | ||
140 | public Adapter createPartialInterpretationAdapter() { | ||
141 | return null; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialConstantInterpretation <em>Partial Constant Interpretation</em>}'. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * This default implementation returns null so that we can easily ignore cases; | ||
148 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
149 | * <!-- end-user-doc --> | ||
150 | * @return the new adapter. | ||
151 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialConstantInterpretation | ||
152 | * @generated | ||
153 | */ | ||
154 | public Adapter createPartialConstantInterpretationAdapter() { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation <em>Partial Relation Interpretation</em>}'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This default implementation returns null so that we can easily ignore cases; | ||
162 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return the new adapter. | ||
165 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation | ||
166 | * @generated | ||
167 | */ | ||
168 | public Adapter createPartialRelationInterpretationAdapter() { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialFunctionInterpretation <em>Partial Function Interpretation</em>}'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This default implementation returns null so that we can easily ignore cases; | ||
176 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @return the new adapter. | ||
179 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialFunctionInterpretation | ||
180 | * @generated | ||
181 | */ | ||
182 | public Adapter createPartialFunctionInterpretationAdapter() { | ||
183 | return null; | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation <em>Partial Type Interpratation</em>}'. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * This default implementation returns null so that we can easily ignore cases; | ||
190 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
191 | * <!-- end-user-doc --> | ||
192 | * @return the new adapter. | ||
193 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation | ||
194 | * @generated | ||
195 | */ | ||
196 | public Adapter createPartialTypeInterpratationAdapter() { | ||
197 | return null; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink <em>Relation Link</em>}'. | ||
202 | * <!-- begin-user-doc --> | ||
203 | * This default implementation returns null so that we can easily ignore cases; | ||
204 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
205 | * <!-- end-user-doc --> | ||
206 | * @return the new adapter. | ||
207 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink | ||
208 | * @generated | ||
209 | */ | ||
210 | public Adapter createRelationLinkAdapter() { | ||
211 | return null; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.UnaryElementRelationLink <em>Unary Element Relation Link</em>}'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * This default implementation returns null so that we can easily ignore cases; | ||
218 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
219 | * <!-- end-user-doc --> | ||
220 | * @return the new adapter. | ||
221 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.UnaryElementRelationLink | ||
222 | * @generated | ||
223 | */ | ||
224 | public Adapter createUnaryElementRelationLinkAdapter() { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink <em>Binary Element Relation Link</em>}'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This default implementation returns null so that we can easily ignore cases; | ||
232 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @return the new adapter. | ||
235 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink | ||
236 | * @generated | ||
237 | */ | ||
238 | public Adapter createBinaryElementRelationLinkAdapter() { | ||
239 | return null; | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLink <em>Nary Relation Link</em>}'. | ||
244 | * <!-- begin-user-doc --> | ||
245 | * This default implementation returns null so that we can easily ignore cases; | ||
246 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
247 | * <!-- end-user-doc --> | ||
248 | * @return the new adapter. | ||
249 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLink | ||
250 | * @generated | ||
251 | */ | ||
252 | public Adapter createNaryRelationLinkAdapter() { | ||
253 | return null; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLinkElement <em>Nary Relation Link Element</em>}'. | ||
258 | * <!-- begin-user-doc --> | ||
259 | * This default implementation returns null so that we can easily ignore cases; | ||
260 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
261 | * <!-- end-user-doc --> | ||
262 | * @return the new adapter. | ||
263 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLinkElement | ||
264 | * @generated | ||
265 | */ | ||
266 | public Adapter createNaryRelationLinkElementAdapter() { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for the default case. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null. | ||
274 | * <!-- end-user-doc --> | ||
275 | * @return the new adapter. | ||
276 | * @generated | ||
277 | */ | ||
278 | public Adapter createEObjectAdapter() { | ||
279 | return null; | ||
280 | } | ||
281 | |||
282 | } //PartialinterpretationAdapterFactory | ||
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationSwitch.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationSwitch.java new file mode 100644 index 00000000..f99b2d76 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/util/PartialinterpretationSwitch.java | |||
@@ -0,0 +1,302 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class PartialinterpretationSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static PartialinterpretationPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public PartialinterpretationSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = PartialinterpretationPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case PartialinterpretationPackage.PARTIAL_INTERPRETATION: { | ||
70 | PartialInterpretation partialInterpretation = (PartialInterpretation)theEObject; | ||
71 | T result = casePartialInterpretation(partialInterpretation); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case PartialinterpretationPackage.PARTIAL_CONSTANT_INTERPRETATION: { | ||
76 | PartialConstantInterpretation partialConstantInterpretation = (PartialConstantInterpretation)theEObject; | ||
77 | T result = casePartialConstantInterpretation(partialConstantInterpretation); | ||
78 | if (result == null) result = defaultCase(theEObject); | ||
79 | return result; | ||
80 | } | ||
81 | case PartialinterpretationPackage.PARTIAL_RELATION_INTERPRETATION: { | ||
82 | PartialRelationInterpretation partialRelationInterpretation = (PartialRelationInterpretation)theEObject; | ||
83 | T result = casePartialRelationInterpretation(partialRelationInterpretation); | ||
84 | if (result == null) result = defaultCase(theEObject); | ||
85 | return result; | ||
86 | } | ||
87 | case PartialinterpretationPackage.PARTIAL_FUNCTION_INTERPRETATION: { | ||
88 | PartialFunctionInterpretation partialFunctionInterpretation = (PartialFunctionInterpretation)theEObject; | ||
89 | T result = casePartialFunctionInterpretation(partialFunctionInterpretation); | ||
90 | if (result == null) result = defaultCase(theEObject); | ||
91 | return result; | ||
92 | } | ||
93 | case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION: { | ||
94 | PartialTypeInterpratation partialTypeInterpratation = (PartialTypeInterpratation)theEObject; | ||
95 | T result = casePartialTypeInterpratation(partialTypeInterpratation); | ||
96 | if (result == null) result = defaultCase(theEObject); | ||
97 | return result; | ||
98 | } | ||
99 | case PartialinterpretationPackage.RELATION_LINK: { | ||
100 | RelationLink relationLink = (RelationLink)theEObject; | ||
101 | T result = caseRelationLink(relationLink); | ||
102 | if (result == null) result = defaultCase(theEObject); | ||
103 | return result; | ||
104 | } | ||
105 | case PartialinterpretationPackage.UNARY_ELEMENT_RELATION_LINK: { | ||
106 | UnaryElementRelationLink unaryElementRelationLink = (UnaryElementRelationLink)theEObject; | ||
107 | T result = caseUnaryElementRelationLink(unaryElementRelationLink); | ||
108 | if (result == null) result = caseRelationLink(unaryElementRelationLink); | ||
109 | if (result == null) result = defaultCase(theEObject); | ||
110 | return result; | ||
111 | } | ||
112 | case PartialinterpretationPackage.BINARY_ELEMENT_RELATION_LINK: { | ||
113 | BinaryElementRelationLink binaryElementRelationLink = (BinaryElementRelationLink)theEObject; | ||
114 | T result = caseBinaryElementRelationLink(binaryElementRelationLink); | ||
115 | if (result == null) result = caseRelationLink(binaryElementRelationLink); | ||
116 | if (result == null) result = defaultCase(theEObject); | ||
117 | return result; | ||
118 | } | ||
119 | case PartialinterpretationPackage.NARY_RELATION_LINK: { | ||
120 | NaryRelationLink naryRelationLink = (NaryRelationLink)theEObject; | ||
121 | T result = caseNaryRelationLink(naryRelationLink); | ||
122 | if (result == null) result = caseRelationLink(naryRelationLink); | ||
123 | if (result == null) result = defaultCase(theEObject); | ||
124 | return result; | ||
125 | } | ||
126 | case PartialinterpretationPackage.NARY_RELATION_LINK_ELEMENT: { | ||
127 | NaryRelationLinkElement naryRelationLinkElement = (NaryRelationLinkElement)theEObject; | ||
128 | T result = caseNaryRelationLinkElement(naryRelationLinkElement); | ||
129 | if (result == null) result = defaultCase(theEObject); | ||
130 | return result; | ||
131 | } | ||
132 | default: return defaultCase(theEObject); | ||
133 | } | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * Returns the result of interpreting the object as an instance of '<em>Partial Interpretation</em>'. | ||
138 | * <!-- begin-user-doc --> | ||
139 | * This implementation returns null; | ||
140 | * returning a non-null result will terminate the switch. | ||
141 | * <!-- end-user-doc --> | ||
142 | * @param object the target of the switch. | ||
143 | * @return the result of interpreting the object as an instance of '<em>Partial Interpretation</em>'. | ||
144 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
145 | * @generated | ||
146 | */ | ||
147 | public T casePartialInterpretation(PartialInterpretation object) { | ||
148 | return null; | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * Returns the result of interpreting the object as an instance of '<em>Partial Constant Interpretation</em>'. | ||
153 | * <!-- begin-user-doc --> | ||
154 | * This implementation returns null; | ||
155 | * returning a non-null result will terminate the switch. | ||
156 | * <!-- end-user-doc --> | ||
157 | * @param object the target of the switch. | ||
158 | * @return the result of interpreting the object as an instance of '<em>Partial Constant Interpretation</em>'. | ||
159 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
160 | * @generated | ||
161 | */ | ||
162 | public T casePartialConstantInterpretation(PartialConstantInterpretation object) { | ||
163 | return null; | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * Returns the result of interpreting the object as an instance of '<em>Partial Relation Interpretation</em>'. | ||
168 | * <!-- begin-user-doc --> | ||
169 | * This implementation returns null; | ||
170 | * returning a non-null result will terminate the switch. | ||
171 | * <!-- end-user-doc --> | ||
172 | * @param object the target of the switch. | ||
173 | * @return the result of interpreting the object as an instance of '<em>Partial Relation Interpretation</em>'. | ||
174 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
175 | * @generated | ||
176 | */ | ||
177 | public T casePartialRelationInterpretation(PartialRelationInterpretation object) { | ||
178 | return null; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * Returns the result of interpreting the object as an instance of '<em>Partial Function Interpretation</em>'. | ||
183 | * <!-- begin-user-doc --> | ||
184 | * This implementation returns null; | ||
185 | * returning a non-null result will terminate the switch. | ||
186 | * <!-- end-user-doc --> | ||
187 | * @param object the target of the switch. | ||
188 | * @return the result of interpreting the object as an instance of '<em>Partial Function Interpretation</em>'. | ||
189 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
190 | * @generated | ||
191 | */ | ||
192 | public T casePartialFunctionInterpretation(PartialFunctionInterpretation object) { | ||
193 | return null; | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * Returns the result of interpreting the object as an instance of '<em>Partial Type Interpratation</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>Partial Type Interpratation</em>'. | ||
204 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
205 | * @generated | ||
206 | */ | ||
207 | public T casePartialTypeInterpratation(PartialTypeInterpratation object) { | ||
208 | return null; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * Returns the result of interpreting the object as an instance of '<em>Relation Link</em>'. | ||
213 | * <!-- begin-user-doc --> | ||
214 | * This implementation returns null; | ||
215 | * returning a non-null result will terminate the switch. | ||
216 | * <!-- end-user-doc --> | ||
217 | * @param object the target of the switch. | ||
218 | * @return the result of interpreting the object as an instance of '<em>Relation Link</em>'. | ||
219 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
220 | * @generated | ||
221 | */ | ||
222 | public T caseRelationLink(RelationLink object) { | ||
223 | return null; | ||
224 | } | ||
225 | |||
226 | /** | ||
227 | * Returns the result of interpreting the object as an instance of '<em>Unary Element Relation Link</em>'. | ||
228 | * <!-- begin-user-doc --> | ||
229 | * This implementation returns null; | ||
230 | * returning a non-null result will terminate the switch. | ||
231 | * <!-- end-user-doc --> | ||
232 | * @param object the target of the switch. | ||
233 | * @return the result of interpreting the object as an instance of '<em>Unary Element Relation Link</em>'. | ||
234 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
235 | * @generated | ||
236 | */ | ||
237 | public T caseUnaryElementRelationLink(UnaryElementRelationLink object) { | ||
238 | return null; | ||
239 | } | ||
240 | |||
241 | /** | ||
242 | * Returns the result of interpreting the object as an instance of '<em>Binary Element Relation Link</em>'. | ||
243 | * <!-- begin-user-doc --> | ||
244 | * This implementation returns null; | ||
245 | * returning a non-null result will terminate the switch. | ||
246 | * <!-- end-user-doc --> | ||
247 | * @param object the target of the switch. | ||
248 | * @return the result of interpreting the object as an instance of '<em>Binary Element Relation Link</em>'. | ||
249 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
250 | * @generated | ||
251 | */ | ||
252 | public T caseBinaryElementRelationLink(BinaryElementRelationLink object) { | ||
253 | return null; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * Returns the result of interpreting the object as an instance of '<em>Nary Relation Link</em>'. | ||
258 | * <!-- begin-user-doc --> | ||
259 | * This implementation returns null; | ||
260 | * returning a non-null result will terminate the switch. | ||
261 | * <!-- end-user-doc --> | ||
262 | * @param object the target of the switch. | ||
263 | * @return the result of interpreting the object as an instance of '<em>Nary Relation Link</em>'. | ||
264 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
265 | * @generated | ||
266 | */ | ||
267 | public T caseNaryRelationLink(NaryRelationLink object) { | ||
268 | return null; | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * Returns the result of interpreting the object as an instance of '<em>Nary Relation Link Element</em>'. | ||
273 | * <!-- begin-user-doc --> | ||
274 | * This implementation returns null; | ||
275 | * returning a non-null result will terminate the switch. | ||
276 | * <!-- end-user-doc --> | ||
277 | * @param object the target of the switch. | ||
278 | * @return the result of interpreting the object as an instance of '<em>Nary Relation Link Element</em>'. | ||
279 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
280 | * @generated | ||
281 | */ | ||
282 | public T caseNaryRelationLinkElement(NaryRelationLinkElement object) { | ||
283 | return null; | ||
284 | } | ||
285 | |||
286 | /** | ||
287 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
288 | * <!-- begin-user-doc --> | ||
289 | * This implementation returns null; | ||
290 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
291 | * <!-- end-user-doc --> | ||
292 | * @param object the target of the switch. | ||
293 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
294 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
295 | * @generated | ||
296 | */ | ||
297 | @Override | ||
298 | public T defaultCase(EObject object) { | ||
299 | return null; | ||
300 | } | ||
301 | |||
302 | } //PartialinterpretationSwitch | ||