Software Modeling learning experience

Source: Internet
Author: User
User definitions in the system are not specific to people,
It is used for anything in the operating system.
The role concept must come from the human concept, but it does not mean that it must be assumed by a person!
For example:
The role of the reviewer in the library management system,
The examiner is responsible for checking the validity of all library books,
However, people do not assume this role, because too many books need to be verified, so the system itself assumes this role.

This is a user in UML.
It is not a user, but whether it can benefit or contribute to the system.

Software Modeling Step 1:
Describe the system based on the customer's needs, extract the terms of the description text, and determine the classes that may be used.
Define User Roles Based on beneficiaries and contributors.
Establish associations between classes based on actions of beneficiaries and contributors.
Determine the message transmission between classes.

Step 2 of Software Modeling:
Abstract class to improve the abstract relationship between classes and establish a more rational relationship between classes
What is a class and what class is used for a class?
Is
Use
Relationship
Inheritance and combination .....
It is recommended that you do not use the inheritance mode. Even if the inheritance mode is used, you do not need to inherit classes but interfaces.

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.