public abstract class BaseGeneratedEMFQuerySpecificationWithGenericMatcher extends GenericQuerySpecification<GenericPatternMatcher>
wrappedPQuery| Constructor and Description |
|---|
BaseGeneratedEMFQuerySpecificationWithGenericMatcher(PQuery wrappedPQuery) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends QueryScope> |
getPreferredScopeClass()
The query is formulated over this kind of modeling platform.
|
GenericPatternMatcher |
instantiate()
For backward compatibility of code generated with previous versions of viatra query, this method has a default
implementation returning null, indicating that a matcher can only be created using the old method, which ignores
the hints provided by the user.
|
protected GenericPatternMatcher |
instantiate(ViatraQueryEngine engine) |
GenericPatternMatch |
newEmptyMatch()
Returns an empty, mutable Match compatible with matchers of this query.
|
GenericPatternMatch |
newMatch(java.lang.Object... parameters)
Returns a new (partial) Match object compatible with matchers of this query.
|
defaultInstantiate, getVisibilityensureInitializedInternal, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameter, getSimpleNamepublic BaseGeneratedEMFQuerySpecificationWithGenericMatcher(PQuery wrappedPQuery)
public java.lang.Class<? extends QueryScope> getPreferredScopeClass()
IQuerySpecificationEMFScope class is returned.protected GenericPatternMatcher instantiate(ViatraQueryEngine engine)
instantiate in class BaseQuerySpecification<GenericPatternMatcher>public GenericPatternMatcher instantiate()
BaseQuerySpecificationinstantiate in interface IQuerySpecification<GenericPatternMatcher>instantiate in class BaseQuerySpecification<GenericPatternMatcher>public GenericPatternMatch newEmptyMatch()
IQuerySpecificationnewEmptyMatch in interface IQuerySpecification<GenericPatternMatcher>newEmptyMatch in class GenericQuerySpecification<GenericPatternMatcher>public GenericPatternMatch newMatch(java.lang.Object... parameters)
IQuerySpecificationThe returned match will be immutable. Use IQuerySpecification.newEmptyMatch() to obtain a mutable match object.
newMatch in interface IQuerySpecification<GenericPatternMatcher>newMatch in class GenericQuerySpecification<GenericPatternMatcher>parameters - the fixed value of pattern parameters, or null if not bound.