Object Oriented Programming using C#
Case Study
The relationship between MessageSet and Message is very similar to the relationship between ClientBook and Clients.
Although MessageSet appears to have no attributes, its one-to-many association with Message again implies an attribute
which is a Collection type. The specification states that messages must be unique but does not imply a key value is required
thus a simple set will suffice.
Relating the Classes: MessageSet, ClientBook, and DisplayBoardControl
Because MessageSet is responsible for initiating the display of the messages on the display board it has a dependency on
a class implementing the DisplayBoardControl interface.
MessageSet also has a relationship with ClientBook because it needs to access and update Client information when the
daily purge is carried out. This is shown below..