public final class ViewersTraceabilityQueries extends 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 ViewersTraceabilityQueries.vql,
in order to achieve better performance than one-by-one on-demand matcher initialization.
From package org.eclipse.viatra.addon.viewers.runtime.model.patterns, the group contains the definition of the following patterns:
IPatternGroupquerySpecifications| Modifier and Type | Method and Description |
|---|---|
ChildrenQuerySpecification |
getChildren() |
ChildrenMatcher |
getChildren(ViatraQueryEngine engine) |
Param2containmentQuerySpecification |
getParam2containment() |
Param2containmentMatcher |
getParam2containment(ViatraQueryEngine engine) |
Param2edgeQuerySpecification |
getParam2edge() |
Param2edgeMatcher |
getParam2edge(ViatraQueryEngine engine) |
Param2itemQuerySpecification |
getParam2item() |
Param2itemMatcher |
getParam2item(ViatraQueryEngine engine) |
static ViewersTraceabilityQueries |
instance()
Access the pattern group.
|
getSpecificationsprepare, preparepublic static ViewersTraceabilityQueries instance() throws ViatraQueryException
ViatraQueryException - if there was an error loading the generated code of pattern specificationspublic Param2itemQuerySpecification getParam2item() throws ViatraQueryException
ViatraQueryExceptionpublic Param2itemMatcher getParam2item(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryExceptionpublic Param2edgeQuerySpecification getParam2edge() throws ViatraQueryException
ViatraQueryExceptionpublic Param2edgeMatcher getParam2edge(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryExceptionpublic Param2containmentQuerySpecification getParam2containment() throws ViatraQueryException
ViatraQueryExceptionpublic Param2containmentMatcher getParam2containment(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryExceptionpublic ChildrenQuerySpecification getChildren() throws ViatraQueryException
ViatraQueryExceptionpublic ChildrenMatcher getChildren(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryException