public final class ViewersTraceabilityQueries
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 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
Modifier and Type | Method and Description |
---|---|
ChildrenQuerySpecification |
getChildren() |
ChildrenMatcher |
getChildren(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
Param2containmentQuerySpecification |
getParam2containment() |
Param2containmentMatcher |
getParam2containment(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
Param2edgeQuerySpecification |
getParam2edge() |
Param2edgeMatcher |
getParam2edge(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
Param2itemQuerySpecification |
getParam2item() |
Param2itemMatcher |
getParam2item(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
static ViewersTraceabilityQueries |
instance()
Access the pattern group.
|
public static ViewersTraceabilityQueries instance() throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
- if there was an error loading the generated code of pattern specificationspublic Param2itemQuerySpecification getParam2item() throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public Param2itemMatcher getParam2item(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public Param2edgeQuerySpecification getParam2edge() throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public Param2edgeMatcher getParam2edge(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public Param2containmentQuerySpecification getParam2containment() throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public Param2containmentMatcher getParam2containment(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public ChildrenQuerySpecification getChildren() throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException
public ChildrenMatcher getChildren(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) throws org.eclipse.viatra.query.runtime.exception.ViatraQueryException
org.eclipse.viatra.query.runtime.exception.ViatraQueryException