relationship that is represented in UML with a solid line with arrows pointing to the contained class. In the you may find that there are 1 online. 1, this is a description of the inclusion relationship. There are several types of UML classes.1..1 表示另一个类的一个对象只与该类的一个对象有关系0..* 表示另一个类的一个对象与该类的零个或多个对象有关系1..* 表示另一个类的一个对象与该类的一个或多个对象有关系0..1 表示另一个类的一个对象没有或只与该类的一个对象有关系* 任意多个对象关联Aggregation (Aggregation) relationshi
Http://www.uml.org.cn/oobject/200901203.asp
UML practice-use case diagram, sequence diagram, state diagram, class diagram, package diagram, and collaboration Diagram
Author: Randy M
The key to dealing with object-oriented problems is modeling. Modeling can abstract many important details in the complex world. Many Modeling tools encapsulate UML (that is, uniied Modeling Language ).
There are nine types of modeling icons in UML:
Use case diagram
Class Diagram
Object Graph
Sequence Chart
The key to dealing with object-oriented problems is modeling. Modeling can abstract many important details in the complex world. Many Modeling tools encapsulate UML (that is, the Unified Modeling Language). This course aims to show the highlights of UML.
There are nine types of modeling icons in UML:
Use case diagram
actually a class diagram.
② Behavior diagramThere are 5 behavior graphs:(1) usecasedi.pdf)The UML diagram uses a condition chart to organize the behavior of the system, describing a group of conditions, participants, and their relationships. The condition chart is used to describe the static usage view of the system.
(2) sequencedigoal and collaborationdigoal)In
UML static view-class diagram, object diagram, package diagram, and uml package diagram
The most important thing to draw a class chart is to abstract the class and first recall the basic content of the class.
I. Category
1. Concep
system. 2. The difference between the activity diagram and the state diagram:① describe objects differently
State diagram: describes the transition between the state of an object and its state;activity diagram: describe
of being able to add multiple abstract methods with stronger representation capabilities.
3) Association class
Like a class, association can also have its own attributes and operations. In this case, this association is actually an association class.
An association class is both an association and a class. It connects two classes like an association, and can define a group of characteristics that belong to the association itself.
Note: you can create an association class only when the objects
passed between the object classes that complete a behavior and those object classes. A sequence diagram is an interaction diagram that emphasizes the time order of messages. A sequence diagram describes the chronological order in which messages are sent between objects, and is used to represent the order of behavior in a use case.
sequence
continue today to see the diagrams in the UML basic building blocks. a diagram of a UML basic building block A diagram of a UML basic building block is an abstract description of the system in a specific perspective. A graph is the classification of a collection of things,
objects differently
State diagram: describes the transition between the state of an object and its state;activity diagram: describes the control flow from activity to activity.
② different use occasions
State diag
Original: http://www.cnblogs.com/way-peng/archive/2012/06/11/2544932.htmlFirst, what is UML? What's the use of UML?Ii. History of UMLThird, the upper structure of UML (superstructure)Iv. UML Modeling ToolsV. Diagram of UML (emphas
Not many computer players have not learned much, but with the continuous development of the project, those who have never seen before, and those who have never used them are all about to start learning. Although I have heard of UML for a long time, I have never read this book and have never used this tool. The class diagrams of UML are also unknown. Basically, I
interaction between different objects. This interaction typically manifests itself as a series of messages between different objects.Component diagrams help visualize the high-level structure of a software system.A class diagram describes an object in an application system. This description does not refer to any particular implementation of the system itself.A hierarchy diagram is used to describe the logi
UML-united modeling language, unified modeling language-is an object-oriented visual modeling language. UML uses a set of visualized graphical symbols (such as class diagrams) as the modeling language. These symbols can be used to visually describe all aspects of the system. UML describes a model by establishing various relationships between graphs (such as the r
, W runs in the application process, and winstate exists with the system Server process.1.5 Aggregation aggregations express the dependencies of two classes, but unlike composition, their lifecycles are different. A classic example is the factory and the car, the factory built, the factory closed, the car can continue to open, and vice versa. Policymanager and Phonewindow are similar relationships in the diagram.1.6 Inherritance is the most common i
Prefaceafter learning the UML time series diagram, we need to look at the UML collaboration diagram, because the two graphs are complementary. definitiondescribe the relationships between objects of mutual cooperation and only model the relationships between objects interacting with each other. compositionObjectat the
addition to providing a graphical border, framework components used in graphs also have important functions to describe interactions, such as sequence diagrams. In a sequence diagram, a sequence receives and sends messages (also known as interactions). A model can be established by connecting the message and the Framework Element Boundary (see figure 2 ). This will be described in more detail in the later section "Beyond basics.
Figure 2: A Sequence
closed rectangle.
Figure 1: Empty UML 2 framework component
In addition to providing a graphical border, the framework components used in graphs also have important functions to describe interaction, such as sequence diagrams. In a sequence diagram, a sequence receives and sends messages (also known as interactions). A model can be established by connecting the message and the Framework Element Bound
This essay is well written, in PHP to explain the UML (or vice versa) can be said to be an innovation, through this article, I also found a good station: www.phppatterns.com. The translation of the UML terms comes from the UML User Guide (the Unified Modeling Language user Guide) that I am looking at.
UML (Unified mod
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.