Overview
The following steps are performed in this tool mentor:
Additional Tool Information
Classes and other subsystems are added within the subsystem to realize the subsystem interfaces.
The collaborations of model elements within the subsystem must be documented using sequence diagrams that show how the
subsystem behavior is realized. Each operation on an interface that is realized by the subsystem must have one or more
documented sequence diagrams. This diagram, which is owned by the subsystem, is used to design the internal behavior of
the subsystem.
-
Create class diagrams as needed. See Creating and Modifying Class Diagrams .
-
Add subsystems and classes. See Identify Design Elements for guidance on adding new subsystems
and classes.
-
Document how each interface operation is realized, as follows:
-
-
Add a collaboration instance for each interface operation. Name it after the operation. In the Model
Explorer, right-click the subsystem and then click Add UML > Collaboration.
-
Create an interaction with the same name. In the Model Explorer, right-click the collaboration and then
click Add Diagram > Sequence Diagram. See Sequence Diagrams .
-
Drag and drop classes and interfaces onto the diagram to create objects for interaction.
-
Add messages or stimuli between objects. See Sequence Diagrams.
-
Assign operations to messages. See Sequence Diagrams.
For more information, refer to the following topics in the online Help:
-
Modeling Static
Structure by Using Class Diagrams
-
Sequence
Diagrams
Refer to Documenting
Model Elements in the online Help.
When an element contained in a subsystem uses some behavior of an element contained in another subsystem, a dependency
is created between the enclosing subsystems. To improve reuse and reduce maintenance dependencies, express this
situation in terms of a dependency on a particular interface of the subsystem, not upon the subsystem itself nor upon
the element contained in the subsystem.
Refer to Dependency
Relationships in the online Help.
Managing UML
Diagrams
|