-
Notifications
You must be signed in to change notification settings - Fork 0
Association class creation
Leon Starr edited this page Sep 5, 2021
·
1 revision
Every association class holds at least two references, one on each side of the association it formalizes. Just like any class, an association class may hold references on other associations.
Consider the Engagement class which represents an interaction between a Missile and a Target. To create an instance of Engagement asynchronously you could do this:
Target acquired -> *Engagement(Closing speed: cspeed) &R1 the missle, the target
If it turns out that an Engagement also holds a reference to an instance of Attack Profile on the 0..*:1 R8 association, you will need to supply that instance and association as well:
Target acquired -> *Engagement(Closing speed: cspeed) &R1 the missle, the target &R8 my profile
Copyright 2020, 2021, 2022, 2023, 2025 © Leon Starr under MIT Open Source License
- Why they are problematic
- Instance attribute creation values
- Boolean values
- Special values
- Enumerated values
- Action block
- Statement
- Single line action
- Multiple dependent actions on a single line
- An action spread across multiple lines
- A conditional group of single line actions
- Comments
- Finding instances
- Attribute access
- Creation and deletion
- Subclass migration
- Creating a table from a class
- Creating a table with a definition
- Converting a table into a class
- Set operations on tables
- Set comparisons on tables
- Join
- Rename
- Extend
- Aggregation
- Rank
- Image
- Input values
- Signatures and name doubling
- Output values
- Execution order
- Sequential execution
- Conditional execution
- Signals
- Scrall has no for_each action
- Iteration