Relationship in the use case diagram

Source: Internet
Author: User

The use case diagram in UML describes user requirements, describes system functions from the user's perspective, and points out the executors of various functions, emphasizing who is using the system and what functions the system executors are performing. It is mainly used in the requirement analysis stage to describe the functional requirements of the system to be developed.

Link:

There are five relationships in the use case diagram: Association, generalization, inclusion, expansion, and dependency. That is:

Association ):

Communication between participants and use cases. Any Party can send or accept information.

Arrow pointing to Message Receiver

Generalization (inheritance ):

Also known as inheritance relationships, child use cases are similar to parent use cases, but show more special behaviors. Child use cases inherit all structures, behaviors, and relationships of parent use cases. A sub-use case can be a behavior of a parent case or be overloaded.

Arrow pointing to parent use case

Include ):

It is used to break down the Functions Represented by a complex use case into smaller steps.

[Arrow pointing] decomposed functional use cases

Extended (extend ):

It refers to the extension of the use case function, which is equivalent to providing an additional function for the basic use case.

Arrow pointing: Basic use case

Dependency ):

[Arrow to] dependent items

Include, extended, and inheritance:

1. subcases in generalization and included cases occur unconditionally, while extended use cases in extension are conditional.

2. Use Cases are used to provide services for the role (actor). They are provided directly and indirectly. Extended use cases and extended use cases in generalization provide direct services for the role, the included use cases provide indirect services for the role.

3. for extension, it does not include the basic Use Case content, and the basic Use Case content is not extended. For generalization, A subuse case contains all the content of the basic use case.




 

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.