当前位置:网站首页>用例图
用例图
2022-07-07 12:12:00 【sinat_36789271】
一 、参与者:用例的触发者,触发者可能是用户,可能是事件代理人。所谓时间代理人就是给系统自动设置的定时功能操作,当到达一定时间,系统会自动执行相应的功能
二、用例:用例是在系统中执行的一系列动作,这些动作将生成特定执行者可见的价值结果。一个用例定义一组用例实例。
识别用例口诀:执行者使用系统来用例
三、关系:描述的是执行者和用例之间的关系。用例图中涉及的关系有:关联、泛化、包含、扩展。
执行者与用例之间的关联关系
在用例图中,执行者和用例之间进行交互,相互之间的关系用一根直线来表示,称为关联关系(Association)或通信关系(Communication)
执行者之间的泛化关系
执行者之间可以有泛化(Generalization)关系(或称为“继承”关系)
用例之间的包含关系
描述在多个用例中都有的公共行为,由用例A指向用例B,表示用例A中使用了用例B中的行为或功能,包含关系是通过在依赖关系上应用<<include>>构造型(衍型)来表示的
用例之间的扩展关系
a,扩展用例可以在基用例之上添加新的行为,但是基用例必须声明某些特定的“扩展点”,并且扩展用例只能在这些扩展点上扩展新的行为。
b,在扩展(extend)关系中,基础用例(Base)中定义有一至多个已命名的扩展点,扩展关系是指将扩展用例(Extension)的事件流在一定的条件下按照相应的扩展点插入到基础用例(Base)中。
c,扩展关系是通过在依赖关系上应用<<extend>>构造型(衍型)来表示的。
用例之间的泛化关系
a,当多个用例共同拥有一种类似的结构和行为的时候,可以将它们的共性抽象成为父用例,其他的用例作为泛化关系中的子用例。
b,在用例的泛化关系中,子用例是父用例的一种特殊形式,子用例继承了父用例所有的结构、行为和关系。
c,泛化关系一般很少使用。
边栏推荐
- When FC connects to the database, do you have to use a custom domain name to access it outside?
- Huawei image address
- 常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
- 数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
- Excuse me, why is it that there are no consumption messages in redis and they are all piled up in redis? Cerely is used.
- What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- 2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置
- 常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
- Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
- Help tenants
猜你喜欢
Wired network IP address of VMware shared host
Supply chain supply and demand estimation - [time series]
Details of redis core data structure & new features of redis 6
2022-7-7 Leetcode 844.比较含退格的字符串
【立体匹配论文阅读】【三】INTS
Hands on Teaching: XML modeling
2022-7-6 Leetcode 977. Square of ordered array
AI talent cultivation new ideas, this live broadcast has what you care about
常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
.net core 关于redis的pipeline以及事务
随机推荐
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
648. Word replacement: the classic application of dictionary tree
【网络安全】sql注入语法汇总
2022-7-7 Leetcode 844. Compare strings with backspace
The difference between memory overflow and memory leak
带你掌握三层架构(建议收藏)
Common response status codes
3D detection: fast visualization of 3D box and point cloud
SSRF vulnerability file pseudo protocol [netding Cup 2018] fakebook1
Huawei image address
Is the spare money in your hand better to fry stocks or buy financial products?
118. Yanghui triangle
Build a secure and trusted computing platform based on Kunpeng's native security
What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
Environment configuration of lavarel env
[network security] SQL injection syntax summary
Clickhouse (03) how to install and deploy Clickhouse
3D Detection: 3D Box和点云 快速可视化
[daily training] 648 Word replacement