May 2002
Intermediate to advanced
416 pages
8h 37m
English
Just as classes have actions that create and delete their objects, so associations have actions that create and delete their instances, called links.
Figure 7.7 lists a syntax for several link actions, and several examples are shown in Figure 7.8.


As you would expect, the order of the two object references is immaterial, so the first two statements are equivalent. For clarity, the association end can be included, as illustrated by the third statement. The association ...
Read now
Unlock full access