Search code examples
includeumluse-casestaruml

Can I include a use case multiple times.. true?


 -------

Is my work right? the include many time can be a probleme where ? and how i fix it ?


Solution

  • UML allows a use case to be included by any number of other use cases (including 0).

    But in your diagram none of your includes are valid.

    UC1 - - - -<<include>> - - ->UC2 means each time UC1 is executed then UC2 is executed too, and this is not the case for you :

    • very probably to search a company can be done alone, without having to search for a product too
    • it is not needed to accept the localisation when searching for a product. May be for a delivery but not for a search
    • to accept the localisation cannot ask for the authentication each time, probably the authentication is a precondition of several use cases but it must be done one time
    • to see the localisation on the map cannot request the permission each time, the permission is a precondition and if needed it must be done one time

    You have to look at the extension