OOA '20 Questions: Domain Multiplicity

Home Forums Executable UML and xtUML Methodology OOA '20 Questions: Domain Multiplicity

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
September 26, 2019 at 2:35 pm #6289

Lee Riemenschneider
Participant

Method: System Modeling

Domain Multiplicity

“instances” of domains

Can a domain be reused multiple times in the same
system? If so, how are messages directed to the correct
instance of the domain?

[Scenario] Consider domains ‘navigation’ and ‘braking’. A statement
within the the interior of a state action of an instance state machine in
‘navigation’ sends the ‘apply friction’ message to the “left rear
instance/instantiation” of the ‘braking’ domain.

September 27, 2019 at 4:47 pm #6307

Lee Riemenschneider
Participant

Yes, multiple instances of a domain should be allowed. In the scenario, it states how this would be handled in the model; the navigation model would identify a “left rear braking” domain, and probably three other braking domains. The thing that the navigation model would not know is if the braking domains are all instantiations of the same domain.
Of course, this could also be handled by the navigation model defining a required service that included the target brake system as a parameter, which would then be distributed by the architecture to the correct domain instance.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.