public final class Param2itemQuerySpecification extends BaseGeneratedEMFQuerySpecification<Param2itemMatcher>
Param2itemMatcher
,
Param2itemMatch
wrappedPQuery
Modifier and Type | Method and Description |
---|---|
static Param2itemQuerySpecification |
instance() |
Param2itemMatcher |
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 Param2itemMatcher |
instantiate(ViatraQueryEngine engine) |
Param2itemMatch |
newEmptyMatch()
Returns an empty, mutable Match compatible with matchers of this query.
|
Param2itemMatch |
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 Param2itemQuerySpecification instance() throws ViatraQueryException
ViatraQueryException
- if the pattern definition could not be loadedprotected Param2itemMatcher instantiate(ViatraQueryEngine engine) throws ViatraQueryException
instantiate
in class BaseQuerySpecification<Param2itemMatcher>
ViatraQueryException
public Param2itemMatcher instantiate() throws ViatraQueryException
BaseQuerySpecification
instantiate
in interface IQuerySpecification<Param2itemMatcher>
instantiate
in class BaseQuerySpecification<Param2itemMatcher>
ViatraQueryException
public Param2itemMatch newEmptyMatch()
IQuerySpecification
public Param2itemMatch 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.