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 bas
This essay is good, the use of PHP to explain the UML (or conversely) can be said to be an innovation, through this article, I also found a good station: www.phppatterns.com. The translation of the UML terms comes from the Unified Modeling Language User Guide, which I am looking at. UML (Unified Modeling Language, Unified Modeling Language) is a mechanism for rep
UML-united modeling language, unified modeling language-is an object-oriented visual modeling language. UML uses a set of visualized graphical symbols (such as class diagrams) as the modeling language. These symbols can be used to visually describe all aspects of the system. UML describes a model by establishing various relationships between graphs (such as the r
Introduction
The learning of UML started on the 3rd and ended on the evening of the 13th. Today (Nov 14), I reviewed UML and refined the following learning tasks. The overall learning of UML is similar, but there are still many areas to be improved.
Learning Process
At the beginning of UML learning, I first spent half
first, the basic concept
UML as a unified Modeling language, is a model of language, then the model is mainly used to represent, this time naturally generated UML diagram. UML mainly consists of basic building blocks, rules and public mechanisms, in which the basic building blocks consist of things, relationships and
1, what is UML
UML class diagrams can quickly examine code structures.
2. Theme
The use of UML class diagrams in Pycharm.
3. Preparation work
(1) Pycharm version is 2.7 or higher
(2) Installing the Python Interpreter
(3) UML Plug-ins and UML class
In software systems, classes do not exist in isolation, there are various relationships between classes and classes, and UML provides different representations for different types of relationships.1. Related relationshipsAn Association (association) relationship is the most common relationship between a class and a class, and it is a structured relationship that is used to indicate that a class of objects is associated with another type of object, suc
, generalization (generalization):is a class (called a subclass, sub-interface) that inherits the functionality of another class (called a parent, parent interface) and can augment its own new functionality, which is the most common relationship between classes and classes or interfaces and interfaces, and in Java such relationships are explicitly identified by the keyword extends. Represented by an implementation with a hollow arrow. "Other relations
repetition, there is a list in a, which holds the B object's n references , that's it.Well, to here, already put the above diagram of the relationship is finished, I hope you can have some gains, I also spent a lot of time ah (drawing, generate code, write to the blog, alas, a sweat). But it's worth it if you can get a thorough understanding of these relationships in UML class diagrams. :)+++++++++++++++++
modeling representation, clear graphical structure and easy to use
UML contains nine types of diagrams:
Class diagram, object diagram, use case diagram, state diagram, sequence diagram, activity
Document directory
Abstract: this is an article about the unified modeling language, that is, the basic diagram used in UML. In this article, I will discuss the structure diagram, which is a new graph type that has been proposed in UML 2. Since the purpose of this series of articles is to help people understand
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
Abstract: this is an article about the unified modeling language, that is, the basic diagram used in UML. In this article, I will discuss the structure diagram, which is a new graph type that has been proposed in UML 2. Since the purpose of this series of articles is to help people understand the mark elements and thei
This section describes the issues that should be avoided when creating a clean UML diagram. I believe you will be familiar with the methods for creating a clean UML diagram through this article, let's take a look at how to draw a clean UML
circumstances of the association, also embodies the part of the whole relationship, is a strong "ownership relationship", the whole and part have the same life cycle, is a strong association;Generalized Relationships (generalization and implementation): represents an inheritance relationship between a class and a class, an inheritance relationship between an interface and an interface, or a class-to-interface implementation relationship. A generalized relationship is a subclass that points to a
Objectiveclass diagrams and sequence diagrams are two of the most commonly used diagram in UML. I will make a detailed summary. In many books, or Web sites, when introducing the design of a subsystem of a system, many times, a simple class diagram is given to describe the relationship between the classes that make up the subsystem. This is sufficient to illustrat
convert elements on the class diagram to Java. Java is used as a representative to combine some online instances. Below are some basic collection and summary of the individual: basic element Symbol: 1. Class (classes) class contains three components. The first is the class name defined in Java. The second is attribute
description, we should be clear about the relationship between the various relations and what the code is 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
class diagram to Java. Java is used as a representative to combine some online instances. Below are some basic collection and summary of the individual: basic element Symbol: 1. Class (Classes) class contains three components. The first is the class name defined in Java. The second is attributes ). The third is the me
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 UML class diagrams. :) ++ ++ 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.