Relationships in a use case diagram are a powerful mechanism to organize and reuse requirements. There are three main types of relationships in use case diagrams:1.Actor to actor—This is the generalization relationship and represented by the inheritance arrow in Figure 6.1. This relationship was also discussed in the previous chapter (notably Figure 5.3).2.Actor to use case—The relationship between an actor and a use case is called an association, also occasionally called "communication" because it represents a communication between the actor and the system. This association is represented by a straight line in Figure 6.1. The association is an interface through which an actor interacts with the system. Occasionally, an association line may have an arrowhead (not shown in Figure 6.1), representing the actor initiating the use case. This direction on the association relationship is only shown if absolutely necessary.3.Use case to use case—There are three specific relationships permitted between two use cases in a use case diagram. They are the include, extends, and inherits relationships, as shown by the three arrows and appropriate stereotypes on them in Figure 6.1. These relationships deserve a detailed discussion, which follows Question: Based on the above, build three separate diagrams depicting the following for a scenario of a library management system: actor-actor actor-use case, and use case-use case. Please and thank you
Relationships in a use case diagram are a powerful
1.Actor to actor—This is the generalization relationship and represented by the inheritance arrow in Figure 6.1. This relationship was also discussed in the previous chapter (notably Figure 5.3).
2.Actor to use case—The relationship between an actor and a use case is called an association, also occasionally called "communication" because it represents a communication between the actor and the system. This association is represented by a straight line in Figure 6.1. The association is an interface through which an actor interacts with the system. Occasionally, an association line may have an arrowhead (not shown in Figure 6.1), representing the actor initiating the use case. This direction on the association relationship is only shown if absolutely necessary.
3.Use case to use case—There are three specific relationships permitted between two use cases in a use case diagram. They are the include, extends, and inherits relationships, as shown by the three arrows and appropriate stereotypes on them in Figure 6.1. These relationships deserve a detailed discussion, which follows
Question: Based on the above, build three separate diagrams depicting the following for a scenario of a library management system:
- actor-actor
- actor-use case, and
- use case-use case.
Please and thank you
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images