Quantcast
Viewing latest article 24
Browse Latest Browse All 80

Should Login be an included use case in Logout?

I'm researching on Use Case Diagram and have some question to discuss with you. Specifically, I'm wondering about the include relationship in Use Case Diagram. When I read the document of UML organization, I see this line

All of the behavior of the included UseCase is executed at a singlelocation in the included UseCase before execution of the includingUseCase is resumed.

When I read this line, I understand that when the actor want execute the including Use Case, they must do all the included Use Case.
This make me wonder that, in case Login and Logout, if I make the Logout include Login (the following image show that), it mean that I must Login before Logout (Example, I click the Logout button and the system ask me do the Login function before it end my session)

Image may be NSFW.
Clik here to view.
example

I don't know whether I understand the definition of include relationship correctly.


Viewing latest article 24
Browse Latest Browse All 80

Trending Articles