public final class Trace2paramQuerySpecification extends BaseGeneratedEMFQuerySpecification<Trace2paramMatcher>
Trace2paramMatcher
,
Trace2paramMatch
wrappedPQuery
Modifier and Type | Method and Description |
---|---|
static Trace2paramQuerySpecification |
instance() |
Trace2paramMatcher |
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 Trace2paramMatcher |
instantiate(ViatraQueryEngine engine) |
Trace2paramMatch |
newEmptyMatch()
Returns an empty, mutable Match compatible with matchers of this query.
|
Trace2paramMatch |
newMatch(java.lang.Object... parameters)
Returns a new (partial) Match object compatible with matchers of this query.
|
getPreferredScopeClass
ensureInitializedInternal, ensureInitializedInternalSneaky, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerError
public static Trace2paramQuerySpecification instance() throws ViatraQueryException
ViatraQueryException
- if the pattern definition could not be loadedprotected Trace2paramMatcher instantiate(ViatraQueryEngine engine) throws ViatraQueryException
instantiate
in class BaseQuerySpecification<Trace2paramMatcher>
ViatraQueryException
public Trace2paramMatcher instantiate() throws ViatraQueryException
BaseQuerySpecification
instantiate
in interface IQuerySpecification<Trace2paramMatcher>
instantiate
in class BaseQuerySpecification<Trace2paramMatcher>
ViatraQueryException
public Trace2paramMatch newEmptyMatch()
IQuerySpecification
public Trace2paramMatch newMatch(java.lang.Object... parameters)
IQuerySpecification
The returned match will be immutable. Use IQuerySpecification.newEmptyMatch()
to obtain a mutable match object.
parameters
- the fixed value of pattern parameters, or null if not bound.