Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Categorize the following relationship into generalization, aggregation, or association :

  1. A country has a capital city
  2. Files contain records.
  1. A country has a capital city:
    • Relationship Type: Association
    • Explanation: Think of it like this – a country is associated with its capital city, but they are distinct entities. It’s not like a capital city is a part of a country, but they are connected in a meaningful way.
  2. Files contain records:
    • Relationship Type: Aggregation
    • Explanation: When we say “contain,” it’s like saying a file holds or includes records. The relationship is more like a collection relationship – a file is a collection of records. It’s not that records are parts of files like building blocks, but rather files aggregate or collect records.

Leave a Comment