Danh mục

Lecture Fundamentals of Database Systems - Chapter 4 (Part II): Enhanced Entity-Relationship and UML modeling

Số trang: 29      Loại file: pdf      Dung lượng: 1.30 MB      Lượt xem: 7      Lượt tải: 0    
tailieu_vip

Xem trước 3 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Chapter 4 (Part II) - Enhanced Entity-Relationship and UML modeling include contens as: Fundamental principle of modeling, basic process of modeling, add constraints - structural/ semantic,...
Nội dung trích xuất từ tài liệu:
Lecture Fundamentals of Database Systems - Chapter 4 (Part II): Enhanced Entity-Relationship and UML modeling Chapter 4 - Part II Enhanced Entity-Relationship and UML ModelingThis material may be used at the beginning of the transparencies for Chapter 4. It sets the stage for looking at modeling from a general standpoint. The detailsof abstraction mentioned here are covered in Section 4.8, but the constraints are previously discussed in Section 3.4 already. Elmasri and Navathe, Fundamentals Copyright of Database © 2004 Elmasri Systems, Fourth Edition and Navathe. Chapter 4-2 Copyright © 2004 Elmasri and Navathe. THE BASICS• Fundamental Principle of Modeling: • Data Abstraction• Basic Process of Modeling • Define building blocks for • holding groups of data • Use rules of a data model to establish • relationships among blocks• Add constraints - structural/ semantic Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-3 Copyright © 2004 Elmasri and Navathe.Part 1: Fundamentals of Data Modeling1 Inputs to Data Modeling2 The Process of Modeling3 Data Modeling Abstractions4 Classification5 Aggregation6 Identification7 Generalization8 Coverage Constraints in Generalization9 Cardinality and Participation Constraints Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-4 Copyright © 2004 Elmasri and Navathe. Inputs to Data Modeling Using the products of requirements analysis Verbal and written communication among users and designers Knowledge of meaning of data – Existing Programs – Existing Files – Existing Documents – Existing Reports Application Planning / Documentation and Design Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-5 Copyright © 2004 Elmasri and Navathe. Overall Process of Modeling Abstraction Use of some modeling discipline (Data Model) Use of a representation technique – Language – Diagramming – Tools Analysis of business rules/semantic constraints (these are typically beyond the capability of the data model) Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-6 Copyright © 2004 Elmasri and Navathe. Types of AbstractionsClassification A is a member of class BAggregation B,C,D are aggregated into A A is made of/composed of B,C,DGeneralization B,C,D can be generalized into A, Bis-an A, C is- an A, D is-an ASpecialization A can be specialized into B,C,D B,C,D are special cases of A Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-7 Copyright © 2004 Elmasri and Navathe. Classification Abstraction Relationship between a class and its members John Smith, Sheela Patel, and Peter Wang are all employees. They are all members of a class: EMPLOYEE class EMPLOYEE John Smith Peter Wang Sheela Patel Each individual employee is a member of the classEMPLOYEE Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-8 Copyright © 2004 Elmasri and Navathe. Classification Abstraction (contd.) Exhaustive enumeration of members: MONTH January February DecemberJanuary, February etc. are members of the class “MONTH” Represents “member-of” relationshipIn object-oriented modeling :MONTH : an Object type or classJanuary … December : objects that belong to class MONTH Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 4-9 Copyright © 2004 Elmasri and Navathe. Classification - Class Properties Collection of similar entities or concepts into a higher level concept EMPLOYEE class collects all employees into one class A class has properties called “class properties” ...

Tài liệu được xem nhiều: