1 / 11

Domain Class Diagram

Domain Class Diagram. Chapter 4 Part 2 pp. 103-114. UML Class Diagrams. Domain Class Diagram In Analysis Phase , similar to the ERD Models things in the users’ problem domain Design Class Diagram In Design Phase Model software classes. ERD vs Domain Class Diagram. Entity Attribute

barr
Télécharger la présentation

Domain Class Diagram

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. Domain Class Diagram Chapter 4 Part 2 pp. 103-114

  2. UML Class Diagrams • Domain Class Diagram • In Analysis Phase, similar to the ERD • Models things in the users’ problem domain • Design Class Diagram • In Design Phase • Model software classes

  3. ERD vs Domain Class Diagram • Entity • Attribute • Relationship • Cardinality • Instance • Domain Class • Attribute • Association • Multiplicity • Object ERD Domain Class Diagram

  4. Association Types • Regular Associations • Association Class • Generalization Hierarchies  is-a • Whole-Part Associations  has-a

  5. Association Class

  6. Generalization Hierarchy • “is-a” • Generalization/Specialization Hierarchy • Superclass (base) & Subclass (derived) • Inheritance • Abstract Class &Concrete Class

  7. Generalization Hierarchy

  8. Generalization Hierarchy How many super classes are there? Are there any mistakes in the identification of abstract & concrete classes?

  9. Whole-Part Hierarchies “has-a” • Aggregation • removable parts • can exist separately • e.g. computer & its parts “has-a” • Composition • non-removable parts • stronger • cannot exist separately Car Person Engine Tire Hand Leg

  10. Summary • How many super classes are there? • How many sub classes are there? • What type of class is Account? • What type of classes are Savings & Checking Account? • What type of class is Transaction?

  11. Summary • How many super classes are there? • How many sub classes are there? • Is there an Association Class? • What does 0..2 mean?

More Related