public final class EventDrivenTransformationQueries
extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup
Use the static instance as any org.eclipse.viatra.query.runtime.api.IPatternGroup
, to conveniently prepare
a VIATRA Query engine for matching all patterns originally defined in file EventDrivenTransformationQueries.vql,
in order to achieve better performance than one-by-one on-demand matcher initialization.
From package gov.nasa.jpl.mbee.mdk.queries, the group contains the definition of the following patterns:
IPatternGroup
Modifier and Type | Method and Description |
---|---|
FindCommonParentClassQuerySpecification |
getFindCommonParentClass() |
FindCommonParentClassMatcher |
getFindCommonParentClass(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
StereotypedBlocksQuerySpecification |
getStereotypedBlocks() |
StereotypedBlocksMatcher |
getStereotypedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
TransformedGeneralizedBlockPairsQuerySpecification |
getTransformedGeneralizedBlockPairs() |
TransformedGeneralizedBlockPairsMatcher |
getTransformedGeneralizedBlockPairs(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
TransformedStereotypedBlocksQuerySpecification |
getTransformedStereotypedBlocks() |
TransformedStereotypedBlocksMatcher |
getTransformedStereotypedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
static EventDrivenTransformationQueries |
instance()
Access the pattern group.
|
getSpecifications
public static EventDrivenTransformationQueries instance()
ViatraQueryRuntimeException
- if there was an error loading the generated code of pattern specificationspublic StereotypedBlocksQuerySpecification getStereotypedBlocks()
public StereotypedBlocksMatcher getStereotypedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
public TransformedGeneralizedBlockPairsQuerySpecification getTransformedGeneralizedBlockPairs()
public TransformedGeneralizedBlockPairsMatcher getTransformedGeneralizedBlockPairs(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
public TransformedStereotypedBlocksQuerySpecification getTransformedStereotypedBlocks()
public TransformedStereotypedBlocksMatcher getTransformedStereotypedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
public FindCommonParentClassQuerySpecification getFindCommonParentClass()
public FindCommonParentClassMatcher getFindCommonParentClass(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)