UML modeling, it is important to understand the elements that appear on the class diagram. The developer must understand how to convert the elements appearing on the class diagram into Java. With Java as the representative of some examples of the Internet, here are some basic personal collection and summary: Basic element Sy
inheritance relationships between classes and interfaces. Figure H
650) This. width = 650; "src =" http://pic002.cnblogs.com/images/2012/285763/2012061315050938.gif "style =" margin: 0px; padding: 0px; Border: 0px; "/>
1.1.6 implementation (realization): Expressed by hollow arrows and dotted lines
Instance (FigureI) Link specifies a contract between two entities. In other words, one entity defines a contract, and the other entity guarantees the performance of the contract. When modeling Java
relationship between a class and a class, and an inheritance relationship between an interface and an interface. Figure h1.1.6 Implementation (realization): Hollow arrow and dashed line representationThe example ( figure I) relationship specifies a contract between two entities. In other words, one entity defines one contract and the other guarantees the performance of the contract. When modeling a Java application, the implementation relationship can be expressed directly with the implements k
in Java.
The difference between Association and aggregation is purely conceptual and strictly reflected in semantics. Aggregation also implies that there is no loop in the instance diagram. In other words, it can only be a unidirectional link.
Figure F
Composition)
Synthesize (Figure G) Is a special form of aggregation, suggesting that "local" is responsible for the lifetime of the "whole. Synthesis is not shared. Therefore, although local data may
Class diagram, object diagram, role diagram:
I. Basic Graph categories in UML:In UML 2, there are two basic graph categories: structure diagram and behavior diagram. Each UML
Choose a few UML common diagram, tidy up, convenient for their own inquiries
Most of them are due to the designer exam, the examination is not dedicated to the use of spray;
Class diagram example Class Diagrams:Implementation: Class implementation interface, [performance] ImplementsGeneralization: Class inheritance class, [performance] extendsCombination: A spec
of the system can make good use of the diagram.
The symbols in the deployment diagram include the symbol elements used in the component diagram, and several symbols are added, including the concept of nodes. A node can represent a physical machine or a virtual machine node
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, 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
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
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
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
Http://www.cnblogs.com/zhaolijing/archive/2013/02/28/2936321.html UML use case diagram-detailed tutorial
I. Definition of use case diagram:
ByActors and Use Cases)And the relationship between themDescribe system functionsThe dynamic view of is called the use case diagram. Draw a participant (representing a system
Data Center reconstruction (1) -- UML diagram, Data Center reconstruction -- uml diagram
Finally, we started restructuring. Data Center reconstruction is a very important small project at this stage, because it involves all kinds of knowledge we learned during this time. First, we used the knowledge of softwares, write
UML class diagram and uml class diagram
I. First of all, I declare that the learning of UML class diagrams refers to the example in "big talk Design Pattern" for personal learning and does not involve anything else.
2. paste the Big Bird's
example, the candidate objects include customer and order. Therefore, the customer class and order class models are constructed in the class diagram. These may be traditional object-oriented classes, or non-object-oriented classes such as ASP pages, database tables, or COM + components.
The UML class represents a rectangle, as shown in 3-6. The figure shows that this class has some attributes (customerid
It is now February, And now you may have read or heard people talk about the changes made in UML 2.0, including the new specifications of several progressive UML. Considering the importance of the new specification, we are also modifying the basis of this article series to focus our attention on the omg uml 1.4 specification, the transfer to OMG has adopted the d
, in UML 1.4, there is a large square with two protruding small blocks on the left to represent components.
Figure 1: This simple component diagram uses the UML 1.4 symbol to display the General dependency of order system.
The above UML 1.4 symbols are still supported in
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.