端口
类
UML类图-图例
类名
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
接口
枚举
三元关联
简单接口
活动类
<<接口>>接口名称
简单类
多例类
<<枚举>>枚举名称
literal1literal2literal3
约束