Sequencer - modelint/shlaer-mellor-metamodel GitHub Wiki
This Iterator processes the set of incoming instance references in a specified or, if none is specified, an arbitary sequence.
For each iteration, an Action and possibly multiple downstream Actions perform some sub-activity.
Each subclass of Sequencer supports a different modeled ordering mechanism. To define an arbitrary sequence, a Selection Sequencer with no Sorting Attribute can be specified. The unordered case might be useful when you want to execute a set of actions once per instance such that the entire set of actions runs to completion before processing the next instance.
CAREFUL: If what you really want to say is that a set of Actions must be executed per instance, but it would be okay if each instance were processed simultaneously, do not use an Iterator. Instead just flow the instance set as input directly to each Action in the set. Don't fall back on the implementation/programmer mindset where processing a set of elements implies iteration.
Identifiers
- ID + Activity + Domain
Attributes
No non-referential attributes.