Consider the object model in Figure 5-32 in the book (adapted from [Jackson, 1995]): Given your knowledge of the Gregorian calendar, list all the problems with this model. Modify it to correct each of them.
What will be an ideal response?
The problems with Figure 5-32 are related with the multiplicity of the associations. Weeks can straddle month
boundaries. Moreover, the multiplicity on other associations can be tightened up: years are always composed of
exactly twelve months, months do not straddle year boundaries, and weeks are always composed of seven days.
Figure 5-4 depicts a possible revised model for this exercise.
Computer Science & Information Technology
You might also like to view...
A(n) ________ provides protection for the idea behind an invention
Fill in the blank(s) with correct word
Computer Science & Information Technology
Before the Format Painter button is clicked, the insertion point needs to be on the text formatted with the settings that are to be applied to other text in the document
Indicate whether the statement is true or false
Computer Science & Information Technology