1 / 6

Something about classes: Classes Diagrams are for: analysis design implementation Class Diagram is a structural model

Something about classes: Classes Diagrams are for: analysis design implementation Class Diagram is a structural model Class Diagrams have low information content at analysis Class Diagrams have hight information content at design and implementation. 1. OO wants information hiding

jaegar
Télécharger la présentation

Something about classes: Classes Diagrams are for: analysis design implementation Class Diagram is a structural model

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. Something about classes: • Classes Diagrams are for: • analysis • design • implementation • Class Diagram is a structural model • Class Diagrams have low information content at analysis • Class Diagrams have hight information content at design and implementation.

  2. 1 OO wants information hiding '–' (private) instead of '+'(public) 1 What's your comment on this one? Are all the compositions right / needed? Does product represent a group? Or do you want to store all objects of a product?

  3. What's your comment on this one? Naming a relationship would be clearer Gives a Stereotyping own Datatype (not a fault) ORDER Classnames are In singular

  4. Suppose you want to store books in a booksystem. • Do you want to • store every book (copy)? • store only the title?

  5. Suppose we want to add students to a system There is no: Number_of_students!! We can count them, or ….....

  6. Use a static attribute: every object shares this attibute Classifiers scope

More Related