applications, such as class inheritance, abstraction, interfaces, and various associations. To use UML to design Java applications, we only need to use class diagrams to describe these static relationships. Using visual tools, we need to implement automatic generation of Java application code. We must also describe the cooperative and dynamic relationships among
Classes (Class)
A rectangular box is used in UML to represent a class. Class diagram is divided into three layers, the first layer displays the class name, and if it is an abstract class, it is shown in italics. The second layer is the attributes of the class, usually the fields and properties. The third layer is the operation of the class, usually the method or the behavior. Note the preceding symbol, ' +
language for software engineering, which describes the system's class collection, the class's properties, and the relationships between classes. To help people to simplify the understanding of the system, it is an important product of the system analysis and design stage, and also is the important model basis for system coding and testing. Learning to draw a good class diagram is a skill that a qualified software engineer should have.UML Diagrams for
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
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 commu
Class diagrams are the most common UML diagrams used to describe the structural design of a system. These include class relationships and the properties and behaviors associated with each class. Class diagrams can represent an excellent representation of inheritance and composition relationships. To use the class diagram as an efficient communication tool, the developer must understand how to convert the el
The UML diagram and code expression of the relationship between classes and classes in java. If you need it, refer to it. There is a relationship between the class and the class:
Generalization)
Dependency)
Association)
Aggregation)
1. Generalization)
Definition:Represents the inheritance relationship between classes, the inheritance relationship betwee
array when referencing tire.5. Synthetic relationship (composition) Note that the solid Diamond + solid Line (arrow) is used to connectThe synthesis relationship is stronger than the aggregation relationship, is a strong ownership relationship, embodies the strict relationship between the whole and the part, it requires that the general aggregation relationship represents the whole object is responsible for representing the life cycle of the part of the object, or their life cycle.class bird{
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
(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 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
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.