0

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:

  • Each Job has 1 or more corresponding Tasks.
  • A Task cannot exist without a Job.

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

ChumboChappati
  • 1,442
  • 4
  • 18
  • 38

2 Answers2

2

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

qwerty_so
  • 35,448
  • 8
  • 62
  • 86
  • 1
    Visio is not a real CASE tool, it's only supporting the very basic logic but in general it's tool to draw diagrams rather than build models. I'm afraid you simply expect too much from the tool. If you want to benefit from a model building you should consider some real modeling tool. – Ister May 07 '18 at 06:31
  • @Ister I thought so. You should post that as answer, since it actually answers the OP's question. – qwerty_so May 07 '18 at 08:38
  • I meant to post it as an answer XD . I was answering on a mobile and simply misclicked. Thanks, posted now as it should be. – Ister May 07 '18 at 09:20
2

Visio is not a real CASE tool, it's only supporting the very basic logic but in general it's tool to draw diagrams rather than build models. I'm afraid you simply expect too much from the tool. If you want to benefit from a model building you should consider some real modeling tool.

Ister
  • 5,958
  • 17
  • 26