Similarities with Class Diagrams

The labels that figure in class diagrams can mostly be copied into object diagrams to facilitate understanding of the interaction. This applies to all the association characteristics (name, rolename, aggregation, composition, and navigation), with the exception of multiplicity, which is represented explicitly by links. The following object diagram can be distinguished graphically from a class diagram because the object names are underlined:

The values of association qualifiers may also be added to object diagrams. The diagram below represents parental links between Lara, Jonathan, Roxane, Anne and Pierre-Alain.

© 1997 Editions, Eyrolles, Paris, France . All rights reserved.