Difficulty: Easy
Correct Answer: Relationship
Explanation:
Introduction / Context:
Object Definition Language (ODL) lets designers specify classes, attributes, and relationships in object-oriented databases. The keyword “inverse” appears when defining how two relationship ends correspond, ensuring navigation and referential consistency in both directions.
Given Data / Assumptions:
Concept / Approach:
In ODL, a relationship declares an association between classes. The inverse clause identifies the opposite role at the other class so updates on one side are reflected on the other, avoiding divergence (e.g., relationship Set
Step-by-Step Solution:
Verification / Alternative check:
Review standard ODL examples; “inverse” always pairs relationship roles across two classes to maintain bidirectionality.
Why Other Options Are Wrong:
Class: “inverse” does not declare classes.
Attribute: intrinsic properties have no inverse ends.
All of the above: overbroad; only relationship roles use “inverse”.
Common Pitfalls:
Assuming inverse is optional when cardinality rules require synchronization; omitting it can cause orphaned links in navigation.
Final Answer:
Relationship
Discussion & Comments