OO Relationships (3/6)
OO Relationships (3/6)
- Inverse attributes
- example: chaps / doc
- DBMS keeps inverse attributes in sync
- Needed for referential integrity
Document: { title: STRING;
…
chaps: LIST[Chapter] <-> doc;
… }
Chapter: { …
doc: Document <-> chaps; }