public class GenericReferencedQuerySpecification extends GenericQuerySpecification<GenericPatternMatcher>
wrappedPQuery| Constructor and Description |
|---|
GenericReferencedQuerySpecification(GenericReferencedPQuery wrappedPQuery,
IQuerySpecification<?> baseSpecification) |
| Modifier and Type | Method and Description |
|---|---|
IPatternMatch |
createFromBaseMatch(IPatternMatch base) |
IQuerySpecification<?> |
getBaseSpecification() |
java.lang.Class<? extends QueryScope> |
getPreferredScopeClass()
The query is formulated over this kind of modeling platform.
|
java.util.Set<PParameter> |
getReferenceParameters() |
protected com.google.common.collect.Multimap<PParameter,PParameter> |
getReferenceSources() |
static GenericReferencedQuerySpecification |
initiate(IQuerySpecification<?> specification,
com.google.common.collect.Multimap<PParameter,PParameter> traceSources,
java.util.Map<PParameter,java.lang.String> traceIds,
java.lang.String traceabilityId) |
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) |
defaultInstantiate, newEmptyMatch, newMatchensureInitializedInternal, ensureInitializedInternalSneaky, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerErrorpublic GenericReferencedQuerySpecification(GenericReferencedPQuery wrappedPQuery, IQuerySpecification<?> baseSpecification)
public java.lang.Class<? extends QueryScope> getPreferredScopeClass()
IQuerySpecificationEMFScope class is returned.protected GenericPatternMatcher instantiate(ViatraQueryEngine engine) throws ViatraQueryException
instantiate in class BaseQuerySpecification<GenericPatternMatcher>ViatraQueryExceptionpublic static GenericReferencedQuerySpecification initiate(IQuerySpecification<?> specification, com.google.common.collect.Multimap<PParameter,PParameter> traceSources, java.util.Map<PParameter,java.lang.String> traceIds, java.lang.String traceabilityId) throws QueryInitializationException
QueryInitializationExceptionprotected com.google.common.collect.Multimap<PParameter,PParameter> getReferenceSources()
public final java.util.Set<PParameter> getReferenceParameters()
public final IQuerySpecification<?> getBaseSpecification()
public IPatternMatch createFromBaseMatch(IPatternMatch base)
public GenericPatternMatcher instantiate() throws ViatraQueryException
BaseQuerySpecificationinstantiate in interface IQuerySpecification<GenericPatternMatcher>instantiate in class BaseQuerySpecification<GenericPatternMatcher>ViatraQueryException