UML
Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with single teacher and single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle. Both can create and delete independently.
Interaction overview diagrams are about putting together of activity diagrams and sequence diagrams. You can think of interaction overview diagrams either as activity diagrams in which the activities are replaced by little sequence diagrams.
Lets see what are these ....
In order to understand the third type of interaction diagram "Interaction Overview Diagram" It is better to have understanding of another UML diagram which is "Activity Diagram"
Activity diagrams are a technique to describe procedural logic, business process, and work flow. In many ways, they play a role similar to flowcharts, but the principal difference between them and flowchart notation is that they support parallel behavior.
Lets see what Actvity diagrams are...
Communication diagrams, a kind of interaction diagram, emphasize the data links between the various participants in the interaction.
Instead of drawing each participant as a lifeline and showing the sequence of messages by vertical direction as the sequence diagrams does, the communication diagram allows free placement of participants, allows you to draw links to show how the participants connect, and use numbering to show the sequence of messages. ........
UML has following interaction diagrams :
- Sequence Diagram
- Communication Diagram (formerly Collaboration Diagram)
- Interaction Overview Diagram
for this post lets start with Sequence Diagram ....
In this series I will be explaining UML diagrams and their usage which is most commonly used and beneficial to any developer to understand the design and implementation models of their applications at various stages of application lifecycle
The article explains the UML diagrams and their relationships with a diagram.