Guide to Applying the UML

This chapter provides essential rules, principles, and style guidelines for composing UML behavioral or dynamic models within the context of the roadmap, including sequence, collaboration, state, and activity diagrams and their elements. Behavioral modeling is concerned with modeling the behavioral or dynamic dimension of a system how the elements that collaborate to constitute a system interact to provide the functionality of the system and is used for system, subsystem, and class specification within the roadmap to capture in a specification model how the construct will satisfy its requirements, what elements and their relationships collaborate to constitute the construct, and how these elements interact to provide functionality to its users. A specification model consists of class, object, sequence, collaboration, state, and activity diagrams and their model elements. Our goal, in this chapter, is to gain more depth in understanding the UML notation and the roadmap concerning the behavioral or dynamic aspect of specification models.
A sequence diagram depicts the dynamic behavior of an entity via a temporal focus on an interaction, how the elements that collaborate to constitute an entity interact over time to provide the functionality of the entity, using classifier roles and messages or using instances and stimuli. This type of role is known as a dynamic role. Sequence diagrams are also known as interaction diagrams; they capture patterns of collaboration and interaction among participating elements. A sequence diagram is used to depict one or more interactions within a single collaboration. An entity is a classifier, for example,...