Posts

Showing posts with the label UML 2

UML - Use Case Diagrams

Image
In this article, I will explain some facts you should know when drawing Use Case Diagrams; using an example of an Online Hotel Reservation System . First, let's see what are the functional requirements of the system. Should be able to search hotels. Should be able to make a reservation. Should be able to make the payment. Should be able to validate the credit card. Should be able to issue payment confirmation receipts. Should be able to cancel the reservation. We get functional requirements as use cases of the system . Use cases are represented in an oval shaped symbol. Therefore our use cases are, Then we should identify the actors of the system to be designed.In this example, there are two such actors, Customer Payment Gateway Primary actors are the main users of the system, in our scenario, it is the Customer and Secondary actors are other users including external systems, here it is the Payment Gateway. Actors are represented...