UML图示
2021-03-15 13:23:14 79 举报
UML各种元素的图形表示示例
作者其他创作
大纲/内容
process order
[n=2]
自关联
聚合
*
<<include>>
<<interface>>IWindow
借阅者
EventManager
+ suspend():void- flush():void
Node
+ next:Node...
类与接口间的关联
账号管理
Customer
+ name:string- address:Address...
<<extend>>
Server
f=0; f1=0; f2=1; i=2;
Orderform
时序图
支付平台
b: Bill[paid]
bussiness
Bussiness rules
Charger
+ model:string+ size:string...
0..1husband
shut down
主动类
IO Request
<<subsystem>>Alarm ⚠️
学生
employer
Ready
下单支付
浏览商品列表
结点
已注册用户
Person
查看商品
实现
ISecureInformation
1..*
单向关联
f=f1+f2; i=i+1;
Office
address:stringphone:number
Validating
Blocked
缴纳罚款
Address
+ province:string+ city:string...
Window
微信
Printing
查看购物车
[more]
类图
manager{subsets member}
注册
微信支付
employee
t:Transaction
[n>2]
支付宝
+ name:string = \"defaultName\"+ origin:Point- size:int
1
注解
name:stringemployeeID: string
getPersonalRecords()
Employee
+ name:string+ employer:Employer...
登录系统
流程图
依赖关系
接口
Running
交互
maintain
IO Completion
turn on
支付宝支付
PersonalRecord
taxID: stringsalary: number
[n=1]
查询记录,就是查询借阅者以往图书的借阅情况
类
display
o: Order[filled]
return f
查询图书
衍型
Computer
+ model:string = \"defaultName\"+ manufacture:string...
+ start():void+ powerOff():void+ restart():void
归还图书
use
新用户
Completion/Kill
活动
组合
self.wife.gender=female and self.husband.gender=male
Priority/ Time quantum
Terminated
Headquarters
构件
Schedule/Dispatch
+ name:string- age: int...
+ speak():void
committed
Waiting
借阅图书
[i>n]
标记值
<<interface>>Vehicle
+ move():void
IWindow
双向关联
泛化
See https://example.com for examples
订单管理
Receive order
状态图
card inserted
约束
time < 1s
Processing
return 0
制品
[n>1]
[finished]
购买商品
<< server>>capacity = 50
New
Ship order
0..1
Car
Pay bill
Place order
教师
Close order
用例图
Active
Company
+ name:string- departments:[]Department...
has
Request product
付款
member
网站用户
Department
name:string
Warehouse
包
destroy()
contains
cancel
Student
+ class:string...
+ study():void
Maintenance
0..1wife
查看收藏夹
p:ODBCProxy
<<server>>Printer
协作图
create()
Class
+ name:string+ students:[]Student...
Employer
+ name:string- employees:[]Employee...
b: Bill[unpaid]
状态
t: Transaction
身份认证平台
p: ODBCProxy
+ name:string+ employees:[]Employee...
entry/ readCardexit / ejectCard
查看推荐商品
xor
泳道图
作用于多个元素的约束
c:Client
Pull product
BankAccount
银行
o: Order[in progress]
银行卡支付
[i=n]
用况
Corporation
Chain of responsibility
Ship
Bill customer
搜索商品
Teacher
+ level:string...
+ teach():void
IPaint
更新购物车
Process order
协作
Idle
<<artifact>>window.dll
Selecting
return 1
Sales
查阅记录
预约图书
0 条评论
下一页