GA001-185-7

it2026-04-18  1

EA精灵软件开模报告

一、 One Level Component Composition Hierarchy(一级组件组成层次结构)

1.1 Create

图1所示。显示包含组件层次结构的类图。角色名和多重属性装饰了关系末尾的关联结束。

1.2 Discribe

一级组件复合层次结构模式创建了许多组件和描述组件结构层次结构的类图。角色名称和多重性描述了每个组件在层次结构中扮演的角色,以及每个组件允许的实例数量

该模式的目的是允许工程师、架构师和实现分析人员对组件及其组成的组件进行建模。由此产生的层次结构允许他们和其他人可视化系统的逻辑部分的结构。它通常用于计划的设计或实现阶段,当描述和可视化系统的组件变得重要时。下面列出了使用此模式时可能需要做的一些事情。更改关系图和组件的名称以及角色名称,以适应初始化

1.3 Discussion

1.3.1、要做的事情

1.更改图的名称、组件和角色名称,以适应计划。 2.在层次结构中添加或删除组件以适应计划。 3.更改关联端上的多重性,以反映基数。

1.3.2、后续步骤

1.如果需要,可以将层次结构扩展到另一个级别。 2.可以创建复合结构图来显示组件部件如何相互作用。 3.定义跟踪关系,显示组件如何与上行过程元素(如用户故事、用例和需求)以及下行过程元素(如工件和数据库表)相关联。 4.创建由模型自动生成的高质量文档。

二、One Level Component Type Hierarchy(一级组件类型层次结构)

2.1 Create

图2所示。显示带有四个组件的类图,这些组件是更通用组件的专门化(子类)。

2.2 Discribe

单级组件类型层次结构模式创建组件和描述系统中逻辑单元(组件)的分类的类图,直到一个级别。这允许对一组元素的家族特征进行建模和理解,从而创建分类和重用机会。

该模式的目的是允许设计人员、架构师和其他涉众创建或查看系统中重要组件的分类,具体到一个层次。

2.3 Discussion

2.3.1、要做的事情

1.更改包和图的名称以适应计划。 2.更改组件的名称以适应计划。 3.添加一个或多个泛化集来对关系进行分组。 4.创建其他组件,将层次结构扩展到另一个级别。

2.3.2、后续步骤

1.向组件添加描述,以描述它们在系统描述中的角色。 2.如果需要,在层次结构中添加另一个级别。 3.添加一个或多个状态机来描述特定类可以展示的谨慎状态。 4.使用内置的或用户定义的模板用文档生成器自动生成文档。

三、Two Level Component Type Hierarchy(两级组件类型层次结构)

3.1 Create

图3所示。显示一个类图,其中包含许多组件,这些组件是更通用组件的专门化(子类)。

3.2 Discribe

两级组件类型层次结构模式创建组件和类图,类图描述系统中逻辑单元(组件)的分类,可分为两级。这允许对一组元素的家族特征进行建模和理解,从而创建分类和重用机会。

该模式的目的是允许设计人员、架构师和其他涉众创建或查看系统中两个级别的重要组件的分类。

3.3 Discussion

3.3.1、要做的事情

1.更改包和图的名称以适应计划。 2.更改组件的名称以适应计划。 3.添加一个或多个泛化集来对关系进行分组。 4.创建其他组件,将层次结构扩展到另一个级别。

3.3.2、后续步骤

1.向组件添加描述,以描述它们在系统描述中的角色。 2.如果需要,在层次结构中添加另一个级别。 3.添加一个或多个状态机来描述特定类可以展示的谨慎状态。 4.使用内置的或用户定义的模板用文档生成器自动生成文档。

四、Starter Component Diagram(起动器组件图)

4.1 Create

图4所示。显示由组装连接器连接的两个组件的组件关系图。

4.2 Discribe

Starter组件图模式创建组件和一个组件图,该组件图显示由组装连接器连接的组件,指示这两个组件通过接口共享信息。组件中添加了描述元素的注释,这些注释在图表中是可见的

该模式的目的是允许设计人员、架构师和其他涉众创建或查看体系结构或设计的逻辑部分以及它们通过接口进行通信的方式。

4.3 Discussion

4.3.1、使用方面

1.为设计的逻辑部分建模 2.展示组件如何通过接口进行通信。

4.3.2、要做的事情

1.更改包和图的名称以适应计划。 2.更改组件的名称以适应计划。 3.添加一个或多个泛化集来对关系进行分组。 4.创建其他组件,将层次结构扩展到另一个级别。

4.3.3、后续步骤

1.向组件添加描述,以描述它们在系统描述中的角色。 2.如果需要,在层次结构中添加另一个级别。 3.添加一个或多个状态机来描述特定类可以展示的谨慎状态。 4.使用内置的或用户定义的模板用文档生成器自动生成文档。

五、Reference

The following help topics will assist you learn about how to work with this pattern.

Class DiagramComposite RelationshipSource and Target Role

The following are some of the tools that will be helpful when working with this pattern. Traceability Window

The Traceability Window automatically displays the relationships that exist between Use Cases and other model elements including up-process and down-process elements. The traceability tree view can be conveniently expanded to see deeper relationships and elements displayed in the window can be located in all diagrams in which they appear. For more details see the Traceability Window help topic.

Relationship Matrix The Relationship Matrix provides a spreadsheet like view of two groups of elements and the relationships that exist between them. It can be a used as a powerful analysis mechanism to visually indicate how elements are related to each other and to discover which elements are missing relationships. For more details see the Relationship Matrix help topic.Specification View The Specification View can be used as a way of working with any element type in a spreadsheet or word process view. It is particularly useful when there are a large number of elements as is typically the case when describing a system of any appreciable size. For more details see the Specification View help topic.Element Discussions The Element Discussion facility is a fully featured collaboration tool allowing modelers and model viewers and reviewers to communicate with each other directly inside the repository. Modelers using the full client or occasional viewers using WebEA can both post and reply to discussions and communicate and engage in chat. For more details see the Element Discussions help topic.Hand Drawn and Whiteboard Diagrams The Hand Drawn and Whiteboard Mode are display options available for any diagram that changes a system-drawn diagram to appear as though it was drawn by hand and, optionally, hand drawn on a whiteboard. It is a powerful device to engage an audience by presenting the diagram in a rough and more immediate style giving the impression that it is just a sketch that can be changed. For more details see the Hand Drawn and Whiteboard Mode help topic.Diagram Layout The Diagram Layout tool allows you to layout an entire diagram, selected elements or sections of a diagram to make it more visually appealing or meaningful to a particular audience. There are a wide range of layout types to choose from and some types have filters that can be applied. For more details see the Diagram Layout help topic.Pan and Zoom The Pan and Zoom facility is one of the tools that can be used to navigate around a large diagram. Often the resolution of a diagram must be reduced to ensure it is wholly visible but by using the Pan and Zoom window you can leave the diagram at a readable resolution and pan around to areas of interest zooming in when necessary. For more details see the Pan and Zoom help topic.Alternate and Images for Diagram Elements Most standard elements allow an alternate image to be defined for an element that will be used in place of the graphical notation for the element either on a selected diagram or as a default on all diagrams. For more details see the Using the Image Manager help topic.Document Generator The Document Generator is a powerful facility in Enterprise Architect that allows a Database Engineer or other stakeholder to create high quality corporate or technical documentation directly from the model, suitable for internal or external audiences. For more details see the Documentation help topic or the more general topic on Model Publishing.
最新回复(0)