`
semi_sleep
  • 浏览: 101067 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

20100723 (tc design)

UML 
阅读更多

What's "changablility" mean in "property"?


Difference between "Extend" and "Inheritance/Generalization" in Use Case?


When to use "Dependency" in Use Case?


In sequence diagram, what's the difference between "synchronized message" and "send signal message"? And are "return messsage" used only for "asynchronized message"?


What dose the color (red/blue/green) stand for in Use Case and Sequence Diagram?


How to show annotation in UML?


Association represents the ability of one instance to send a message to another instance. This is typically implemented with a pointer or reference instance variable, although it might also be implemented as a method argument, or the creation of a local variable.


Aggregation [...] is the typical whole/part relationship. This is exactly the same as an association with the exception that instances cannot have cyclic aggregation relationships (i.e. a part cannot contain its whole).
The fact that this is aggregation means that the instances of Node cannot form a cycle. Thus, this is a Tree of Nodes not a graph of Nodes.


Composition [...] is exactly like Aggregation except that the lifetime of the 'part' is controlled by the 'whole'. This control may be direct or transitive. That is, the 'whole' may take direct responsibility for creating or destroying the 'part', or it may accept an already created part, and later pass it on to some other whole that assumes responsibility for it.


Generalization
Class diagram showing generalization between one superclass and two subclassesThe Generalization relationship indicates that one of the two related classes (the subtype) is considered to be a specialized form of the other (the super type) and supertype is considered as 'Generalization' of subtype. In practice, this means that any instance of the subtype is also an instance of the supertype. An exemplary tree of generalizations of this form is found in binomial nomenclature: human beings are a subtype of simian, which are a subtype of mammal, and so on. The relationship is most easily understood by the phrase 'A is a B' (a human is a mammal, a mammal is an animal).
The UML graphical representation of a Generalization is a hollow triangle shape on the supertype end of the line (or tree of lines) that connects it to one or more subtypes.
The generalization relationship is also known as the inheritance or "is a" relationship.
The supertype in the generalization relationship is also known as the "parent", superclass, base class, or base type.
The subtype in the specialization relationship is also known as the "child", subclass, derived class, derived type, inheriting class, or inheriting type.
Note that this relationship bears no resemblance to the biological parent/child relationship: the use of these terms is extremely common, but can be misleading.
Generalization-Specialization relationship
A is a type of B
E. g. "an oak is a type of tree", "an automobile is a type of vehicle"
Generalization can only be shown on class diagrams and on Use case diagrams.


Realization
In UML modeling, a realization relationship is a relationship between two model elements, in which one model element (the client) realizes the behavior that the other model element (the supplier) specifies. A realization is indicated by a dashed line with a unfilled arrowhead towards the supplier.
Realizations can only be shown on class or component diagrams.
A realization is a relationship between classes, interfaces, components, and packages that connects a client element with a supplier element. A realization relationship between classes and interfaces and between components and interfaces shows that the class realizes the operations offered by the interface.


Dependency is a weaker form of relationship which indicates that one class depends on another because it uses it at some point of time. Dependency exists if a class is a parameter variable or local variable of a method of another class.


Multiplicity
The association relationship indicates that (at least) one of the two related classes makes reference to the other. In contrast with the generalization relationship, this is most easily understood through the phrase 'A has a B' (a mother cat has kittens, kittens have a mother cat).
The UML representation of an association is a line with an optional arrowhead indicating the role of the object(s) in the relationship, and an optional notation at each end indicating the multiplicity of instances of that entity (the number of objects that participate in the association).


Subsystem or component
The system or application that you are working on, or a part of it. Can be anything from a large network to a single class in an application.
The use cases that a system or component supports appear inside its rectangle. It can be useful to show some use cases outside the rectangle, to clarify the scope of your system.


Use Case Include
An including use case calls or invokes the included one. Inclusion is used to show how a use case breaks into smaller steps. The included use case is at the arrowhead end.
Notice that the diagram does not show the order of the steps. You can use an activity diagram, sequence diagram, or other document to describe these details.
 
 
Use Case Extend
An extending use case adds goals and steps to the extended use case. The extensions operate only under certain conditions. The extended use case is at the arrowhead end.
Notice that the diagram does not show the exact circumstances under which the extension applies: you can record these in a comment or other document.


Use Case Inheritance
Relates a specialized and a generalized element. The generalized element is at the arrowhead end.
A specialized use case inherits the goals and actors of its generalization, and may add more specific goals and steps for achieving them.
A specialized actor inherits the use cases, attributes and associations of its generalization, and may add more.


Use Case Dependency
Indicates that the design of the source depends on the design of the target.
 

 

 

 

分享到:
评论

相关推荐

    英飞凌 infineon tc2xx 系列 硬件设计指导

    英飞凌 Infineon TC2xx 系列硬件设计指导 本文档是有关英飞凌 Infineon TC2xx 系列硬件设计指导的应用笔记,旨在帮助工程师了解 TC2xx AURIX™ 微控制器的硬件设计原则和实现高性能的指南。 AURIX™ 微控制器家族 ...

    TC35I硬件接口描述

    So this guide covers all information you need to design and set up cellular applications incorporating the TC35i module. It helps you to quickly retrieve interface specifications, electrical and ...

    DC错误信息注释_design complier error report annotations

    ### Design Compiler 错误信息注释 在设计与验证领域,尤其是硬件描述语言(HDL)的综合过程中,经常会遇到各种错误与警告信息。这些信息对于理解并解决设计中的问题至关重要。本文将针对 Design Compiler(DC)...

    基于TC377、OpenMV、OpenArt的智能送药小车

    -Design_test |- code 各模块功能 |- Flash 芯片断电保存数据 |- ICM 陀螺仪读取姿态 |- Menu OLED交互菜单 |- PCI 外设控制(电机、编码器、摄像头、药品检测器) |- PID PID控制 |- UART

    《开关电源设计 第3版 英文版》(Switching Power Supply Design, 3rd Edition)

    《开关电源设计 第3版》是一本深入探讨开关电源技术的专业书籍,英文版为"Switching Power Supply Design, 3rd Edition"。开关电源(SMPS,Switched Mode Power Supply)是现代电子设备中广泛使用的一种高效能电力...

    TC35i卡坐与SIM卡(6角)封装库 .rar

    封装库是电子设计自动化(Electronic Design Automation, EDA)软件中的一个重要组成部分,它包含了元器件的实际物理尺寸、引脚分布和电气特性等信息。对于TC35i卡座而言,封装库描述了卡座的外形尺寸、引脚位置以及与...

    tc-material-design:Sériede artigos sobre o Material Design Android

    TCMaterialDesign APP(Java Android) 普罗耶托 TCMaterialDesignéum APP演示应用程序Android开发人员功能/库开发者可用的Android开发工具。 应用程序原理,应用程序材质,无Android渠道,无附加条件的应用程序,...

    TLF35584 SEPIC Design

    【TLF35584 SEPIC电路设计】 在汽车电子系统中,常常需要电源管理芯片来处理不同电压等级的转换问题。TLF35584是一款适用于24V系统的电源转换器,但其部分芯片耐压参数并不能直接应对24V应用中的极端条件,特别是...

    TCAD.rar_ tc_TC_TCAD_cad

    TCAD,全称为Technology Computer-Aided Design,是用于半导体工艺和器件模拟的计算机辅助设计工具。这个"TCAD.rar_ tc_TC_TCAD_cad"压缩包似乎包含了一个简易的CAD系统,但根据描述,它不支持坐标转换功能,也没有...

    tc1784 mcu 最小系统

    在本项目中,"tc1784.brd"和"TC1784.DSN"两个文件分别代表了电路板设计(Board)和设计源文件(可能为Design Suite格式),这表明我们在探讨的是一个基于TC1784 MCU的硬件开发项目。 首先,让我们详细了解一下MCU...

    pg016_v_tc.pdf

    本文档标题为“pg016_v_tc.pdf”,描述中也重复了标题“pg016_v_tc.pdf”,而标签是“zynq VTC videotiming”,结合提供的内容片段,我们可以推断出这份文件是一个有关Xilinx公司Zynq SoC中的视频定时控制器(Video ...

    AP32362_TC3xx-ADConverterSupply-and-PCB-DesignGuideline_1v0.pdf

    标题中提到了“AP32362_TC3xx-ADConverterSupply-and-PCB-DesignGuideline_1v0.pdf”,这意味着本文档是一份针对Infineon公司的TC3xx系列第二代TriCore AURIX™ 32位微控制器家族的模拟数字转换器(ADC)电源供应和...

    Design_单片机_blesensor_

    在本文中,我们将深入探讨如何设计一款基于Toshiba TC35667单片机和AMS AS6200传感器的BLE室内温度监测系统。这个系统的核心是将高效的微控制器与精确的环境感知硬件相结合,以实现无线、低功耗的温度数据传输。 ...

    数据结构课程设计文档(data structure curriculum design document!)

    TC\ch9\ALGO9-1.c(1755,2002-06-16) TC\ch9\Algo9-2.c(1024,2002-08-03) TC\ch9\Algo9-3.c(2801,2002-08-03) TC\ch9\Algo9-4.c(965,2002-06-13) TC\ch9\Algo9-5.c(909,2002-06-16) TC\ch9\Algo9-6.c(1179,2002-08-03...

    spatial database system,design,implementation

    - **标准框架**:ISO/TC 211等国际组织制定的标准,用于规范空间数据的采集、存储和交换。 - **元数据作用**:解释元数据的重要性,它是描述数据的数据,有助于提高数据的可发现性和可用性。 **四、空间数据共享、...

    TCAD.rar_TC_TCAD_cad_tcad与cad的区别_tcad界面

    TCAD,全称为Technology Computer-Aided Design,是一种用于半导体工艺和设备模拟的计算机辅助设计工具。在电子工程领域,TCAD扮演着至关重要的角色,它主要用于集成电路(IC)设计和微电子器件性能分析。与传统的...

    tc-material-design-web:TCMaterialDesign Android项目存储库(Web端)。 该项目来自Thiengo Calopsita Blog的一系列视频

    TCMaterialDesign网站 项目 这是TCMaterialDesign APP的网络版本或第二部分,已成为的视频示例的正式APP。 安装/导入 在GitHub上为此服务器端项目克隆或下载.zip文件。... 然后,只需打开您喜欢的IDE或代码编辑器,然后...

    二级减速器课程设计说明书reducer design specification.doc

    Main contents of this manual is for the design of belt conveyor drive system, the V belt transmission and twoestage cylindrical gear reducer, used in the design and calculation to the "machine design ...

    tc

    【标题】"tc"指的是TopCoder,这是一个全球知名的在线编程竞赛和外包平台,专注于软件开发、算法竞赛和众包解决方案。Kurtrips是TopCoder社区中的一个成员或者是参与TopCoder工作的人员,他的工作可能涉及编写代码、...

    TCMaterialDesign:ReciclerView-MaterialDesign 2

    ReciclerView-MaterialDesign 2这是用来替换ListView和GridView(包括对两个实体的支持)的RecyclerView。 即使使用几乎相同的ViewHolder配置(不能仅在ViewHolder方面定义优化),RecyclerView的效率也比两个较旧...

Global site tag (gtag.js) - Google Analytics