Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.DefaultOnState
java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.DefaultState
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.DefaultOnState
- Enclosing class:
- RuleImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createDefaultMapping
(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> ses) Creates a default trace mapping entry for the source values inses
, if applicable.boolean
createDefaultMapping
(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> ses, int seSize) Creates a default trace mapping entry for the source values inteMapsTo
, if applicable.
-
Constructor Details
-
DefaultOnState
protected DefaultOnState()
-
-
Method Details
-
createDefaultMapping
public void createDefaultMapping(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> ses) Creates a default trace mapping entry for the source values inses
, if applicable.- Specified by:
createDefaultMapping
in classRuleImpl.DefaultState
- Parameters:
traces
- the trace link set to add the default traces toses
- the source values that serve as a the default trace key
-
createDefaultMapping
public boolean createDefaultMapping(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> ses, int seSize) Creates a default trace mapping entry for the source values inteMapsTo
, if applicable.- Specified by:
createDefaultMapping
in classRuleImpl.DefaultState
- Parameters:
traces
- the trace link set to add the default traces toses
- the source values that serve as a the default trace keyseSize
- the amount of source elements for this rule- Returns:
true
iff default mappings are set for complete list of all source elements
-