1 / 16

Structural model: a formal way of representing the ______

Ch.6 Class Diagrams. Structural model: a formal way of representing the ______ that are used and created by a business system. conceptual model  design model (design phase) Class: general template that we use to create specific ______ or ______

Download Presentation

Structural model: a formal way of representing the ______

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ch.6 Class Diagrams Structural model: a formal way of representing the ______ that are used and created by a business system. conceptual model  design model (design phase) Class: general template that we use to create specific ______ or ______ in the application domain  application domain class Attribute: a piece information that is relevant to the description of the class Operation: behavior of the class converted to ________ (related to implementation) domain specific operation

  2. Relationships: - Generalization Subclass inherits _________________ of their superclass contains ___________________________. a-kind-of relationship cf. specialization - Aggregation Composition relationship a-part-of or a-member-of - Association Patient schedules an appointment. Patient is a-pat-of an appointment? Y/N semantic difference

  3. Class-Responsibility-Collaboration Card (CRC Card) Responsibility: - Knowing knows the value of its _______ and its _______ - Doing can executes its _______ Collaboration: Client object  Server object  Contract  Elements of CRC Card: Fig. 6-1

  4. fig_06_01 Sample CRC Card

  5. Class Diagrams Elements of a Class Diagram: Class: class name Attributes : derived, visibility(public, protected, private) Operation Relationships: association  multiplicity generalization aggregation  multiplicity Fig. 6-2

  6. fig_06_02 Sample Class Diagram

  7. fig_06_03 Class Diagram Syntax

  8. fig_06_04 Sample Association

  9. fig_06_05 Multiplicity

  10. fig_06_06 Sample Assocition Class

  11. fig_06_07 Sample Generalization

  12. Object Diagram Instantiation of all or part of a class diagram instantiation: creates an instance of a class with a set of appropriate attribute value. Fig. 6-10 Example Object Diagram

  13. fig_06_10 Sample Object Diagram

  14. Creating CRC Cards and Class Diagram (1) Object Identification 1. Textual Analysis 2. Common Object List 3. Patterns (2) Building CRC Cards and Class Diagram 1. Create CRC Cards 2. Examine Common Object List 3. Role-Play CRC Cards 4. Create the Class Diagram 5. Review the Class Diagram 6. Incorporate Patterns 7. Review the Model

  15. fig_06_17 fig_06_17

  16. fig_06_18 fig_06_18

More Related