Info

Figure 4-8. Example of multiplicity of an association.

In Figure 4-8, the association says that one or more persons work for one farm (i.e., one instance of class Farm can be linked to one or more instances of class Person).

An association can be reflexive, meaning that the start and the end of the line representing the association point to the same class. A reflexive association means that an object can be linked to other objects of the same class. Figure 4-9 shows an example of a reflexive association with multiplicity zero or one.

succeeds

0 0

Post a comment