正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
模型管理 如何创建包 如何创建自定义视图和模型 如何配置自定义元素构造型
架构信息 如何配置架构规则方案
如何表示元素父子关系? 如何实现图与图之间的关联跳转? 更多 模型管理 如何创建包? 如何创建自定义视图和模型? 如何配置自定义元素构造型? 更多 工程管理 如何查看自己的权限? 如何创建模型工程? 如何删除模型工程? 如何对模型工程进行版本管理? 更多 智能客服 您好!我是有问必答知识渊博的的智能问答机器人,有问题欢迎随时求助哦!
非实体接口,不在检查目标中; 如何检查 找出逻辑模型图里的在检查范围内的逻辑元素与实体接口间存在连线关系但连线关系不是使用、实现、依赖关系的逻辑元素和接口 (即使层级规则方案中配置了除使用、实现、依赖之外的指定的连线类型,也会检查出来)。 正确示例 使用、实现、依赖关系: 错误示例 场景一:使用非实现、
ernalSystem和Actor使用或依赖System提供的接口;ExternalSystem和Actor提供了接口给System使用或依赖 详细描述 ExternalSystem和Actor元素与System之间只能通过接口交互,不能直接使用连线关系表达交互,只能由Exter
创建顺序图 绘制顺序图时,必须保证图的类型为顺序图,否则可能导致无法绘制对应消息线。 已创建的模型图修改图类型具体请参考如何查看和修改模型图类型。 单击新增图。 弹出新建图弹窗选择“UML>顺序图”,填写顺序图基本信息。 父主题: 顺序图
基用例与包含用例之间的关系。说明如何将包含用例中定义的行为插入基用例定义的行为中。基用例可以看到包含用例,并依赖于包含用例的执行结果。但是二者不能访问对方的属性。 Extend 是指扩展用例与基用例之间的关系。特别是如何将扩展用例定义的行为插入基用例定义的行为序列。 Use 使用,是一种使用的关系。表
创建连线关系 元素创建成功后,使用连线建立元素间的关系。 鼠标移动或者选中元素Subsystem1,待四周出现小三角图标。 鼠标左键拖拽小三角至目标元素System1自动生成连线,在弹出窗口选择线型Composition,连线完成。
按逻辑规则构建的架构信息树,树上不会显示异常: 2.2.4技术元素与逻辑元素需存在技术元素实现逻辑元素或者逻辑元素使用或依赖技术元素关系 详细描述 技术模型元素与逻辑元素之间如果存在连线关系,必须为使用或者实现类型的连线关系,不能存在其它连线类型的关系。 检查范围 当前模型工程中的所有符合定义规则
1.1的检查项,建议使用2.3.6检查项即可,3.1.1可不再重复检查。 检查范围 在逻辑模型图上创建出来的逻辑模型元素; 引用到代码模型中的逻辑元素; 排除Interface、Provided Interface、Required Interface元素。 如何检查 检查规则配置
建模设计的元素名称不能为空,如果存在名称为空的元素,在检查结果中都会列出。 检查范围 在图上创建的元素在工程树中出现对应的节点,即为建模元素,都在被检查范围内。 如何检查 查询模型工程内所有建模元素,检查出名称为空元素。 正确示例 错误示例 Subsystem名称为空。 父主题: 通用检查规则
边界,可以放入元素,形成一个模块。 Realization 实现,是一种类与接口的关系,表示类是接口所有特征和行为的实现。 Use 使用关系,指示一个元素需要另一个元素执行一些交互。在用例图中,表示建模参与者如何使用系统功能。 Association 关联,是一种拥有的关系,它使一个类知道另一个类的属性和方法。 Generalization
否定 此片段中显示的序列不得发生。 通常用在 consider 或 ignore 片段中。 由于loop与alt类型使用频率较高,故直接放到工具箱中作为可直接使用的元素,与通过fragment设置成loop与alt的意义相同,无任何区别。 在工具画板中选择分段类型,拖拽至画布对应
实现,是一种类与接口的关系,表示类是接口所有特征和行为的实现。 Dependency 依赖,是一种使用的关系,即一个类的实现需要另一个类的协助。 Usage 使用,是一种使用的关系。表明一个模块在运行的时候,需要使用另外一个模块。 Instantiate 实例化,声明用一个类的方法创建了另一个类的实例。
开发视图 概述 代码模型 构建模型 父主题: 4+1视图建模
架构视图模型检查规则 逻辑模型 技术模型 代码模型 构建模型 交付模型 部署模型 上下文模型 运行模型 父主题: 通用检查规则
部署模型的基础构造型与自定义构造型元素才认定为部署元素)。 在部署模型图上创建出来的部署元素; 引用到部署模型中的部署元素(包含关联空间中的引用的部署元素); 如何检查 查询基于模型图构出的部署模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元
交付模型的基础构造型与自定义构造型元素才认定为交付元素)。 在交付模型图上创建出来的交付元素; 引用到交付模型中的交付元素(包含关联空间中的引用的交付元素); 如何检查 查询基于模型图构出的交付模型架构树,找出与架构方案不匹配(标红)的元素 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素
安全 责任共担 身份认证与访问控制 数据保护技术 审计与日志 服务韧性 认证证书
在逻辑模型图中创建建模元素 选择逻辑模型图后,工具面板会显示对应模型图下的建模元素。 将鼠标移动到需要使用的元素System上直至变成手势图标,此时左键拖拽元素到右侧画布中,松开左键后成功创建名称为System1的元素,同样的方式创建元素Subsystem1,如下图所示: 图1 创建元素