Match
- A VIATRA Query pattern match - left hand side of the ruleMatcher
- A VIATRA Query pattern matcher - left hand side of the rulepublic class DSETransformationRule<Match extends org.eclipse.viatra.query.runtime.api.IPatternMatch,Matcher extends org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher<Match>>
extends org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule<Match,Matcher>
IQuerySpecification
and a right hand side (RHS),
which is specified by an IMatchProcessor
.Modifier and Type | Class and Description |
---|---|
static interface |
DSETransformationRule.ActivationCostProcessor<Match> |
Constructor and Description |
---|
DSETransformationRule(org.eclipse.viatra.query.runtime.api.IQuerySpecification<Matcher> querySpec,
org.eclipse.viatra.query.runtime.api.IMatchProcessor<Match> action) |
DSETransformationRule(java.lang.String name,
org.eclipse.viatra.query.runtime.api.IQuerySpecification<Matcher> querySpec,
org.eclipse.viatra.query.runtime.api.IMatchProcessor<Match> action) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
RuleMetaData |
getMetaData() |
int |
hashCode() |
void |
setMetaData(RuleMetaData metaData) |
public DSETransformationRule(java.lang.String name, org.eclipse.viatra.query.runtime.api.IQuerySpecification<Matcher> querySpec, org.eclipse.viatra.query.runtime.api.IMatchProcessor<Match> action)
public RuleMetaData getMetaData()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setMetaData(RuleMetaData metaData)