《哈工大威海uml》-精选课件(公开).pptVIP

  • 3
  • 0
  • 约2.53万字
  • 约 75页
  • 2019-11-25 发布于广西
  • 举报
Lecture 9. UML Notation-2 内容提要 1. Deployment Diagrams 部署图 (Grady Booch Book 5.4) 2. Use Case Diagrams 用例图 (Grady Booch Book 5.5) 3. Activity Diagrams 活动图 (Grady Booch Book 5.6) 5.4 Deployment Diagram 部署图被用来表示将人造物分配到系统的物理设计节点的图 A deployment diagram is used to show the allocation of artifacts to nodes in the physical design of a system. 一个部署图代表一个系统的人造物结构的视图 A single deployment diagram represents a view into the artifact structure of a system. 在开发中,使用部署图表示 系统执行平台的物理节点 During development, we use deployment diagrams to indicate the physical collection of nodes that serve as the platform for execution of our system. 三个基本的部署图元素: The three essential elements of a deployment diagram are Artifacts 人造物 nodes, and their 节点 Connections 连接 Essentials: The Artifact Notation 人造物是实现软件设计的一部分的物理东西: An artifact is a physical item that implements a portion of the software design. software code (executable), a source file, a document, or other items related to the software code 源代码、源文件、文件等等 Artifacts may have relationships with other artifacts, such as a dependency or a composition 一个人造物可以与其它人造物有关系,例如依赖 或者 复合 The notation for an artifact consists of a class rectangle containing the name of the artifact, 人造物名字; the keyword label ?artifact?, and 关键词为?artifact?; an optional icon that looks like a sheet of paper with the top right-hand corner folded over. 图标 Fig 5-17 shows the HeatingController.exe artifact, with the optional icon. HeatingController.exe依赖于HeatingController组件(使用?manifest?标签 ) The HeatingController.exe artifact has a dependency relationship to the HeatingController component, labeled with ?manifest?. HeatingController.exe实现了HeatingController组件 This means that it physically implements the component, thereby connecting the implementation to the design. An artifact may manifest more than one component. Fig 5-17 The Artifact Notation for HeatingController.exe Essentials: The Node Notation 节点记号基础 定义:节点是计算资源,通常包含内存、处理等;人造物的执行被分配到其上 A node is

文档评论(0)

1亿VIP精品文档

相关文档