Lecture 2 - Advanced Use Case Modeling
Lecture 2 - Advanced Use Case Modeling
ECE 621
Association relationships only show which actors interact with the system to perform a given use case Association relationship DO NOT model the flow of data between the actor and the system A directed association relationship only shows if the system or the actor initiates the connection
Association Relationship
Abstract use cases cannot be performed Abstract use cases only provide partial behavior and thus they need to be implemented
Generalization Relationship
Child use case provides a specialized version of the behavior in the parent use case. The generalization relationship are used to implement an abstract
Generalization Relationship 2
The Buy Tickets use case is concrete because it can be performed all by itself
Include Relationship
Extend Relationship
Extension use cases usually contain behavior that it optional or exceptional Extension use cases are usually performed upon a condition being satisfied
Extension Points
Extension points state where the behavior in the extension use case is inserted into the base use case.
Sample Template
Use Case Name Preconditions: Things that must be satisfied first
Basic Flow: normal scenario Alternative Flows: slight deviations Sub Flows: repetitive behavior Exception Points: where will the extension behavior be inserted Postconditions: things that must be satisfied before leaving Special Requirements
If the System cannot find the required seats, then Customer is notified and the use case ends If the Customer rejects the offered tickets, the use case ends If the Customers payment information cannot be verified, the Customer is notified to contact customer service and then the use case ends
After the Customer enters the information regarding the requested seats; the system the systems first checks to see if there are any tickets in the given section; then the system checks if there are any consecutive seats as there is the required number of tickets.
Extension Points: Whenever team merchandise is purchased and a ticket is entered for a chance to win