. Generalization (inheritance)Is the commonly understood inheritance relationship, where the child use case is similar to the parent use case, but behaves more specifically, and the child use case inherits all the structures, behaviors, and relationships of the parent use case. A child use case can use a section of the parent use case, or it can be overloaded. The parent use case is usually abstract.Arrow pointing to: pointing to the parent use caseC. Include (include) The include relationship
The various elements of UML are not mentioned here, I just want to talk about the relationship between classes in the class diagram, can understand the class diagram of the lines between the classes, arrows represent what meaning, it is enough to deal with daily work and communication, at the same time, we should be able to express the meaning of the class
Because the actual results of the previous solution were not satisfactory and did not match the initial project reported to the teacher, I switched to the original idea here to continue the game. We still plan to use the unity engine for development, but due to the characteristics of one stroke, this finished product should be a 2D horizontal version of the platform to solve the puzzle class game, the following project is the demand and UML
Class diagrams are the most common UML diagrams used to describe the structural design of a system. These include class relationships and the properties and behaviors associated with each class. Class diagrams can represent an excellent representation of inheritance and composition relationships. To use the class diagram as an efficient communication tool, the developer must understand how to convert the el
This article begins with a discussion of code-level issues. The main feature of Markdown is the design implementation.This article begins with the markdown perimeter code:UML sequence diagrams are obtained from https://github.com/bramp/js-sequence-diagrams copy.When this UML code also uses two JS, function library and drawing.First of all, talk about this JS core class:Https://github.com/bramp/js-sequence-diagrams/blob/master/src/sequence-diagram.jsFi
trufun Plato UML2 modeling toolTrufun Plato is a new generation of UML modeling software that provides efficient and fast modeling tools for your software analysis design.Trufun is a case tool manufacturer that synchronizes the release of uml2.x tools after the OMG release of the UML2.2 specification, and is a state-of-the-art, Enterprise-class UML tool based on the new concept of the Chinese. ? Sequence di
select from the list. Delete the re-Warranty notification without affecting the plan.6. There is an aggregation relationship between cutover notification and request ticket. Similarly, a request ticket can exist independently of a cutover notification. That is to say, the cutover notification is deleted without affecting the ticket.7. Notifications and replies are in a combination. Because the reply cannot exist independently of the notification. That is to say, to delete a notification, the co
arrows can only be nouns or noun phrases, and the entire graph does not reflect the order of execution of the processing.③ generally do not draw material flow. Data flow reflects the data that can be processed by computer, it is not physical, so the flow chart of the target system is generally not to draw material stream.④ has at least one input data stream and one output stream per processing, reflecting the source and processing results of this processing data.⑤ number. If one of the processe
When you use Microsoft Visio to draw a use case diagram today, you find that the include relationship is not found in the Visio UML use case, which is the "arrow" + "Finally, a workable solution was found:First: Open the UML Model diagram, software and database, Microsoft visio-> newThen select "
Document directory
The UML use case diagram contains three relationships: (include), (extend), and (generalization ).
Overview
The Use Case attempts to summarize the relationship between roles and systems in the use case, and describes the functional requirements of the system, the interaction between roles and systems, and the system response.
Official definition: Use Cases define a set of use cases,
The UML diagram and code expression of the relationship between classes and classes in java. If you need it, refer to it. There is a relationship between the class and the class:
Generalization)
Dependency)
Association)
Aggregation)
1. Generalization)
Definition:Represents the inheritance relationship between classes, the inheritance relationship between interfaces, or the Implementation relations
description, we should be clear about the relationship between the various relations and what the code is like, the so-called degree of repetition, it is just an extension above. For example, if a and B have a "one-to-many" repetition degree, there is a list in a that stores n references of object B, that's all.
Now, I have finished the class graph relationship above. I hope you will get something better. I have also spent a lot of time (drawing, generating code, writing to blog, alas, a sweat
as parent and child, animals and tigers, plants and flowers.The code generated by ROSE is as follows:# Include "C11.h"
Class C12: public C11
...{
};
5. Template
Here, by the way, the template
The code for the above figure is as follows:Template Class C13
...{
};
Let's talk about the degree of repetition. In fact, after reading the above description, we should be clear about the relationship between the various relations and what the code is like, the so-called degree of repetition, it is jus
above. For example, if a and B have a "one-to-many" repetition degree, there is a list in a that stores n references of object B, that's all. Now, I have finished the class graph relationship above. I hope you will get something better. I have also spent a lot of time (drawing, generating code, writing to blog, alas, a sweat ). However, it is worth it if you can thoroughly understand the relationships of UML class diagrams. :) ++ ++ In
extension above. For example, if A and B have A "one-to-many" repetition degree, there is A list in A that stores N references of object B, that's all.
Now, I have finished the class graph relationship above. I hope you will get something better. I have also spent a lot of time (drawing, generating code, writing to BLOG, alas, a sweat ). However, it is worth it if you can thoroughly understand the relationships of UML class diagrams. :)
++ ++
In
The UML activity diagram records the logic of a single operation or method, a single user case, or a single business flow. To create a UML activity diagram, perform the following steps repeatedly.
Step 1: define the scope of the activity diagram. First, define the modeling
statements at the common layer once. If you do not need the common layer and the same SQL statements are used more frequently, You need to modify each statement at the time of modification, it is prone to errors.
Layer B is a logical combination of methods in layer D classes to complete a function. It can be said that a specific use case requires a class or method in layer B. Of course, sometimes layer B does not need layer D.
The time sequence diagram
as alternative streams in the parent case.
For example, there may be many tasks that require approval from department leaders in the business, but the approval process is very similar. In this case, 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.
********************************
a lot of computer technology books or articles commonly used in UML class diagram, the author of the book describes each design pattern is the class diagram + Object-oriented language applet ( in C #, its basic knowledge of a different article)+ character dialogue interpretation of knowledge points. This paper introduces the basic knowledge of
UML Class diagram: To understand the class diagram of the lines between the various classes, what the arrow means is enough to deal with day-to-day work and communication, and we should be able to match the meaning of the class diagram to the final code; With this knowledge, there is no problem with the design pattern
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.