Содержание
- 2. OOP - Rovaniemi University of Applied Sciences Course Contents Part I: Object-Oriented Concepts and Principles Part
- 3. OOP - Rovaniemi University of Applied Sciences Unified Modelling Language Several different notations for describing object-oriented
- 4. OOP - Rovaniemi University of Applied Sciences UML Inputs Meyer Pre- and post- conditions
- 5. OOP - Rovaniemi University of Applied Sciences Evolution of the UML The first public draft (version
- 6. OOP - Rovaniemi University of Applied Sciences Object-Oriented Analysis The intent of OOA is to define
- 7. OOP - Rovaniemi University of Applied Sciences Tasks for Object-Oriented Analysis Basic user requirements must be
- 8. OOP - Rovaniemi University of Applied Sciences What Is a Use Case? Formal description: Use case
- 9. OOP - Rovaniemi University of Applied Sciences What Is an Actor? Informal description: actors are types
- 10. OOP - Rovaniemi University of Applied Sciences Use Case Diagrams Shows actors and use cases. Shows
- 11. OOP - Rovaniemi University of Applied Sciences Requirements for Use Cases The use case modelling starts
- 12. OOP - Rovaniemi University of Applied Sciences Example: RAMK Course Registration System Students want to register
- 13. OOP - Rovaniemi University of Applied Sciences Questions to Identify Use Cases What are the tasks
- 14. OOP - Rovaniemi University of Applied Sciences Example: RAMK Course Registration System The following use cases
- 15. OOP - Rovaniemi University of Applied Sciences RAMK Course Registration System Register for courses
- 16. OOP - Rovaniemi University of Applied Sciences RAMK Course Registration System Select courses to teach Request
- 17. OOP - Rovaniemi University of Applied Sciences RAMK Course Registration System Maintain student info Maintain teacher
- 18. OOP - Rovaniemi University of Applied Sciences Description of a Use Case You should always write
- 19. OOP - Rovaniemi University of Applied Sciences Use Case Relationships There are three types of relationships
- 20. OOP - Rovaniemi University of Applied Sciences Use Case Relationships E.g., each use case starts with
- 21. OOP - Rovaniemi University of Applied Sciences RAMK Course Registration System Select courses to teach Request
- 22. OOP - Rovaniemi University of Applied Sciences Use Case Relationships
- 23. OOP - Rovaniemi University of Applied Sciences Pay overdraft fee Pay invoice > Accounting System Perform
- 24. OOP - Rovaniemi University of Applied Sciences Exercise Choose one of the following: You are designing
- 25. OOP - Rovaniemi University of Applied Sciences Example: Problem Description SafeHome software enables the homeowner to
- 26. OOP - Rovaniemi University of Applied Sciences Example: SafeHome Control Panel
- 27. OOP - Rovaniemi University of Applied Sciences Example: Use-Case for System Activation The homeowner observes a
- 28. OOP - Rovaniemi University of Applied Sciences Example: Use-Case for System Activation (continued) The homeowner selects
- 29. OOP - Rovaniemi University of Applied Sciences Example: High-Level Use-Case Diagram Safe Home interacts configures
- 30. OOP - Rovaniemi University of Applied Sciences Example: Detailed Use-Case Diagram Inputs passwords > > >
- 31. OOP - Rovaniemi University of Applied Sciences Tasks for Object-Oriented Analysis Basic user requirements must be
- 32. OOP - Rovaniemi University of Applied Sciences Identifying Classes and Objects Identifying objects/classes begins with the
- 33. OOP - Rovaniemi University of Applied Sciences How Objects Manifest Themselves Pressman R, p.539
- 34. OOP - Rovaniemi University of Applied Sciences How Objects Manifest Themselves (continued) External entities – (e.g.,
- 35. OOP - Rovaniemi University of Applied Sciences How Objects Manifest Themselves (continued) Roles – (e.g., manager,
- 36. OOP - Rovaniemi University of Applied Sciences Example: Problem Description SafeHome software enables the homeowner to
- 37. OOP - Rovaniemi University of Applied Sciences Example: Grammatical Parse SafeHome software enables the homeowner to
- 38. OOP - Rovaniemi University of Applied Sciences Example: Grammatical Parse (continued) When a sensor event is
- 39. OOP - Rovaniemi University of Applied Sciences Example: Potential Classes
- 40. OOP - Rovaniemi University of Applied Sciences Group work Analyze the problem description and make a
- 41. OOP - Rovaniemi University of Applied Sciences Selection Characteristics Coad and Yourdon suggest 6 selection characteristics
- 42. OOP - Rovaniemi University of Applied Sciences Selection Characteristics Multiple attributes – during requirement analysis, the
- 43. OOP - Rovaniemi University of Applied Sciences Selection Characteristics Common operations – a set of operations
- 44. OOP - Rovaniemi University of Applied Sciences Example: Evaluation of Potential Classes
- 45. OOP - Rovaniemi University of Applied Sciences Group Work Analyze potential classes on your list according
- 46. OOP - Rovaniemi University of Applied Sciences Specifying Attributes Attributes describe a class that has been
- 47. OOP - Rovaniemi University of Applied Sciences Example: Specifying Attributes for “System” Object sensor information =
- 48. OOP - Rovaniemi University of Applied Sciences Defining Methods Methods i.e. operations define the behaviour of
- 49. OOP - Rovaniemi University of Applied Sciences Defining Methods Select the methods that reasonably belong to
- 50. OOP - Rovaniemi University of Applied Sciences Example: Defining Methods for “System” Object “Sensor is assigned
- 51. OOP - Rovaniemi University of Applied Sciences Finalizing the Object Definition The definition of methods is
- 52. OOP - Rovaniemi University of Applied Sciences Example: Finalizing the “System” Object program() display() reset() query()
- 53. OOP - Rovaniemi University of Applied Sciences Group Work Define attributes and methods for the classes,
- 54. OOP - Rovaniemi University of Applied Sciences Tasks for Object-Oriented Analysis Basic user requirements must be
- 55. OOP - Rovaniemi University of Applied Sciences UML Class Diagram Most important UML diagram Can easily
- 56. OOP - Rovaniemi University of Applied Sciences Example of a Class in an UML Class Diagram
- 57. OOP - Rovaniemi University of Applied Sciences Example of an UML Class Diagram
- 58. OOP - Rovaniemi University of Applied Sciences Class Relationship Categories Generalization Inheritance or realization Aggregation Special
- 59. OOP - Rovaniemi University of Applied Sciences Generalization (Inheritance) Classes may be arranged in a class
- 60. OOP - Rovaniemi University of Applied Sciences Generalization (Inheritance)
- 61. OOP - Rovaniemi University of Applied Sciences Realization (Implementation) of an Interface A class implements the
- 62. OOP - Rovaniemi University of Applied Sciences Aggregation Shows how classes that are collections are composed
- 63. OOP - Rovaniemi University of Applied Sciences Composition Composition is a special form of aggregation describing
- 64. OOP - Rovaniemi University of Applied Sciences Composition vs. Aggregation Composition is a stricter relationship than
- 65. OOP - Rovaniemi University of Applied Sciences Association A solid line that represents that one entity
- 66. OOP - Rovaniemi University of Applied Sciences Attributes and Associations Attributes and associations are exchangeable! When
- 67. OOP - Rovaniemi University of Applied Sciences Dependency A dotted line with an open arrowhead that
- 68. OOP - Rovaniemi University of Applied Sciences Qualified Association University Student - name: string - address:
- 69. OOP - Rovaniemi University of Applied Sciences Association Aggregation Composition Person owns Car Workstation Cat Tail
- 70. OOP - Rovaniemi University of Applied Sciences > Window {abstract, author = KK status = tested}
- 71. OOP - Rovaniemi University of Applied Sciences Sidetrack 1: Derived Attributes Two areas where data modeling
- 72. OOP - Rovaniemi University of Applied Sciences Sidetrack 2: Code Values A coded value uses one
- 73. OOP - Rovaniemi University of Applied Sciences Group Work Draw an UML class diagram of the
- 74. OOP - Rovaniemi University of Applied Sciences Tasks for Object-Oriented Analysis Basic user requirements must be
- 75. OOP - Rovaniemi University of Applied Sciences Steps for Creating a Behavioral Model Behavioral model indicates
- 76. OOP - Rovaniemi University of Applied Sciences Creating a Behavioral Model Examine the use cases for
- 77. OOP - Rovaniemi University of Applied Sciences Creating a Behavioral Model Once all events have been
- 78. OOP - Rovaniemi University of Applied Sciences SET ALARM M H :Ringer Switch on :Light Press
- 79. OOP - Rovaniemi University of Applied Sciences Sequence Diagram Notation An object is shown as a
- 80. OOP - Rovaniemi University of Applied Sciences Sequence Diagram Notation You can show a self-call, a
- 81. OOP - Rovaniemi University of Applied Sciences Sequence Diagram Notation
- 82. OOP - Rovaniemi University of Applied Sciences Asyncronous Messages in Sequence Diagram The half-arrowheads indicate an
- 83. OOP - Rovaniemi University of Applied Sciences Object Creation and Deletion in Sequence Diagram If an
- 84. OOP - Rovaniemi University of Applied Sciences Group Work Choose one of the use cases you
- 85. OOP - Rovaniemi University of Applied Sciences SET pressed Do: showTime Ready M/add minutes H/add hours
- 86. OOP - Rovaniemi University of Applied Sciences State Diagram Notation State diagram represents active states of
- 87. OOP - Rovaniemi University of Applied Sciences State Diagram Notation: Actions Entry: action Action is executed
- 88. OOP - Rovaniemi University of Applied Sciences Summary Sequence diagram shows typical interactions between domain objects.
- 89. OOP - Rovaniemi University of Applied Sciences Group Work Choose one of the classes you defined
- 91. Скачать презентацию