24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>ER</strong>/STUDIO > DEVELOPING THE LOGICAL MODEL<br />

See Also<br />

Creating and Editing Data Base Views<br />

Creating Subtype Cluster Relationships<br />

NOTE: Subtype cluster relationships can only be represented in the logical model. When the physical<br />

model is generated from a logical model, the subtype relationship is converted to identifying<br />

relationship.<br />

A subtype cluster refers to a group of entities sharing similar characteristics that form a generalization hierarchy. In<br />

each subtype cluster, there is one parent entity, known as a supertype, and one or more subtype entities. The<br />

supertype generalizes a set of subtypes; the common characteristics of subtype entities are assigned to the supertype<br />

while the subtype entities have more specific attributes. The subtypes, also known as category entities, represent<br />

homogeneous subsets of the supertype. The attributes and relationships of the supertype entity are propagated to all<br />

of its subtypes. Discriminators, an attribute of the subtype, distinguish the entities in the subtype from each other.<br />

Other than recognizing a generalization hierarchy, an important issue with subtyping is to decide how to implement a<br />

subtype cluster in the physical model. Sometimes it is best to project subtypes into the supertype, representing the<br />

entire cluster as a single, generalized entity. Other times, you may need the granularity of separate subtype entities,<br />

choosing to implement the subtypes and supertype one-for-one or rolling the supertype down into the subtypes.<br />

During the logical model phase, you should search for hierarchies that can reveal a more general approach to<br />

aggregating attributes into entities. By addressing the general case, you can design a more flexible and extensible<br />

approach to storing data. The use of subtyping is a powerful tool in identifying and portraying such generalizations.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!