HelpFeedback
Post 3/e
Information Center
Sample Chapter
Overview
Table of Contents
About the Author
What's New
Feature Summary
Supplements
PageOut
Unified Modeling Langu...
Course Management Syst...
Partnerships/Alliances


Student Edition
Instructor Edition
Database Management Systems: Designing & Building Business Applications, 3/e

Gerald V. Post

ISBN: 0072919191
Copyright year: 2005

Unified Modeling Language



Entity-Relationship diagrams have traditionally been used to model database designs. However, they suffer from three major problems:
  1. There is no standard. Several variations exist, and students trained in one diagramming technique have difficulty reading diagrams created with a different methodology.
  2. ER diagrams tend to be messy and difficult to read.
  3. The ER approach is weak at handling object-oriented design issues, such as inheritance (subtypes) and composition.
The UML class diagram resolves these problems by defining a standard diagram that handles all of the situations needed by database designers. Additionally, students are introduced to the foundations of object-oriented design.
The basic similarities between ER and class diagrams are:
  1. Entities (classes) are drawn as boxes.
  2. Binary relationships (associations) are drawn as connecting lines
  3. N-ary associations (relationships) are drawn as diamonds.
The primary differences lie in the details:
  1. Attributes are written in the class box.
  2. Multiplicity of an association is shown as simple numerical notation instead of a cryptic icon.
  3. Several association (relationship) types have predefined drawing methods.
  4. Associations can be directionally named.
  5. Comments and labels are explicitly supported.
  6. Complex diagrams can be split into packages.
Sample UML Class diagram (12.0K)

The corresponding ER diagram (13.0K)

UML and ER comparison chart (8.0K)



To obtain an instructor login to the Online Learning Centers, ask your local sales representative. If you're an instructor thinking about adopting this textbook, request a free copy for review.