In the process of learning UML class diagram, UML class diagram relation is a problem that must be mastered, and there are six kinds of relationships in UML definition: dependency, genus, association, implementation, aggregation and combination. The definitions and representations of the methods are described below.Introduction to
The 14th chapter uses UMLBefore exploring the details of UML, we should first talk about when and why to use it. The misuse and misuse of UML has caused too much harm to the software project.14.1 Why ModelingModeling is to figure out whether something is feasible. When models are much cheaper than real entities to build, we use models to study designs.14.1.1 Why build a software modelUML is used when we hav
UML State diagrams and activity diagramsThe Unified Modeling Language UML (Unified Modeling Language) is a non-patented third-generation modeling and specification language. UML is an open approach for explaining, visualizing, building, and writing an open approach to an object-oriented, software-dense system of artifacts. UM
Recently, the book "Elephant" has been read, from last November to the present, for a full five months.
On the one hand, because of the work of this period of time, life things are more, very little time to read the whole block;
On the other hand is also reading this book, while reading the side of the expansion, the last recorded 13 notes.
Elephant Thinking in UML learning Note (a)-why UML is required.
"
This articleArticleNice http://technoboy.iteye.com/blog/998458 too
=======================================================
In fact, I have always thought that UML is a very useless thing and never learned much. It is enough to look at the UML diagram drawn by others occasionally. Dramatically, I have seen the most UML companies (actually the only one) and the
First, as a modeling language, the definition of UML includes two parts of UML semantics and UML notation. UML semantics: Describes the definition of exact meta-model based on UML. UML notation: Defines the representation of
Eclipse Plugin amaterasuml (: https://zh.osdn.net/projects/amateras/releases/#21568) Unzip and put it under the Plugins folderInstall the GEF prior to installing AMATERASUML (Eclipse Online installation, reference: http://www.cnblogs.com/xiluhua/p/6667935.html)Eclipse-file-new-other still does not appear amaterasumlThe workaround is: (Ref.: http://www.cnblogs.com/lost-in-code/archive/2012/12/11/2812357.html)1. Open the command line to the current Eclipse directory, enter Eclipse-clean, and resta
there is no loop in the instance diagram. In other words, it can only be a one-way relationship.
Figure F
Synthesis (composition)
Synthesis ( fig. G) is a special form of aggregation, implying "local" within the "whole" life-cycle responsibility. Synthesis is also not shared. Therefore, while the part does not necessarily have to be destroyed with the destruction of the whole, the whole is either responsible for maintaining a partial survival state or for destroying it. Local cannot be shared w
is, object a relies on object B to complete an operation, so is this relationship also an "association"?
Personally, this does not belong to an "association relationship". Because of the three relationships we mentioned above, each of these relationships, in addition to being a fixed relationship, has an important characteristic that these relationships need to be "persisted, preserved".
A dependency is just a reference (or invocation) relationship between an object and an object, which occur
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.
Component diagrams can also include or subsystem,
Package diagrams is a combination of model elements that are represented in UML in a notation similar to a folder, each element in the system can be owned by only one package, one package can be nested in another, and a package diagram can be used to classify the related elements into a system that contains a package, chart, or individual element. In simple terms, we can directly understand the package as a namespace, a folder, is used to organize the
the relationships between classes
Inheritance Relationship
An inheritance relationship is the most understandable relationship. The picture is like this. The object-oriented argument is the is-a relationship. That is to say Class2 is a Class1. In C + + we say that Class2 is a derived class of Class1, or that Class1 is the base class for Class2.
Aggregation and Composition
Start with a relationship that is easy to understand. There is often a case where a class is a data member of another class.
In the nine diagrams of UML, the class and object graph are static graphs, and the reaction is the static process of the system.
The class diagram is described earlier, and the following is the object graph.
One, the object graph summary
Two: Object Graph example
The object graph is concrete, and the class diagram is abstract. such as the admin class in the class diagram.
The straight line object belongs to the shape class and consi
UML Implementation diagram includes: Deployment diagram, Component diagram
Component diagram describes the main functions of a system from the perspective of software architecture; The deployment diagram describes the structure of the system runtime and the mapping between software and hardware.
The following figure is a summary of the implementation diagram:
Three: Description
Component diagrams: Describes the physical structure o
edit_tag_time
date"
sysdate {data record creation date}{}{}
catalog metadata
file_cataloguemetadata
catalogueid
catalog number
varchar2
50
no
Yes
{catalog number}{}{}
file_catalogue
id
catalog metadata
file_cataloguemetadata
metadataid
meta Data number
nvarchar2
50
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 assignment, judgment, end,Extended sections: External
Label: style blog HTTP Io OS ar use SP strong Basic concepts of UML
UML Overview
Introduction to UML
UML provides a unified, standard, and visual modeling language for Object-Oriented software design. It is applicable to the whole process of describing case-driven, architecture-centered software design.
The defi
From: http://developer.51cto.com/art/201006/204029.htm this article writing time:
[51cto exclusive Article] UML is intended to become a standard unified language, so that IT professionals can perform unified modeling of computer applications. The unification of UML can break the common language and cultural barriers in the offshore development process, and alleviate problems such as insufficient understand
The drink remodeling series has been completed by about 1/3, and in these articles I used a few simple class diagrams to describe refactoring strategies. In a later article, I might use a slightly more complex UML class diagram to introduce. But before I do, I think it's necessary to introduce the 6 major relationships in UML class diagrams first. The 6 major relationships are inheritance (inheritance), imp
Visio drawing UML diagramsUse Visio tips this uml shape's drawing page is not part of a UML model diagram how can i solve this problem?New, select drawing type, select software and Database template, select UML Model diagram, NOTE: You may not be able to edit shape text if you do not select
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.