Patt#14. "Container-Content" Pattern // aggregate
patterns

Typical object interactions
- howMany --> calcForMe
- howMuch --> calcForMe
- calcOverContents --> calcForMe
- rankContent --> rateMe
Examples
- Containers: airport, aircraft, aisle, bank, bin,
building, cabinet, folder, garage, hangar, hospital, locker,
room, safe, store, warehouse.
- Container - content: aircraft-cargo; aircraft-passenger;
building-room; catalog - catalog item; store-item; warehouse
- loading dock.
Combinations
Also, when "container" or "content" is a participant, place,
or specific item:
Related strategies:
- Str#22. "Select
Container Objects" Strategy
- Str#103. "Service in
the Smallest Applicable Container" Strategy
Aggregate patterns
Patterns for building object
models