Book a Demo

Author Topic: Representing association classes on object diagram  (Read 3863 times)

Si Perry

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Representing association classes on object diagram
« on: August 14, 2003, 03:34:27 am »
I have an association classC linking two other classes A & B. The association class has an attribute.

I want to draw an object diagram with instances of classes B & C and the association class C.

The UML Reference Manual states that instances of an association class are links, and that "A link that is an instance of an association class may have a list of attribute values in addition to the tuple of object references."

I have taken this to mean that the association class is represented on an object diagram by a normal association link between them, and that I should then add attributes (corresponding to those in the association class) to the association.

Is this correct?

Is it possible to do this in EA, as I can find no way of adding attributes to an association.

Cheers
Si