CompositionState
Choice CDM 7.2.0A container that holds the cumulative state of an Instruction Composition. It selects the specific history/state schema (e.g., ResetInstructionState) based on the lifecycle process being executed.
Variants
Exactly one of these must be present. A choice type is how the CDM models “one of” without a discriminator field.
| Variant | Description |
|---|---|
| ResetInstructionState | The definitive state object for the Reset process. It acts as a cumulative 'Golden Record,' storing every data point captured from Step 1 (Index Collection) through Step 7 (Final Calculation) to ensure deterministic processing. |
Referenced by
1 type holds a CompositionState as an attribute.
Functions
Model functions that produce or consume this type. These are the CDM's own behaviour — the logic a correct implementation has to match.
| Function | Role | Description |
|---|---|---|
| AddStepToCompositionState | returns | Directs the incoming instruction to the appropriate history update logic based on the specific type of Instruction Composition process, ensuring the cumulative state is incrementally updated. |
| AddStepToCompositionState | takes | Directs the incoming instruction to the appropriate history update logic based on the specific type of Instruction Composition process, ensuring the cumulative state is incrementally updated. |
Open CompositionState in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the choice type has changed. Free, no signup.