diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/api/impl/BaseGeneratedEMFQuerySpecification.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/api/impl/BaseGeneratedEMFQuerySpecification.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/api/impl/BaseGeneratedEMFQuerySpecification.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/api/impl/BaseGeneratedEMFQuerySpecification.java deleted file mode 100644 index 9956983d..00000000 --- a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/api/impl/BaseGeneratedEMFQuerySpecification.java +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2004-2010 Gabor Bergmann and Daniel Varro | ||
3 | * This program and the accompanying materials are made available under the | ||
4 | * terms of the Eclipse Public License v. 2.0 which is available at | ||
5 | * http://www.eclipse.org/legal/epl-v20.html. | ||
6 | * | ||
7 | * SPDX-License-Identifier: EPL-2.0 | ||
8 | *******************************************************************************/ | ||
9 | |||
10 | package tools.refinery.viatra.runtime.api.impl; | ||
11 | |||
12 | import tools.refinery.viatra.runtime.api.IPatternMatch; | ||
13 | import tools.refinery.viatra.runtime.api.ViatraQueryMatcher; | ||
14 | import tools.refinery.viatra.runtime.api.scope.QueryScope; | ||
15 | import tools.refinery.viatra.runtime.emf.EMFScope; | ||
16 | import tools.refinery.viatra.runtime.matchers.psystem.queries.PQuery; | ||
17 | |||
18 | /** | ||
19 | * Provides common functionality of pattern-specific generated query specifications over the EMF scope. | ||
20 | * | ||
21 | * @author Bergmann Gábor | ||
22 | * @author Mark Czotter | ||
23 | */ | ||
24 | public abstract class BaseGeneratedEMFQuerySpecification<Matcher extends ViatraQueryMatcher<? extends IPatternMatch>> extends | ||
25 | BaseQuerySpecification<Matcher> { | ||
26 | |||
27 | |||
28 | /** | ||
29 | * Instantiates query specification for the given internal query representation. | ||
30 | */ | ||
31 | public BaseGeneratedEMFQuerySpecification(PQuery wrappedPQuery) { | ||
32 | super(wrappedPQuery); | ||
33 | } | ||
34 | |||
35 | @Override | ||
36 | public Class<? extends QueryScope> getPreferredScopeClass() { | ||
37 | return EMFScope.class; | ||
38 | } | ||
39 | |||
40 | } | ||