Baidu, look at the review good I collected, study, really do not understand!!!The first is to review the UML in the understanding of nine kinds of diagrams: http://xhf123456789plain.blog.163.com/blog/static/172880482201192222144421/Picture use case diagram: http://xhf123456789plain.blog.163.com/blog/static/172880482201192221826110/The following is an example of a class
The first is to review the UML in the understanding of nine kinds of diagrams: http://xhf123456789plain.blog.163.com/blog/static/172880482201192222144421/Picture use case diagram: http://xhf123456789plain.blog.163.com/blog/static/172880482201192221826110/The following is an example of a class diagram (as if it were in
Teach () {
......
}
}
4. Interface and Implementation relationshipIn many object-oriented languages have introduced the concept of interfaces, such as Java, C #, etc., in the interface, usually no attributes, and all operations are abstract, only the operation of the Declaration, there is no implementation of the operation. UML represents an interface in a manner similar to the representation of a class
UML defines the following 5 categories, 10 model diagrams.
The first class is the use case diagram, the use case diagram describes the function of the system from the user's point of view, and points out the operator of each function.
The second category is static diagrams, including
Tags: style blog HTTP Io color OS SP strong File
Class Diagram(Class digoal)Introduction
Class graph is an important tool for business structure modeling, and is an important tool for Object-Oriented Analysis (OOA, object-orie
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
class. In an aggregation relationship, the subclass instance can be longer than the parent class. to present an aggregation relationship, draw a solid line from the parent class to the partial category, draw an unfilled prism at the end of the parent class association.
2. Combined Aggregation
A combination of aggrega
Relationship between classes (1)In a software system, classes do not exist independently. Classes and classes have various relationships. for different types of relationships, UML provides different representations.1. AssociationAssociation is the most common relationship between a class and a class. It is a structured relationship used to indicate the relationsh
Unified Modeling Language (UML. It includes the following important functions:
Visualizing)
Specifying)
Construting)
Document creation (documenting)
UML includes:
User case diagrams)
Class Diagrams)
Sequence Diagram (sequence diagrams)
Collaboration diagrams)
Activity d
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the important type of system coding and testing basis.How
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
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
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, gen
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
There are many tools for painting class diagrams. I have learned how to use staruml to draw class diagrams. However, this tool is used in Java. For vs programming C ++, I personally feel that Using Visio is better. The following uses a block class in the previous Tetris game as an example to describe it.
1
Get the analysis finished product demand is the line design UML (with class diagram) or the first design database?
Reply content:
Get the analysis finished product demand is the line design UML (with class diagram) or the fir
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the narrative system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the system coding and testing of the important
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 interpreta
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 com
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.