9.3 OO Data Modeling Using Unified Modeling Language (UML)

Entity-relationship (ER) diagrams are not well suited to representing objects because they do not allow representation of methods. The OMG defines and maintains standards for the Unified Modeling Language (UML), which was developed as a standard for software models. UML class diagrams allow us to express OO database concepts more naturally than standard ER diagrams. FIGURE 9.5 shows a UML class diagram for part of the revised University database, in which we show many of the features of such diagrams. The choices made in constructing this diagram are intended to demonstrate different features of the diagramming notation, and do not represent the only, or necessarily the best, possible ...

Get Databases Illuminated, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.