diagramsThere are four kinds of relationship between class diagram: Generalization relation, realization relation, dependency relation, association relation, and association relation is divided into common relation, aggregation relation and synthetic relation. But in fact these relationships we easy to understand, but many other times we have to pay attention to how to translate into
The class diagram is learned by using examples to understand the relationship between classes and classes and the relationship between classes and interfaces.Start:Note: There is data on the representation of the interface is divided into: rectangular notation, lollipop notation, in this paper with rational Rose tool drawing,rational rose No rectangular representation of an interface.Look at the
The various elements of UML are not mentioned here, I just want to talk about the relationship between classes in the class diagram, can understand the class diagram of the lines between the classes, arrows represent what meaning, it is enough to deal with daily work and communication, at the same time, we should be ab
operations, no operation implementation. In UML, the interface is represented in a way similar to the class notation, as shown in 3:
Figure 3 UML diagram of the interface
Interfaces can also have inheritance and dependency relationships similar to the relationships between classes, but there is also a realization relationship between interfaces and classes. In this relationship, the
环境变量目录--outputfile 分析结果保存到该文件--ignoredir 不需要进行代码分析的目录(可以不用设置)
Generating class diagrams using PLANTUML
Download Plantuml Https://nchc.dl.sourceforge.net/project/plantuml/plantuml.jar
Tip: If the system does not have a JDK installed, you need to first install Jdk;yum install-y java
Execute the following command to generate a class
A forward project (in Java, for example)
1 Setting the default language to Java
Tools, Options->notation->dafault: Choosing Java
2 Set the directory location where the forward engineering generated Java files are saved (typically specified as the SRC directory of the project)
ClassPath, Project specification, Tools,
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 representing software by means of graphs. Essentially it allows us to design our programs by drawing, and if we have the tools, we can eve
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
This essay is well written, in PHP to explain the UML (or vice versa) 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 UML User Guide (the Unified Modeling Language user Guide) that I am looking at.
UML (Unified modeling Language, Unified Modeling Language) is a mechanism for representing software in the form of graphs. In essence it allows us to design our programs by drawing, and if we have
This short article is well written. it can be said that using PHP to explain UML (or conversely) is an innovation. through this article, I also found a good site: www.phppatterns.com. The translation of various UML terms comes from the book I am reading, TheUnifiedModelingLanguageUserGuide. UML (UnifiedModelingLanguage) is a good short article. using PHP to explain UML (or to put it back) can be said to be an innovation. through this article, I also found a good site: www.phppatterns.com. The tr
Diagram ClassLoader The process of loading class and customizing ClassLoaderBlog Category:
Jvm
JAVAJVM Virtual Machine Extsun/*** Reprint Please indicate author Longdick http://longdick.iteye.com**/Different classes in the Java application environment are loaded by different classloader.The default ClassLoader in a JVM are bootstrap ClassLoader, Exte
PHP and UML class diagrams PHPandUMLClassDiagrams. This short article is well written. it can be said that using PHP to explain UML (or conversely) is an innovation. through this article, I also found a good site: www.phppatterns.com. This short article on various UML techniques is well written. using PHP to explain UML (or conversely) can be said to be an innovation. through this article, I also found a good site: www.phppatterns.com. The translation
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
Links in a class diagram refer to the relationships between classes, classes, and interfaces, and between interfaces.
Link:1. General Relationship: GeneralizationApplicable to: classes, classes, and interfaces; between interfacesIt indicates the inheritance relationship.Symbol: a hollow triangle points to the parent class by a subclass, or a
can remember the original to fix a bug did what changes, don't be nervous, as long as you follow the above actions correctly submitted, idea will help you remember these details For example, select the recently submitted Task list, select Switch To,idea to automatically open the source code associated with the task, and navigate to the modified line of code. Of course, if the task is already close, you can also choose Remove to empty it. Second, UML class
After a bit of searching, Android Studio can automatically help us to generate UML class diagram, simply fantastic Http://www.gcssloop.com/course/UsePlantUMLInAS (Win), the specific approach to the blog address. The test is not based on the Java file automatically generated, but need to write their own dot syntax related code, such as, then give up1.UML Plotting
Original: UML class diagram Knowledge collationUML Class DiagramUML, advanced necessary professional skills, can not understand the UML will not understand those excellent information.Here's a simple arrangementRelationship generalization relationship between classes (generalization)
Generalization (generalize): a line represented by a hollow arrow
I
Original: http://blog.csdn.net/u011514810/article/details/53196371-------------------------------------------------------------------------------------------------As a rookie, it is very important to view Java source code. In eclipse, it is very convenient to view the source code of a class, directly holding down the CTRL + mouse click on the class or method, the
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.