Folder:
Views of UML
Nine types of UML diagrams
The relationship between classes in UML
We've covered the UML view above. One or more graphs are included in each view.This article focuses on the details of each diagram in
Unified Modeling Language (UML) is a standard notation for building object-oriented system models. Between 1995-1997 and a half years, UML boarded the stage of the object-oriented programming community and was recognized by the Object Management Organization (OMG) in the late 1997. Although it was initially controversial-because it was put forward in a piece of support and opposition-
Tags: blog HTTP Io ar OS SP data Div on Http://www.uml.org/First, UML-Unified Modeling languageuml defines nine types of diagrams, including four types of structure charts and five types of diagrams:// Four types of structure chart:Class DiagramObject GraphComponent DiagramImplementation Diagram// Five behavior diagrams:Usage DiagramSequence ChartCollaboration Di
Directory:
Views of UML
Nine types of UML diagrams
The relationship between classes in UML
In this article, we present a view of UML that contains one or more diagrams in each view. This article
Preface
In Ooa and Ood, UML has been widely used in system analysis and design. In UML's 9 kinds of graphs, the class diagram is one of the most important and most commonly used graphs. However, in the chat with some friends, especially beginners, I found that many friends have some misunderstandings and puzzles about the function and the method of using the class diagram. So I wrote this article, I hope this article to some extent to help these frien
As a modeling language, the definition of UML consists of UML Semantics and UML notation.(1) UML semantic description precise metadata model definition based on UML. The meta-model provides simple, consistent, and general definitions for all
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, generating code, writing to blog, alas, a sweat ). However, it is worth it if you can thoroughly understand the relationships of
compiled by programmers. Implementation class diagrams and logical class diagrams may be used to describe some of the same classes. However, implementation class diagrams and logical class diagrams do not use the same description attributes.
A class chart is a rectangle divided into three parts. The top part shows th
communicating with others and helping to solve design problems. The important point is that the level of detail in the diagram should be only necessary to achieve the goal. You can draw illustrations with lots of decorations, but that's a way to damage productivity. Make sure the diagram is simple and clean. UML diagrams are not source code and should not be used as a place to declare all methods, variable
In UML, nine kinds of graphs are especially important. After understanding nine kinds of graphs, what is the relationship between the nine diagrams, who first who, who leads who will become the next big problem to consider.
First of all, I summarized a picture, in this picture I combined the development cycle of the software, each phase corresponds to the corresponding
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
Tags: font public service Ted Python simple folder reason nesting history Brief introduction Package diagrams is a description of the relationship between packages and packages, showing the dependencies between modules and modules in the system. A package diagram can consist of any UML diagram that can hold elements such as classes, interfaces, components, use cases, and other packages. A package is a very
separate sequence diagram (a sub-sequence diagram, such as the Process Model Management list), drag the Process Model Management list sub-sequence diagram node onto the current sequence diagram on the model tree, and select the first type "interactive Reference box" in the Popup dialog box:Figure 9When you complete the link sub-sequence diagram operation, a diagram is generated on the current time series diagram.The final effect, as shown in 10, is to click on the icon for the timeline diagram
I. Types of Graphs
As a modeling language, the definition of UML consists of UML Semantics and UML notation.
(1) UML semantic description precise metadata model definition based on UML. The meta-model provides simple, consistent, and general definitions for all
component through the HTTP protocol on the company intranet. The tool runs on the application server named w3reporting.myco.com. This figure also shows that the reporting tool component is drawn inside IBM WebSphere, and the latter is drawn inside the w3.reporting.myco.com node. Reporting tool uses the Java language to connect to its reporting database through the JDBC interface of the IBM DB2 database, and then the interface uses the local DB2 communication mode, communicates with the actual D
The structure of UML is divided into three parts, the basic structure block, the public mechanism, the UML rules, in which the public mechanism and the UML rules are served for the basic building blocks, and describe how to arrange these kinds of graphs with rules. The basic building blocks are divided into things, relationships and graphs, and connecting things
Class diagram is used to describe the classes contained in the system and the relationship between them, to help people simplify the understanding of the system, it is an important product of the system analysis and design phase, but also the system coding and testing important model basis. Let's talk about the composition of the class diagram, and we'll discuss the relationship between class diagrams in the next article.First, the composition of the
think this method is similar to the case where the member function unHtmlEntities () in the HtmlUtils class in C ++ is static, so that you can directly use "class name :: the member function name (HtmlUtils: unHtmlEntities () is called.
This indicates that the message is sent from the View to HtmlUtils. (one-way transmission), and the message can also be sent in two directions.
ErrorMsg) ;}} class SomeClass {var $ errorMsg = This is an error message; function someFunction () {if (DEBUG = 1) {
$errorMsg = ' This was an error message ';
function SomeFunction () {
if (DEBUG = = 1) {
Debug::d isplay ();
}
}
}
Define (' DEBUG ', 1);
$someClass = new SomeClass;
$someClass->somefunction ();
?>
[Output information: "This is an error message"]
Here SomeClass sends a message to Debug,debug to access the $ERRORMSG property of SomeClass.
[Resources Resource]
Introduction to UML from the Object Management Group
Posideon
Various diagrams in UML are an important part of the UML model. In recent articles, I will introduce nine important diagrams in UML. The general content is shown in the following directory.
1. use case diagram, class diagram, and object Diagram
2. Sequence diagram and collab
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.