How to differentiate include and extend in the use case diagram?

Source: Internet
Author: User

During requirement analysis, complex requirements always make it difficult to find out the relationship before the use case. The generalize relationship is easier to find out, and the most confusing is include and extend. Many people on the Internet do not understand this, or even make mistakes. This article tells you how to determine whether to use include or extend?

After reading it, you will understand. This figure is drawn Using Visio, so uses actually represents include (Microsoft always does not obey the standard ).

1. "include" indicates the relationship between two use cases, that is, include. to execute a use case, you must use and execute another use case. For example, if you want to "make an appointment", you need to "verify the id ". "Verification ID" is required for "borrowing books ".

2. Extend means expansion. A fine (Book expiration) may be paid when a "book return", but not all "return" will be "paid ". After certain expansion conditions are met (expired), another use case is executed.

It can be seen that the use cases of include are mostly the common parts extracted from several use cases. Extend is used to execute other use cases when it meets certain extend points.

Welcome to the discussion!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.