正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
元素介绍 顺序图是显示对象之间交互的图,这些对象是按时间顺序排列的。顺序图中显示的是参与交互的对象及其对象之间消息交互的顺序。 元素名 图标 含义 Lifeline 生命线,在顺序图中表示为从对象图标向下延伸的一条虚线,表示对象存在的时间。 Boundary Lifeline 边
图中表示的来自多个源和目标的流。 Datastore 数据存储区定义了永久存储的数据。 Object 封装了状态和行为的具有良好定义界面和身份的离散实体;即对象实例。 Decision 是状态机中的一个元素,在它当中一个独立的触发可能导致多个可能结果,每个结果有它自己的监护条件。
在代码模型中不能创建新的逻辑元素,必须要从逻辑模型中引用到代码模型中,引用逻辑元素的操作方式有两种 方式一:直接从工程树上将逻辑元素节点拖入到打开的代码模型图中,选择Link方式。 方式二:在逻辑模型图中按Ctrl键多选或者框选多个逻辑元素Ctrl+C复制,然后再到代码模型中Ctrl
Object 封装了状态和行为的具有良好定义界面和身份的离散实体,即对象实例。 Decision 是状态机中的一个元素,在它当中一个独立的触发可能导致多个可能结果,每个结果有它自己的监护条件。 Merge 状态机中的一个位置,两个或多个可选的控制路径在此汇合或"无分支"。 Send
From构建关系。 在步骤2中将代码元素引用到构建模型图后,再从工具箱中构建模型图形库中拖入构建元素,创建与代码元素需要建立关系的构建元素,并建立构建元素与代码元素的Build From关系,同时需要创建一些构建过程中构建元素使用到的构建工具和依赖的构建环境、平台等信息,并建其中的连线关系。 父主题:
类图 类图展示了系统的逻辑结构,类和接口的关系。 表1 类图元素介绍 元素名 图标 含义 Class 是对象的集合,展示了对象的结构以及与系统的交互行为。 Interface 接口,可以是单个接口,也可以是抽象的一组接口的组合。 圆形接口与矩形接口意义相同,仅形状不同。 Data
如何查看自己的权限 在项目中,“通用设置>成员管理”,在搜索框中搜索自己的账号,然后查看项目角色信息。 父主题: 工程管理
图,如下图所示。 在Component1的子图中引用该父Component1元素到图中,再到图中的从工具箱中创建Module元素到组件下,构成包含的父子关系,在2层模型中会对Module定义对外接口,和使用的接口。 Module1暴露实现的接口,提供给外模块调用,连线关系使用Realization。
模型图的列表,单击列表中的模型图名称,可以打开对应的模型图; 通过双击图标上的子图图标也可以直接打开图元的子图; 关联图方式:将元素与图进行手动关联,可以实现双击元素图形上的关联图角标,快速打开关联的图形; 元素关联到当前模型工程其他图,在元素菜单中点“关联图”: 在弹出的窗口中
1运行模型、运行模型-顺序图、运行模型-活动图中不能产生新的逻辑元素 详细描述 在运行模型中不能创建新的逻辑元素,只能从逻辑模型中引用或者实例化到运行模型中来进行设计。 检查范围 当前模型工程中的所有模型图类型为运行模型图上的逻辑元素,逻辑元素的定义参考逻辑模型检查章节。 如何检查 查询所有运行模型图中的元素,找出在运行模型图中创建生成出来的逻辑元素。
如何表示父子关系 方式一:图中绘制时采用图元嵌套的方式。同时,左侧目录树保持父子结构。 方式二:图中图元设置组合或者聚合关系。如果架构方案中设置其它类型的连线支持构成上下级关系,那么图中绘制对应的连线类型,也可以构成父子关系。 父主题: 模型设计
都要与层级规则中定义的保持一致。 检查范围 当前模型工程中的所有符合定义规则的代码模型元素(定义规则:工程设置>构造型下,绑定到4+1视图 : 代码模型的基础构造型与自定义构造型元素才认定为代码模型元素)。 在代码模型图上创建出来的代码模型元素; 引用到代码模型中的代码元素(包含关联空间中的引用的代码元素);
交付元素)。 在交付模型图上创建出来的交付元素; 引用到交付模型中的交付元素(包含关联空间中的引用的交付元素); 引用到交付模型中的构建元素;(构建元素的定义参考代码模型检查章节); 如何检查 检查交付模型中的引用来的构建元素与交付元素之间的连线关系类型是否为组合Composti
逻辑模型的基础构造型与自定义构造型元素以及逻辑模型架构方案配置的构造型)。 在逻辑模型图上创建出来的逻辑元素之间的连线关系; 引用到逻辑模型中的逻辑元素(包含关联空间中的引用的逻辑元素)之间的连线关系; 不包含接口元素; 如何检查 找出逻辑模型图里的在检查范围内的逻辑元素间存
在部署模型图上创建出来的部署元素; 引用到部署模型中的部署元素(包含关联空间中的引用的部署元素); 如何检查 查询基于模型图构出的部署模型架构树,找出与架构方案不匹配(标红)的元素。 正确示例 架构层级规则示例: 关联父级:配置的是当前层级元素与上一层级的元素之间的连线类型和父子关系指向。
级规则中定义的保持一致。 检查范围 当前模型工程中的所有符合定义规则的技术元素(定义规则:工程设置>构造型下,绑定到4+1视图 : 技术模型的基础构造型与自定义构造型元素才认定为技术元素)。 在技术模型图上创建出来的技术元素; 引用到技术模型中的技术元素(包含关联空间中的引用的技术元素)。
当前模型工程中的所有符合定义规则的构建元素(定义规则:工程设置>构造型下,绑定到4+1视图 : 构建模型的基础构造型与自定义构造型元素才认定为构建元素)。 在构建模型图上创建出来的构建元素; 引用到构建模型中的构建元素(包含关联空间中的引用的构建元素); 引用到构建模型中的代码元素(代码元素的定义参考代码模型检查章节);
4+1视图 : 上下文模型的System元素。 1.在上下文模型图上创建出来的System元素; 2.引用到上下文模型中的System元素(包含关联空间中的引用的system元素); 如何检查 查询上下文模型图中的所有元素,从中找出类型为System的元素,如果存在多个Syste
约束与限制 本节介绍了架构建模中的限制,如下表所示: 表1 架构建模使用限制说明 指标类型 指标项 限制说明 浏览器 类型 目前适配的主流浏览器类型包括: Chrome IE10以上 Microsoft Edge Firefox Safari 推荐使用Chrome、Microsoft
架构检查方案功能是基于架构检查中的规则项,设置一个检查规则集合,可将该检查集合设置为架构检查中默认启用的检查规则集,该检查会生成检查任务到架构检查历史中。 单击“新增架构检查方案”,输入方案名称,规则集中的检查项来源基于通用检查规则,选择要配置到规则集中的方案。 新建名称为逻辑模型检查项,勾选对应检查规则。