Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8967275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:12:23+00:00 2026-06-15T17:12:23+00:00

I am trying to make a use case diagram for library management system. I

  • 0

I am trying to make a use case diagram for library management system. I have two actors admin and user.

Now, the admin has three functions manageCategories (of books like history, geography etc.) manageUser and manageBooks..

What I am doing is considering these 3 functions in a single function manage i.e manage is a single use case.

How should I consider the three functions managerUser, manageBooks, manageCategories in the diagrams?

Should I use include or extend the three functions in a single use case manage, or use anything else?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:12:24+00:00Added an answer on June 15, 2026 at 5:12 pm

    Edited after the corrects comments of @vainolo about the included use case confusion in my answer:

    If the manage use case needs the callable use cases (managerUser, manageBooks, manageCategories) in order to make sense (produce value) for the main actor, then you should use the include relationship.

    If the actor can complete the manage use case executing zero or all three of the callable use cases (managerUser, manageBooks, manageCategories) then you should use the extend relationship and you may specify the extension point conditional statements for them.

    If the manage use case is a container used to organize the three callable use cases which can be executed independently, then I’d modelize manage as a Use Case Package containing the three use cases rather than a use case per se.


    Please find the following excerpt from that post about the NOT mandatory execution of an included use case (as correctly pointed out by @vainolo):

    Point 5: Inclusion use cases may be optional

    A UML superstructurestatement Section 16.3.5 of 2 states:

    “Note that the [inclusion] use case is not optional, and is always
    required for the [base] use case to execute correctly.”

    Cause for confusion

    Some seem to interpret this to mean that an inclusion use
    case must be performed during each and every execution of a base use
    case.

    Nothing is further from the truth and the truth is simple.

    The simple truth

    Whether an inclusion use case is mandatory or
    optional to a base use case depends on where in the base use case the
    fragment was defined that is now replaced with an include statement
    for the inclusion use case.

    If that fragment was part of the base use case’s unconditional flow
    (steps that always get executed), the inclusion use case is mandatory.
    If that fragment was part of a conditional flow (steps that get
    executed optionally), the inclusion use case is optional.

    So what does the UML statement mean?

    The purpose of the UML statement seems to
    be to contrast the include relationship with the extend relationship,
    as follows.

    At an extension point (not for the entire base use case), the
    extension use case’s execution is optional.

    When the execution of a base use case reaches an extension point, an
    extension use case may or may not be inserted, because there may be a
    condition attached to the extend relationship. However, at an
    “inclusion point” (not for the entire base use case), the inclusion
    use case’s execution is mandatory.

    When the execution of a base use case reaches an inclusion point
    (i.e., an include statement in the base use case), the inclusion use
    case will always be performed, because there is no provision for
    attaching a condition to the include relationship.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make a use-case to my project but i have some
So I'm trying to make a combobox use a string that has other strings
I am trying to make my application to use lookaside lists for memory management.
I'm trying to use a case statement to make some code more readable. It
Can the form-login tag make use of URLs to external resources? I have two
I am trying to make use of jQueryUI AJAX tabs in my ASP.Net Webforms
I'm trying to make use of Vexflow ( http://vexflow.com/ ) on the Android. However,
I'm trying to make use of parallel processing with the wordnet package for R
I'm writing some error checking and trying to make use of an boolean array
I am in the process of evaluating FindBugs and am trying to make use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.