Quantcast
Channel: Active questions tagged use-case - Stack Overflow
Viewing all articles
Browse latest Browse all 82

Should Login be an included use case in Logout?

$
0
0

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)

example

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


Viewing all articles
Browse latest Browse all 82

Latest Images

Trending Articles



Latest Images