Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.DefaultState
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.impl.RuleImpl.DefaultState
-
- Direct Known Subclasses:
RuleImpl.DefaultOffState,RuleImpl.DefaultOnState
- Enclosing class:
- RuleImpl
protected abstract class RuleImpl.DefaultState extends java.lang.ObjectBase class for code that depends on the state ofRule.isDefault().
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultState()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcreateDefaultMapping(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> ses)Creates a default trace mapping entry for the source values inses, if applicable.abstract booleancreateDefaultMapping(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> teMapsTo, int seSize)Creates a default trace mapping entry for the source values inteMapsTo, if applicable.
-
-
-
Method Detail
-
createDefaultMapping
public abstract 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.- 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 abstract boolean createDefaultMapping(TraceLinkSet traces, org.eclipse.emf.common.util.EList<SourceElement> teMapsTo, int seSize)
Creates a default trace mapping entry for the source values inteMapsTo, if applicable.- Parameters:
traces- the trace link set to add the default traces toteMapsTo- the source values that serve as a the default trace keyseSize- the amount of source elements for this rule- Returns:
trueiff default mappings are set for complete list of all source elements
-
-