软件工程教学课件chapter-06教学材料.pptVIP

  • 5
  • 0
  • 约2.91万字
  • 约 40页
  • 2018-11-29 发布于天津
  • 举报
软件工程教学课件chapter-06教学材料.ppt

Class-Based Modeling Class-based modeling represents: objects that the system will manipulate operations (also called methods or services) that will be applied to the objects to effect the manipulation relationships (some hierarchical) between the objects collaborations that occur between the classes that are defined. The elements of a class-based model include classes and objects, attributes, operations, CRC models, collaboration diagrams and packages. * Identifying Analysis Classes Examining the usage scenarios developed as part of the requirements model and perform a grammatical parse [Abb83] Classes are determined by underlining each noun or noun phrase and entering it into a simple table. Synonyms should be noted. If the class (noun) is required to implement a solution, then it is part of the solution space; otherwise, if a class is necessary only to describe a solution, it is part of the problem space. But what should we look for once all of the nouns have been isolated? * Manifestations of Analysis Classes Analysis classes manifest themselves in one of the following ways: External entities (e.g., other systems, devices, people) that produce or consume information Things (e.g, reports, displays, letters, signals) that are part of the information domain for the problem Occurrences or events (e.g., a property transfer or the completion of a series of robot movements) that occur within the context of system operation Roles (e.g., manager, engineer, salesperson) played by people who interact with the system Organizational units (e.g., division, group, team) that are relevant to an application Places (e.g., manufacturing floor or loading dock) that establish the context of the problem and the overall function Structures (e.g., sensors, four-wheeled vehicles, or computers) that define a class of objects or related classes of objects * Potential Classes Retained information. The potential class will be useful during analysis only if information abo

文档评论(0)

1亿VIP精品文档

相关文档