Recently has been learning the basic knowledge of UML, after watching the video, and did not have a good summary, in the process of drawing found a lot of problems, the following is the process of reading their own summary of the UML use case diagram of a little knowledge, share with you.
First, the concept
A use case diagram
UML class diagram
Explain UMLClass diagram:
1.
first, check the rectangle of "animal". It represents a class. This type of graph is divided into three layers. The first layer displays the name of the class. If it is an abstract class, it must be displayed in italic. The second layer is the class features, usually fields and
The use case diagram is used to describe the relationship between users, requirements, and system functional units. It shows a system functional model diagram that can be observed by external users.
[PURPOSE]: help the development team understand the functional requirements of the system in a visual manner.
The use case diagram contains the following elements:
Class diagramThe class diagram shows the construction module of the object-oriented system. Depicts a static view of a model or part of a model, showing the properties and behaviors it contains, rather than describing the function or refinement of the operation in detail. Class diagrams are most commonly used to express relationships between multiple classes and interfaces. Generalization (generalizations), aggregation (aggregations), and association
UML Use case diagram
A use case diagram is the first step in the analysis of software requirements to the final implementation, which describes how to use a system. A use case diagram contains 6 elements: actors, use cases, association rela
diagram.The following fragment types can be used to change this interpretation:
Fragment type
Name
Description
Consider
Consider
Specifies the list of messages described by this fragment. Other messages can occur on a running system, but this is not a very meaningful description.Type the list in the Messages property.
Ignore
Ignore
A list of messages not described in this fragment. These messages can occur in a running syst
diagram.The following fragment types can be used to change this interpretation:
Fragment type
Name
Description
Consider
Consider
Specifies the list of messages described by this fragment. Other messages can occur on a running system, but this is not a very meaningful description.Type the list in the Messages property.
Ignore
Ignore
A list of messages not described in this fragment. These messages can occur in a running syst
diagram.The following fragment types can be used to change this interpretation:
Fragment type
Name
Description
Consider
Consider
Specifies the list of messages described by this fragment. Other messages can occur on a running system, but this is not a very meaningful description.Type the list in the Messages property.
Ignore
Ignore
A list of messages not described in this fragment. These messages can occur in a running syst
Class diagram, the British Civilization Yue: Class diagram, then the class is after how magical transformation, into a class diagram? As we all know, classes are descriptors of a set of objects with similar structures, behaviors, and relationships, classes are the most important building blocks in object-oriented systems, and class diagrams show a set of classes,
UML class diagram relationships include association, aggregation/combination, dependency, and generalization (inheritance ). The Association is divided into two-way Association, one-way Association, and self-Association. Let's take a look at what these relationships are and what their differences are.
1. Association
Bidirectional Association:C1-C2: both parties know the existence of the other side, can call
is not possible to change the implementation inherited from the parent class at run time. To make things worse, the parent class usually defines at least part of the behavior of the subclass, and any changes to the parent class can affect the behavior of the child class. If the inherited implementation is not suitable for solving the new problem, the parent class must be overridden or replaced by another more appropriate class. This dependency limits flexibility and ultimately limits reusabilit
, the general relationship can be expressed as follows:
The above is an article I have referenced. I think the difference between the three relations is very clear. Based on this, I will combine my own system to explain the project (Online Shopping System) as a whole.**************************************** *************************(1) overall system use case diagram
Follow the overall use case first, and then the subsystem use case to describe it
UML class diagram relationships include association, aggregation/combination, dependency, and generalization (inheritance ). The Association is divided into two-way Association, one-way Association, and self-Association. Let's take a look at what these relationships are and what their differences are.
1. Association
Bidirectional Association:C1-C2: both parties know the existence of the other side, can call
At the beginning of the painting is really tangled, at that time was forced to draw under the master, but it is also good, in the strong request of master, I learned how to use the EA, but also for a learning a new software has a better way to find some video, or text materials to help us learn to use the new software.Each time the drawing has a new understanding, after this and the regulation of the consolidation of software requirements have a deeper understanding, we have so many layers is to
Use Case Diagrams are used to determine the scope of requirements. These requirements are the basis for design and development. The use case diagram treats the system as a black box and understands the system from the perspective of external executors. As shown in Figure 12.2, the use case in the figure is a typical scenario between the user and the computer.
Figure 12.2 use case diagram
as an inheritance relationship. Child cases are similar to parent cases, but show more special behaviors. Child Cases inherit all structures, behaviors, and relationships of the parent case. A child use case can use a behavior of the parent use case or reload it. The parent case is usually abstract.
[Arrow pointing]: pointing to the parent use case
C. Include)
The include relation is used to break down the Functions Represented by a complex use case into smaller steps.
[Arrow pointing]: points
multiple links1Written by one party1, Write by multiple partiesN;
Multiple-to-many relationships are written in the direction of the two physical connections.N, m
UML:
The first use case diagram (Use Case digoal)
The second type is static digraphs, including class graphs, object graphs, and packet graphs.
The third type is the behavior diagra
ArticleDirectory
Types of products, such as artificial intelligence, artificial intelligence, and artificial intelligence.
Reference (REF)
Conditional differentiation (ALT)
Conditional judgment (OPT)
And column allocation (PAR)
Loop)
Break)
Please wait until there are too many critical errors (critical)
Snapshot has been created (assert)
The specifie
. For this long square lattice, I have never understood what it actually means. I encountered an open-minded explanation on "Baidu Encyclopedia:You can think of activation as a "{}",From the beginning to the end, it can be understood as a method, an action;
The lifeline is used to describe the time when an object exists. Add the destroy symbol below to delete the object or recycle the object. It is actually a Roman's dragon nest. When it's done, let's leave.
There are four types of messages, but
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.