is executed, and the extension use cases are not necessarily executed after the underlying use case is executed, and can be selected for execution or not. For example, when the information in the database is modified, the use case of saving the information is bound to be executed, and in this use case, the use case of retrieving the password is extended: The user's password cannot be forgotten and the password will not be retrieved. The contrast between the two can be understood. There is also
The UML class diagram is the basis for learning the design pattern. Through the UML class diagram, you can better communicate with everyone and easily express your own design ideas. It is like Mandarin, is a standard language.
Currently, there are two popular tools: Rational Rose and Microsoft Visio, both of which are
In UML, the implementation of use cases is specified and described using an interactive diagram. The interaction diagram shows the relationship between objects and the messages processed between objects to model the dynamic characteristics of the system. There are two types of interaction diagrams: sequence
Sort out the relationship between Class digrams in UML, umldigramsWhat is a UML class diagram?
A class diagram shows a group of classes, interfaces, collaboration, and relationships between them. In UML, the problem domain will be
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 class diagrams, Object diagrams, and package diagrams. The class
that emphasizes the organizational structure between objects that send and receive messages. The following image is a process of machine down.
Conclusion: The differences and connections between these graphs are very important.
Sequence Diagram Collaboration diagram
Same point:
(1) are interactive graphs that represent interactions between objects, describe an interaction, consist of a set of
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. Combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there i
array when referencing tire.5. Synthetic relationship (composition) Note that the solid Diamond + solid Line (arrow) is used to connectThe synthesis relationship is stronger than the aggregation relationship, is a strong ownership relationship, embodies the strict relationship
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 aggregation relationships is another form of aggregation relationships, but the lifecycle of a su
create a class drawing cloth for class design by selecting UML class diagram in.Class Diagram creation
You can create a class diagram by using the tool box on the left, demonstrating the relationships of interfaces, classes, and classes: inheritance, dependency, aggregation, and composition. Enum is no
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 int
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 defi
message.Arrow point to: Point to the message receiverB. 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 abstra
, after reading the above description, we should understand the relationship between the relationships and specific to the code is how, so-called repetition, is only the above extension, such as A and B has a "1-to-many" of the repetition, there is a list in a, which holds the B object's n references , that's it.Well, to here, already put the above diagram of the relati
Php design pattern-UML class diagram. Preface I have been using php for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. of course, I should first understand the design patterns before using the design patterns.
I have been using php for more than two years. I have prepared to write frequently-used design patterns based on my own pra
In object-oriented processing. The core of the class diagram, which provides the primary rules for defining and using objects.It is the descriptive description of the class, the interface and the relationship between them, which shows each class in the static structure of the system, the model. First, class diagram1. ClassA class is the basis for a class diagram
From: http://blog.csdn.net/onetree2010/article/details/6197463
In Visio, the relationship between the package and the class is the inclusion relationship. After the class is dragged into the folder of the package, the relationship is established. The binary Association symbol can be set to aggregation and synthesis.Interface: hollow circle + straight line (Tang
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 first design database?
I first design the database,
operations, no operation implementation. In UML, the interface is represented in a way similar to the class notation, as shown in 3:
Figure 3 UML diagram of the interface
Interfaces can also have inheritance and dependency relationships similar to the relationships between classes, but there is also a realization relationsh
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.