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:
IPatternGroup
querySpecifications
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.
|
getSpecifications
prepare, prepare
public static ViewersTraceabilityQueries instance() throws ViatraQueryException
ViatraQueryException
- if there was an error loading the generated code of pattern specificationspublic Param2itemQuerySpecification getParam2item() throws ViatraQueryException
ViatraQueryException
public Param2itemMatcher getParam2item(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryException
public Param2edgeQuerySpecification getParam2edge() throws ViatraQueryException
ViatraQueryException
public Param2edgeMatcher getParam2edge(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryException
public Param2containmentQuerySpecification getParam2containment() throws ViatraQueryException
ViatraQueryException
public Param2containmentMatcher getParam2containment(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryException
public ChildrenQuerySpecification getChildren() throws ViatraQueryException
ViatraQueryException
public ChildrenMatcher getChildren(ViatraQueryEngine engine) throws ViatraQueryException
ViatraQueryException