In UML generalization sets, the completeness constraint “Incomplete” corresponds to which rule in Enhanced ER (EER) modeling?

Difficulty: Easy

Correct Answer: Partial specialization rule

Explanation:


Introduction / Context:
Both UML and EER (Enhanced ER) models capture inheritance/generalization. UML uses completeness constraints “Complete” and “Incomplete,” while EER uses “Total” and “Partial” specialization. Recognizing the equivalence of these constraints across notations is essential for translating designs.



Given Data / Assumptions:

  • UML “Complete” means every supertype instance must belong to some subtype.
  • UML “Incomplete” means some supertype instances may not belong to any subtype.
  • EER “Total specialization” forces every supertype instance into a subtype; “Partial specialization” allows supertype instances with no subtype.


Concept / Approach:
Map the definitions: UML Incomplete ↔ EER Partial; UML Complete ↔ EER Total. Disjoint/overlapping constraints are orthogonal (they control whether an instance can be in multiple subtypes at once) and are not the same as completeness rules.



Step-by-Step Solution:

Recall UML completeness: Incomplete allows “gaps.”Recall EER specialization: Partial allows supertype-only instances.Select the EER rule that matches this: partial specialization rule.


Verification / Alternative check:
Example: Supertype Vehicle with subtypes Car and Truck. If “Incomplete” (UML), some Vehicles are neither Car nor Truck (for example, Motorcycle). That is exactly “Partial specialization” in EER.



Why Other Options Are Wrong:
Overlapping/Disjoint: These control subtype exclusivity, not completeness.
Total specialization: Equivalent to UML “Complete,” the opposite of what is asked.



Common Pitfalls:
Mixing up completeness (total vs partial) with disjointness (disjoint vs overlapping). They are separate axes of a generalization set.



Final Answer:
Partial specialization rule

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion