O'Reilly logo

UML and Data Modeling: A Reconciliation by David Hay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commonly, in entity/relationship models, a Type[(] entity describes a list of elements used to qualify another entity class. For example, each Status may be an example of one and only one Status Type. The attributes of such an entity class are typically just Name (or Code) and Description. It is the list of instances that are actually more interesting to the reader of a model. In this case, instances might be Pending, In Force, and Closed. Identifying these instances invariably has to be part of the documentation of the model.

UML has a very clever way of dealing with such lists of values. A UML stereotype is defined to characterize a class specifically defined for this purpose. A box labeled <<enumeration>>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required