Object Oriented Databases Sender, Recipients, CC Lists and Addresses
Sender, Recipients, CC Lists and Addresses: The sender, recipients and CC lists are all composed of Address objects. In a real system, we might make the Address class a base class for all the different kind of addresses the system will use.
For now, we’ll assume that the Address class simply contains a String for the actual address (e-mail or instant message id), a many-to-one bi-directional relationship to a Person object, and a one-to-many bi-directional relationship to other Address objects.
We’ll add a one-to-many Address relationship to the Address class. This recursive relationship defines a tree where an address (like group@objectivity. com) can be an alias for more addresses. When we actually populate the relationship with values, we can choose to leave this empty if it’s a simple address or populate it if it’s an alias for multiple addresses.

