diff options
author | 2020-04-26 18:23:13 -0400 | |
---|---|---|
committer | 2020-04-26 18:23:13 -0400 | |
commit | c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e (patch) | |
tree | 0c2e212e4e95c1d2311629128641d5cd561210f3 /Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java | |
parent | Merge branch 'Attribute-Solver' (diff) | |
download | VIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.tar.gz VIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.tar.zst VIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.zip |
Add PLEDGE case study files
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java | 438 |
1 files changed, 438 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java new file mode 100644 index 00000000..a8ab2996 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java | |||
@@ -0,0 +1,438 @@ | |||
1 | /** | ||
2 | * Generated from platform:/resource/case.study.a.queries/src/queries/case_study_A.vql | ||
3 | */ | ||
4 | package queries; | ||
5 | |||
6 | import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; | ||
7 | import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; | ||
8 | import queries.Inv03; | ||
9 | import queries.Inv05; | ||
10 | import queries.Inv06; | ||
11 | import queries.Inv07; | ||
12 | import queries.Inv08; | ||
13 | import queries.Inv10; | ||
14 | import queries.Inv11; | ||
15 | import queries.Inv12; | ||
16 | import queries.Inv13; | ||
17 | import queries.Inv15; | ||
18 | import queries.Inv17; | ||
19 | import queries.Inv20; | ||
20 | import queries.Inv33; | ||
21 | import queries.Inv34; | ||
22 | import queries.Inv35; | ||
23 | import queries.Inv47; | ||
24 | import queries.Inv48; | ||
25 | import queries.Inv49; | ||
26 | import queries.X_inv03_eligAll; | ||
27 | import queries.X_inv03_hasAll; | ||
28 | import queries.X_inv05_inRange; | ||
29 | import queries.X_inv08_inRange; | ||
30 | import queries.X_inv08_noType; | ||
31 | import queries.X_inv08_notEI; | ||
32 | import queries.X_inv11_incNotOver100; | ||
33 | import queries.X_inv11_incOver100; | ||
34 | import queries.X_inv12_notNonRes; | ||
35 | import queries.X_inv12_notZZ; | ||
36 | import queries.X_inv13; | ||
37 | import queries.X_inv15; | ||
38 | import queries.X_inv47; | ||
39 | import queries.X_inv48_3; | ||
40 | import queries.X_inv48_Dis; | ||
41 | import queries.X_inv48_notDis; | ||
42 | import queries.X_inv49_1; | ||
43 | import queries.X_inv49_2; | ||
44 | |||
45 | /** | ||
46 | * A pattern group formed of all public patterns defined in case_study_A.vql. | ||
47 | * | ||
48 | * <p>Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare | ||
49 | * a VIATRA Query engine for matching all patterns originally defined in file case_study_A.vql, | ||
50 | * in order to achieve better performance than one-by-one on-demand matcher initialization. | ||
51 | * | ||
52 | * <p> From package queries, the group contains the definition of the following patterns: <ul> | ||
53 | * <li>inv03</li> | ||
54 | * <li>x_inv03_eligAll</li> | ||
55 | * <li>x_inv03_hasAll</li> | ||
56 | * <li>inv05</li> | ||
57 | * <li>x_inv05_inRange</li> | ||
58 | * <li>inv06</li> | ||
59 | * <li>inv07</li> | ||
60 | * <li>inv08</li> | ||
61 | * <li>x_inv08_notEI</li> | ||
62 | * <li>x_inv08_noType</li> | ||
63 | * <li>x_inv08_inRange</li> | ||
64 | * <li>inv10</li> | ||
65 | * <li>inv11</li> | ||
66 | * <li>x_inv11_incOver100</li> | ||
67 | * <li>x_inv11_incNotOver100</li> | ||
68 | * <li>inv12</li> | ||
69 | * <li>x_inv12_notNonRes</li> | ||
70 | * <li>x_inv12_notZZ</li> | ||
71 | * <li>inv13</li> | ||
72 | * <li>x_inv13</li> | ||
73 | * <li>inv15</li> | ||
74 | * <li>x_inv15</li> | ||
75 | * <li>inv17</li> | ||
76 | * <li>inv20</li> | ||
77 | * <li>inv33</li> | ||
78 | * <li>inv34</li> | ||
79 | * <li>inv35</li> | ||
80 | * <li>inv47</li> | ||
81 | * <li>x_inv47</li> | ||
82 | * <li>inv48</li> | ||
83 | * <li>x_inv48_notDis</li> | ||
84 | * <li>x_inv48_Dis</li> | ||
85 | * <li>x_inv48_3</li> | ||
86 | * <li>inv49</li> | ||
87 | * <li>x_inv49_1</li> | ||
88 | * <li>x_inv49_2</li> | ||
89 | * </ul> | ||
90 | * | ||
91 | * @see IQueryGroup | ||
92 | * | ||
93 | */ | ||
94 | @SuppressWarnings("all") | ||
95 | public final class Case_study_A extends BaseGeneratedPatternGroup { | ||
96 | /** | ||
97 | * Access the pattern group. | ||
98 | * | ||
99 | * @return the singleton instance of the group | ||
100 | * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications | ||
101 | * | ||
102 | */ | ||
103 | public static Case_study_A instance() { | ||
104 | if (INSTANCE == null) { | ||
105 | INSTANCE = new Case_study_A(); | ||
106 | } | ||
107 | return INSTANCE; | ||
108 | } | ||
109 | |||
110 | private static Case_study_A INSTANCE; | ||
111 | |||
112 | private Case_study_A() { | ||
113 | querySpecifications.add(Inv03.instance()); | ||
114 | querySpecifications.add(X_inv03_eligAll.instance()); | ||
115 | querySpecifications.add(X_inv03_hasAll.instance()); | ||
116 | querySpecifications.add(Inv05.instance()); | ||
117 | querySpecifications.add(X_inv05_inRange.instance()); | ||
118 | querySpecifications.add(Inv06.instance()); | ||
119 | querySpecifications.add(Inv07.instance()); | ||
120 | querySpecifications.add(Inv08.instance()); | ||
121 | querySpecifications.add(X_inv08_notEI.instance()); | ||
122 | querySpecifications.add(X_inv08_noType.instance()); | ||
123 | querySpecifications.add(X_inv08_inRange.instance()); | ||
124 | querySpecifications.add(Inv10.instance()); | ||
125 | querySpecifications.add(Inv11.instance()); | ||
126 | querySpecifications.add(X_inv11_incOver100.instance()); | ||
127 | querySpecifications.add(X_inv11_incNotOver100.instance()); | ||
128 | querySpecifications.add(Inv12.instance()); | ||
129 | querySpecifications.add(X_inv12_notNonRes.instance()); | ||
130 | querySpecifications.add(X_inv12_notZZ.instance()); | ||
131 | querySpecifications.add(Inv13.instance()); | ||
132 | querySpecifications.add(X_inv13.instance()); | ||
133 | querySpecifications.add(Inv15.instance()); | ||
134 | querySpecifications.add(X_inv15.instance()); | ||
135 | querySpecifications.add(Inv17.instance()); | ||
136 | querySpecifications.add(Inv20.instance()); | ||
137 | querySpecifications.add(Inv33.instance()); | ||
138 | querySpecifications.add(Inv34.instance()); | ||
139 | querySpecifications.add(Inv35.instance()); | ||
140 | querySpecifications.add(Inv47.instance()); | ||
141 | querySpecifications.add(X_inv47.instance()); | ||
142 | querySpecifications.add(Inv48.instance()); | ||
143 | querySpecifications.add(X_inv48_notDis.instance()); | ||
144 | querySpecifications.add(X_inv48_Dis.instance()); | ||
145 | querySpecifications.add(X_inv48_3.instance()); | ||
146 | querySpecifications.add(Inv49.instance()); | ||
147 | querySpecifications.add(X_inv49_1.instance()); | ||
148 | querySpecifications.add(X_inv49_2.instance()); | ||
149 | } | ||
150 | |||
151 | public Inv03 getInv03() { | ||
152 | return Inv03.instance(); | ||
153 | } | ||
154 | |||
155 | public Inv03.Matcher getInv03(final ViatraQueryEngine engine) { | ||
156 | return Inv03.Matcher.on(engine); | ||
157 | } | ||
158 | |||
159 | public X_inv03_eligAll getX_inv03_eligAll() { | ||
160 | return X_inv03_eligAll.instance(); | ||
161 | } | ||
162 | |||
163 | public X_inv03_eligAll.Matcher getX_inv03_eligAll(final ViatraQueryEngine engine) { | ||
164 | return X_inv03_eligAll.Matcher.on(engine); | ||
165 | } | ||
166 | |||
167 | public X_inv03_hasAll getX_inv03_hasAll() { | ||
168 | return X_inv03_hasAll.instance(); | ||
169 | } | ||
170 | |||
171 | public X_inv03_hasAll.Matcher getX_inv03_hasAll(final ViatraQueryEngine engine) { | ||
172 | return X_inv03_hasAll.Matcher.on(engine); | ||
173 | } | ||
174 | |||
175 | public Inv05 getInv05() { | ||
176 | return Inv05.instance(); | ||
177 | } | ||
178 | |||
179 | public Inv05.Matcher getInv05(final ViatraQueryEngine engine) { | ||
180 | return Inv05.Matcher.on(engine); | ||
181 | } | ||
182 | |||
183 | public X_inv05_inRange getX_inv05_inRange() { | ||
184 | return X_inv05_inRange.instance(); | ||
185 | } | ||
186 | |||
187 | public X_inv05_inRange.Matcher getX_inv05_inRange(final ViatraQueryEngine engine) { | ||
188 | return X_inv05_inRange.Matcher.on(engine); | ||
189 | } | ||
190 | |||
191 | public Inv06 getInv06() { | ||
192 | return Inv06.instance(); | ||
193 | } | ||
194 | |||
195 | public Inv06.Matcher getInv06(final ViatraQueryEngine engine) { | ||
196 | return Inv06.Matcher.on(engine); | ||
197 | } | ||
198 | |||
199 | public Inv07 getInv07() { | ||
200 | return Inv07.instance(); | ||
201 | } | ||
202 | |||
203 | public Inv07.Matcher getInv07(final ViatraQueryEngine engine) { | ||
204 | return Inv07.Matcher.on(engine); | ||
205 | } | ||
206 | |||
207 | public Inv08 getInv08() { | ||
208 | return Inv08.instance(); | ||
209 | } | ||
210 | |||
211 | public Inv08.Matcher getInv08(final ViatraQueryEngine engine) { | ||
212 | return Inv08.Matcher.on(engine); | ||
213 | } | ||
214 | |||
215 | public X_inv08_notEI getX_inv08_notEI() { | ||
216 | return X_inv08_notEI.instance(); | ||
217 | } | ||
218 | |||
219 | public X_inv08_notEI.Matcher getX_inv08_notEI(final ViatraQueryEngine engine) { | ||
220 | return X_inv08_notEI.Matcher.on(engine); | ||
221 | } | ||
222 | |||
223 | public X_inv08_noType getX_inv08_noType() { | ||
224 | return X_inv08_noType.instance(); | ||
225 | } | ||
226 | |||
227 | public X_inv08_noType.Matcher getX_inv08_noType(final ViatraQueryEngine engine) { | ||
228 | return X_inv08_noType.Matcher.on(engine); | ||
229 | } | ||
230 | |||
231 | public X_inv08_inRange getX_inv08_inRange() { | ||
232 | return X_inv08_inRange.instance(); | ||
233 | } | ||
234 | |||
235 | public X_inv08_inRange.Matcher getX_inv08_inRange(final ViatraQueryEngine engine) { | ||
236 | return X_inv08_inRange.Matcher.on(engine); | ||
237 | } | ||
238 | |||
239 | public Inv10 getInv10() { | ||
240 | return Inv10.instance(); | ||
241 | } | ||
242 | |||
243 | public Inv10.Matcher getInv10(final ViatraQueryEngine engine) { | ||
244 | return Inv10.Matcher.on(engine); | ||
245 | } | ||
246 | |||
247 | public Inv11 getInv11() { | ||
248 | return Inv11.instance(); | ||
249 | } | ||
250 | |||
251 | public Inv11.Matcher getInv11(final ViatraQueryEngine engine) { | ||
252 | return Inv11.Matcher.on(engine); | ||
253 | } | ||
254 | |||
255 | public X_inv11_incOver100 getX_inv11_incOver100() { | ||
256 | return X_inv11_incOver100.instance(); | ||
257 | } | ||
258 | |||
259 | public X_inv11_incOver100.Matcher getX_inv11_incOver100(final ViatraQueryEngine engine) { | ||
260 | return X_inv11_incOver100.Matcher.on(engine); | ||
261 | } | ||
262 | |||
263 | public X_inv11_incNotOver100 getX_inv11_incNotOver100() { | ||
264 | return X_inv11_incNotOver100.instance(); | ||
265 | } | ||
266 | |||
267 | public X_inv11_incNotOver100.Matcher getX_inv11_incNotOver100(final ViatraQueryEngine engine) { | ||
268 | return X_inv11_incNotOver100.Matcher.on(engine); | ||
269 | } | ||
270 | |||
271 | public Inv12 getInv12() { | ||
272 | return Inv12.instance(); | ||
273 | } | ||
274 | |||
275 | public Inv12.Matcher getInv12(final ViatraQueryEngine engine) { | ||
276 | return Inv12.Matcher.on(engine); | ||
277 | } | ||
278 | |||
279 | public X_inv12_notNonRes getX_inv12_notNonRes() { | ||
280 | return X_inv12_notNonRes.instance(); | ||
281 | } | ||
282 | |||
283 | public X_inv12_notNonRes.Matcher getX_inv12_notNonRes(final ViatraQueryEngine engine) { | ||
284 | return X_inv12_notNonRes.Matcher.on(engine); | ||
285 | } | ||
286 | |||
287 | public X_inv12_notZZ getX_inv12_notZZ() { | ||
288 | return X_inv12_notZZ.instance(); | ||
289 | } | ||
290 | |||
291 | public X_inv12_notZZ.Matcher getX_inv12_notZZ(final ViatraQueryEngine engine) { | ||
292 | return X_inv12_notZZ.Matcher.on(engine); | ||
293 | } | ||
294 | |||
295 | public Inv13 getInv13() { | ||
296 | return Inv13.instance(); | ||
297 | } | ||
298 | |||
299 | public Inv13.Matcher getInv13(final ViatraQueryEngine engine) { | ||
300 | return Inv13.Matcher.on(engine); | ||
301 | } | ||
302 | |||
303 | public X_inv13 getX_inv13() { | ||
304 | return X_inv13.instance(); | ||
305 | } | ||
306 | |||
307 | public X_inv13.Matcher getX_inv13(final ViatraQueryEngine engine) { | ||
308 | return X_inv13.Matcher.on(engine); | ||
309 | } | ||
310 | |||
311 | public Inv15 getInv15() { | ||
312 | return Inv15.instance(); | ||
313 | } | ||
314 | |||
315 | public Inv15.Matcher getInv15(final ViatraQueryEngine engine) { | ||
316 | return Inv15.Matcher.on(engine); | ||
317 | } | ||
318 | |||
319 | public X_inv15 getX_inv15() { | ||
320 | return X_inv15.instance(); | ||
321 | } | ||
322 | |||
323 | public X_inv15.Matcher getX_inv15(final ViatraQueryEngine engine) { | ||
324 | return X_inv15.Matcher.on(engine); | ||
325 | } | ||
326 | |||
327 | public Inv17 getInv17() { | ||
328 | return Inv17.instance(); | ||
329 | } | ||
330 | |||
331 | public Inv17.Matcher getInv17(final ViatraQueryEngine engine) { | ||
332 | return Inv17.Matcher.on(engine); | ||
333 | } | ||
334 | |||
335 | public Inv20 getInv20() { | ||
336 | return Inv20.instance(); | ||
337 | } | ||
338 | |||
339 | public Inv20.Matcher getInv20(final ViatraQueryEngine engine) { | ||
340 | return Inv20.Matcher.on(engine); | ||
341 | } | ||
342 | |||
343 | public Inv33 getInv33() { | ||
344 | return Inv33.instance(); | ||
345 | } | ||
346 | |||
347 | public Inv33.Matcher getInv33(final ViatraQueryEngine engine) { | ||
348 | return Inv33.Matcher.on(engine); | ||
349 | } | ||
350 | |||
351 | public Inv34 getInv34() { | ||
352 | return Inv34.instance(); | ||
353 | } | ||
354 | |||
355 | public Inv34.Matcher getInv34(final ViatraQueryEngine engine) { | ||
356 | return Inv34.Matcher.on(engine); | ||
357 | } | ||
358 | |||
359 | public Inv35 getInv35() { | ||
360 | return Inv35.instance(); | ||
361 | } | ||
362 | |||
363 | public Inv35.Matcher getInv35(final ViatraQueryEngine engine) { | ||
364 | return Inv35.Matcher.on(engine); | ||
365 | } | ||
366 | |||
367 | public Inv47 getInv47() { | ||
368 | return Inv47.instance(); | ||
369 | } | ||
370 | |||
371 | public Inv47.Matcher getInv47(final ViatraQueryEngine engine) { | ||
372 | return Inv47.Matcher.on(engine); | ||
373 | } | ||
374 | |||
375 | public X_inv47 getX_inv47() { | ||
376 | return X_inv47.instance(); | ||
377 | } | ||
378 | |||
379 | public X_inv47.Matcher getX_inv47(final ViatraQueryEngine engine) { | ||
380 | return X_inv47.Matcher.on(engine); | ||
381 | } | ||
382 | |||
383 | public Inv48 getInv48() { | ||
384 | return Inv48.instance(); | ||
385 | } | ||
386 | |||
387 | public Inv48.Matcher getInv48(final ViatraQueryEngine engine) { | ||
388 | return Inv48.Matcher.on(engine); | ||
389 | } | ||
390 | |||
391 | public X_inv48_notDis getX_inv48_notDis() { | ||
392 | return X_inv48_notDis.instance(); | ||
393 | } | ||
394 | |||
395 | public X_inv48_notDis.Matcher getX_inv48_notDis(final ViatraQueryEngine engine) { | ||
396 | return X_inv48_notDis.Matcher.on(engine); | ||
397 | } | ||
398 | |||
399 | public X_inv48_Dis getX_inv48_Dis() { | ||
400 | return X_inv48_Dis.instance(); | ||
401 | } | ||
402 | |||
403 | public X_inv48_Dis.Matcher getX_inv48_Dis(final ViatraQueryEngine engine) { | ||
404 | return X_inv48_Dis.Matcher.on(engine); | ||
405 | } | ||
406 | |||
407 | public X_inv48_3 getX_inv48_3() { | ||
408 | return X_inv48_3.instance(); | ||
409 | } | ||
410 | |||
411 | public X_inv48_3.Matcher getX_inv48_3(final ViatraQueryEngine engine) { | ||
412 | return X_inv48_3.Matcher.on(engine); | ||
413 | } | ||
414 | |||
415 | public Inv49 getInv49() { | ||
416 | return Inv49.instance(); | ||
417 | } | ||
418 | |||
419 | public Inv49.Matcher getInv49(final ViatraQueryEngine engine) { | ||
420 | return Inv49.Matcher.on(engine); | ||
421 | } | ||
422 | |||
423 | public X_inv49_1 getX_inv49_1() { | ||
424 | return X_inv49_1.instance(); | ||
425 | } | ||
426 | |||
427 | public X_inv49_1.Matcher getX_inv49_1(final ViatraQueryEngine engine) { | ||
428 | return X_inv49_1.Matcher.on(engine); | ||
429 | } | ||
430 | |||
431 | public X_inv49_2 getX_inv49_2() { | ||
432 | return X_inv49_2.instance(); | ||
433 | } | ||
434 | |||
435 | public X_inv49_2.Matcher getX_inv49_2(final ViatraQueryEngine engine) { | ||
436 | return X_inv49_2.Matcher.on(engine); | ||
437 | } | ||
438 | } | ||