面向对象的Java与UML课件Chapter 13The interaction of use cases through objects_第1页
面向对象的Java与UML课件Chapter 13The interaction of use cases through objects_第2页
面向对象的Java与UML课件Chapter 13The interaction of use cases through objects_第3页
面向对象的Java与UML课件Chapter 13The interaction of use cases through objects_第4页
面向对象的Java与UML课件Chapter 13The interaction of use cases through objects_第5页
已阅读5页,还剩48页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、面向对象的面向对象的JavaJava与与UMLUML课件课件Chapter Chapter 13The interaction of use cases 13The interaction of use cases through objectsthrough objectsSoftware Development with UML Copyright Ken Lunn 2003Figure 13.2 The primary inputs and outputs of designSoftware Development with UML Copyright Ken Lunn 2003Tabl

2、e 13.1 Visibility of attributesThe full syntax for an attribute definition in UML is:visibility namemultiplicity: type-expression = initial-valueSoftware Development with UML Copyright Ken Lunn 2003Table 13.2 Sample attribute definitionsSoftware Development with UML Copyright Ken Lunn 2003Operation

3、SyntaxThe general syntax is:visibility name (parameter-list) : return-typeparameter-list is a comma-separated list of parameters with the syntaxkind name: type-expression = default-valuetype-expression is a language-specific definition of the type of the parameter, and default-value is a language-sp

4、ecific expression to set the value of the parameter if it is not supplied.Software Development with UML Copyright Ken Lunn 2003Table 13.3 Visibility rules for operationsSoftware Development with UML Copyright Ken Lunn 2003Table 13.4 Parameter kinds for operation specificationsSoftware Development wi

5、th UML Copyright Ken Lunn 2003Table 13.5 Examples of operation signaturesSoftware Development with UML Copyright Ken Lunn 2003Figure 13.3 Associations with adornmentsSoftware Development with UML Copyright Ken Lunn 2003Figure 13.4 An example of two associations between the same pair of classesSoftwa

6、re Development with UML Copyright Ken Lunn 2003Figure 13.5 Example of multiple associations between objects in the same classSoftware Development with UML Copyright Ken Lunn 2003Figure 13.6 An object lifelineSoftware Development with UML Copyright Ken Lunn 2003Figure 13.7 Locus of control bar on a l

7、ifelineSoftware Development with UML Copyright Ken Lunn 2003Figure 13.8 Initiating locus of controlSoftware Development with UML Copyright Ken Lunn 2003Figure 13.9 Showing an object creating another objectSoftware Development with UML Copyright Ken Lunn 2003Software Development with UML Copyright Ke

8、n Lunn 2003Figure 13.11 An object calling itselfSoftware Development with UML Copyright Ken Lunn 2003Figure 13.12 Iteration on a sequence diagramSoftware Development with UML Copyright Ken Lunn 2003Table 13.6 Message flow notation for sequence diagramsSoftware Development with UML Copyright Ken Lunn

9、 2003Figure 13.13 Standard design pattern for interactive systemsSoftware Development with UML Copyright Ken Lunn 2003Figure 13.14 A simpler pattern for simple interactive systemsSoftware Development with UML Copyright Ken Lunn 2003Figure 13.15 A pattern that shows the use of factories to instantiat

10、e objects that have been stored in a databaseSoftware Development with UML Copyright Ken Lunn 2003Figure 13.16 A collaboration diagramSoftware Development with UML Copyright Ken Lunn 2003Figure 13.17 Pseudo-code to describe invoice printingSoftware Development with UML Copyright Ken Lunn 2003Figure

11、13.18 An activity diagram to specify operation logicSoftware Development with UML Copyright Ken Lunn 2003Figure 13.19 The relationship between screens and use casesSoftware Development with UML Copyright Ken Lunn 2003Figure 13.20 Class diagram used to show the layout of a user interfaceSoftware Deve

12、lopment with UML Copyright Ken Lunn 2003Figure 13.21 UML notation for a componentSoftware Development with UML Copyright Ken Lunn 2003Figure 13.22 UML notation for an interface classSoftware Development with UML Copyright Ken Lunn 2003Figure 13.23 An interface class linked to a component, publishing

13、 the services of the componentSoftware Development with UML Copyright Ken Lunn 2003Figure 13.24 The organization of components to define the overall structureof the applicationSoftware Development with UML Copyright Ken Lunn 2003Figure 13.25 The workflow for component-based developmentSoftware Devel

14、opment with UML Copyright Ken Lunn 2003Figure 13.26 Use of a frameworkSoftware Development with UML Copyright Ken Lunn 2003Figure 13.27 A simple pattern to show the typical structure of an orderSoftware Development with UML Copyright Ken Lunn 2003Figure 13.28 Layout of the welcome screen for the Val

15、idate Customer use caseSoftware Development with UML Copyright Ken Lunn 2003Figure 13.29 A UML representation of the welcome screenSoftware Development with UML Copyright Ken Lunn 2003Figure 13.30 The addition of a factory object to create an object from the databaseSoftware Development with UML Cop

16、yright Ken Lunn 2003Figure 13.31 Class definition for the Validation control classSoftware Development with UML Copyright Ken Lunn 2003Figure 13.32 The DataFactory class definition.Software Development with UML Copyright Ken Lunn 2003Figure 13.33 Class definition for a customer objectSoftware Develo

17、pment with UML Copyright Ken Lunn 2003Figure 13.34 User interface structure for telephone orderingSoftware Development with UML Copyright Ken Lunn 2003Figure 13.35 First definition of the edit control objectSoftware Development with UML Copyright Ken Lunn 2003Figure 13.36 A class to represent coordi

18、natesSoftware Development with UML Copyright Ken Lunn 2003Figure 13.37 The revised Site classSoftware Development with UML Copyright Ken Lunn 2003Figure 13.38 The revised edit control objectSoftware Development with UML Copyright Ken Lunn 2003Figure 13.39 The revised site classSoftware Development w

19、ith UML Copyright Ken Lunn 2003Figure 13.40 The revised standard objectSoftware Development with UML Copyright Ken Lunn 2003Figure 13.41 Revised guidelineSoftware Development with UML Copyright Ken Lunn 2003Figure 13.42 StockControl objectSoftware Development with UML Copyright Ken Lunn 2003Figure 1

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论