The sequence models concentrate on time sequences and the collaboration models stress more on object relationships.īase on the reference books, the sequence diagrams used in the requirements analysis and collaboration diagrams in the system design. They can be used interchangeably and, indeed, many CASE tools such as Rational Rose support an automatic conversion from one model to the other. The interaction modeling shows the sequencing of events (messages) between collaborating objects.Īs said before, there are two kinds of interaction diagram: the sequence diagram and the collaboration diagram. However, the activity modeling is done at a higher level of abstraction that is, it shows the sequencing of events without assigning the events to objects. Usually, both capture the behavior of a single use case.
Keep in mind the main distinction between the activity modeling and the interaction modeling. Basically, interaction is a set of messages in some behavior those are exchanged between objects across links. Interaction models are used in more advanced stages of requirements analysis, when a basic class model is known or stabilized, so that the references to objects are backed by the class model.
Interaction modeling captures between objects needed to execute a use case. Information System Development Process Example Part 3