Summary of the following four relationships
1. Generalization
2. Aggregation
3. Dependency
4. Join
1. Generalization
Is the integration relationship between the parent class and the Child class.
[Specific performance]
Parent class instance = new subclass ()
[UML diagram] (Fig. 1.1)
Figure 1.1generalized relationship between animal class and tiger class and Dog class
[Code performance]
[Code performance]
From: http://www.yesky.com/SoftChannel/72342393403211776/20040506/1794427.shtml
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 activit
can remember the original to fix a bug did what changes, don't be nervous, as long as you follow the above actions correctly submitted, idea will help you remember these details For example, select the recently submitted Task list, select Switch To,idea to automatically open the source code associated with the task, and navigate to the modified line of code. Of course, if the task is already close, you can also choose Remove to empty it. Second, UML
. Note: The door in "Top level diagram" uses the message arrow to point to the reference fragment, where it is not necessary to draw it as a block.??Partial decompositionAn object can draw multiple lifelines so that messages inside and between objects are displayed on the same graph.State Constants/ContinuationsThe state constant is the constraint of the lifeline, and the runtime is always true. A rectangle displayed as a semicircle on both sides, suc
and is considered an attribute in another local application.(2) The same entity does not have exactly the same attributes in different detail views, or the order of the attributes is not identical.(3) The relationships between entities render different types in different detail views. For example, the entity E1 and E2 are many-to-many links in local application A, but in the local application B is a one-to-many connection, as in the local application of x E1 with E2, and in the local applicatio
definition of sequence diagram:
Interaction is the behavior of a group of messages that interact with a set of objects that implement a goal in a specific context. Sequence diagram is a kind of interaction graph. A sequence diagram is a visual representation of the time order in which messages are routed between objects. Sequence diagrams describe the needs of u
Using Uml-to-java transformations in various versions of IBM Rational Software architect and related software
Introduction: This article shows how to apply the Java transformations included in the Ibm®rational®software Architect for interactive development in the context of the Design Contract Management Protocol (des
Copyright 2003 International Business Machines Corp.
Eclipse corner article
Draw a UML diagram using draw2d
Summary
The graphic editing framework (GEF) operates on draw2d. Draw2d is a plug-in that provides painting and layout management, providing graphics and layout manager for GEF applications to build programs.Graphical presentation layer. This article only focuses on how to use draw2d t
This is a creation in
Article, where the information may have evolved or changed.
Using tool GO-PACKAGE-PLANTUML to analyze the source code of Go project, generate UML class diagram automatically
PLANTUML Tools Introduction
PLANTUML supports converting "text-describing UML class diagrams" to class diagrams in picture form.
Examples of class diagrams use are as
Component diagram, English name Yue: Component diagrams is used to describe the organization and dependencies between a set of artifacts, for the static implementation view of a modeling system, which can be executable programs, libraries, tables, files, and documents, and includes implementation information for logical classes or logical classes. Therefore, there is a mapping relationship between the structure model view and the implementation.
Comp
The idea of the merge development platform: If the activity diagram can run, then the development process of the business logic is approximate to the drawing process.Developed for Merge1.0 scripting:650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/89/46/wKioL1gOoRSxPhHjAAG0iwYg2Dg758.png-wh_500x0-wm_3 -wmp_4-s_1413011658.png "title=" P1.png "alt=" Wkiol1goorsxphhjaag0iwyg2dg758.png-wh_50 "/>Models include:Base part: Start, variable assignmen
understanding of collaboration diagrams, figuring out what the collaboration diagram is capable of, and being able to be an invincible position in the great family of UML, let's take a look at the components of the collaboration diagram and the steps to create a collaboration diagram:
Through the previous study we
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 relationship between interfaces and classes. In
Finally began to refactor, the machine room reconstruction can be said to be a very important at this stage of our small project, because it relates to our time to learn all kinds of knowledge; First we use the knowledge of the soft workers, to do the work of writing documents before development, followed by the UML diagram, and then the main development environment of our refactoring is VS, It involves the
2016-06-07 22:46:16The following is a brief introduction to UML Class Diagram: (figure is intercepted, you can use the UML tools to draw)1. Class diagram describing classClass: PersonProperty: Name Age SexAccess rights:-Private +: Indicates public protected: representsMethod: GetName (): String SetName (name:string) ge
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, you must perform the following steps repeatedly to modify the sixth chapter of the object entry level 2.
Step 1: define the range of the activity
Original: UML class diagram Knowledge collationUML Class DiagramUML, advanced necessary professional skills, can not understand the UML will not understand those excellent information.Here's a simple arrangementRelationship generalization relationship between classes (generalization)
Generalization (generalize): a line represented by a hollow arrow
I
(Dependency)
definition: for two relatively independent objects, when one object is responsible for constructing an instance of another object, or depending on the service of another object, the two objects are primarily dependencies.
performance: dependencies are expressed in
local variables ,
the parameters of methods , and calls to
static methods .
Example: If you're going to screw the screws, do you want to use (ie rely on) a screwdriver (screwdriver)
The interaction diagram is used to describe how objects interact in the system, that is, how a group of objects transmit messages.
An interaction diagram consists of a group of objects and their relationships, including: What objects are required, what messages are sent between objects, what roles start a message, and how messages are sent in what order.
Interaction graph classification:
Interaction graphs
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.