当前位置:网站首页>UML diagram related knowledge
UML diagram related knowledge
2022-04-22 21:57:00 【Colin-YYYY】
UML Graph related knowledge
List of articles
Detailed explanation UML Graph like graph
The basic expression of class

Each rectangle represents a class ( General class diagrams are divided into 3 Classes , Some class diagrams are divided into 5 Classes )
- The first part is the class name
- Normal writing instructions are ordinary classes that can be instantiated
- The class name is written in italics, indicating that it is an abstract class
- If the class name is underlined, it indicates that it is a static class
- The second part is the properties of the class
- Format : Property name : Attribute types
+Description attribute ispublic#Description attribute isprotected-Description attribute isprivate
- The third part is the method of class
- Format : Method name : Method return value type
+The description method ispublic#The description method isprotected-The description method isprivate- If there is an underscore under the method name, it indicates that it is a static method
The expression of the relationship between classes
Inherit : From child to parent

Realization : The implementation class points to the interface

rely on : From the user to the user
If A Point to B, shows A Used in B, Usage includes A There are B Class instantiates the of the object local variable .A There are methods in the class to B As an instantiated class Parameters ,A A method in the class called B Class Static methods

relation : From the owner to the owner
If A Point to B, shows A There are B Class Member variables
Teachers and students

polymerization : From the whole to the part
If A Point to B, shows A There are B Class Member variables , But unlike relevance ,A Classes and B Classes have logical relationships .A A class is a whole ,B Class is part of .A Class by B Class a , meanwhile B Class, even if it's not there A Classes can also exist alone

Combine : From the whole to the part
If A Point to B, shows A There are B Class Member variables , But unlike relevance ,A Classes and B Classes have logical relationships .A A class is a whole ,B Class is part of .A Class by B Class a . But unlike aggregation , If B Class is not in A Class cannot exist alone

Interface
An interface is a special class , Has the structure of a class but cannot be instantiated , Can only be realized ( Inherit )
==/dissolve/70)
Interface
An interface is a special class , Has the structure of a class but cannot be instantiated , Can only be realized ( Inherit )

版权声明
本文为[Colin-YYYY]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221600362065.html
边栏推荐
猜你喜欢

项目经理值得一试的思维方式:项目成功方程式

How to write word reading and color games based on JS

Future source | Prof. Wu Enda Heavy Speech: Tips for Using a data Centric ai Approach

matplotlib数据可视化之qq群聊消息统计

Online yaml to XML tool

BACKBONE,NECK,HEAD

80386 compilation_ Introduction to register & addressing mode

在线YAML转XML工具

如何在项目中引入SPI

使用charles抓app包
随机推荐
paho. mqtt. C brief introduction
Leetcode question bank 62 Different paths (recursive C implementation)
[advanced level of C language] an article takes you to recognize structure, enumeration and union
Experiment 3
c语言怎么实现猜数字小游戏
从思维走向实践,数字化转型 IT 经营的成功路径
MATLAB 基本命令
How to write word reading and color games based on JS
ES6 object extension chain judgment operator and null judgment operator
QQ group chat message statistics for Matplotlib data visualization
超声波模块的使用(STM32/HAL)
为什么我们需要做企业成长性评价分析?
社会工程学之黑客番外——密码学
逆向入门(三) CE自动汇编后保存CT表并生成exe修改器
未来源码 | 吴恩达教授重磅演讲:Tips for using a data-centric AI approach
Test life | less than 2 years after graduation, 0 experience and won the 30W annual salary of a well-known Internet enterprise. How did he do it?
Mobaxterm cannot drag and upload files after connecting to the virtual machine
一文学会text-justify,orientation,combine文本属性
The principle of training multilayer neural networks using back propagation
Swagger2 notes