umlassociationsvisioclass-diagramobject-diagram

UML: Why associations are not shown in Object Diagram in Visio 2003?


I am working with Visio 2003; full name is Microsoft Office Visio for Enterprise Architects (11.8328.8405) SP3.

I have 2 classes Job and Task. These are the rules:

This is the Class Diagram I have build which includes 2 classes and 1 composition association:

Class Diagram

Now I am trying to build Object Diagram. Suppose I have a Job Close Payroll which has 3 Tasks:

  1. Run Payroll
  2. Verify Payroll Data
  3. Transmit Payroll

I created the Object Diagram this way so far:

Object Diagram

The problem I am having is with the associations in Object Diagram. I was expecting that the association between Job and Task will automatically show in Object Diagram as the way it has been defined in Class Diagram. But it did not happen. What I am doing wrong here? Do I have to define that association again in Object Diagram? I hope not.

Thanks


Solution

  • Instances are no classes and thus do not have associations. Instances are connected via Links which are not Associations but instantiations of the latter. See also uml-diagrams.org