16.3 Collaborations between Subsystems


Similarly, when a class has state behavior, there are collaborations between classes in different subsystems.

When a class in one subsystem collaborates with a class in another subsystem, we show the imported class on the collaboration diagram using only the name of the class, with either an annotation "from <subsystem name>," or a stereotype «imported», as shown in Figure 16.5.

Figure 16.5. Imported Classes on a Collaboration Diagram

graphics/16fig05.gif

The external entities (e.g., Customer, Warehouse Supervisor) are not part of any subsystem. They represent the explicit interface points to the domain.

To depict the collaborations between subsystems, show directional dependencies with the names of the signals, as illustrated in Figure 16.6.

Figure 16.6. A Package Diagram Showing Spanning Collaborations Between Subsystems

graphics/16fig06.gif



Executable UML. A Foundation for Model-Driven Architecture
Executable UML: A Foundation for Model-Driven Architecture
ISBN: 0201748045
EAN: 2147483647
Year: 2001
Pages: 161

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net