Book a Demo

Author Topic: Multiple instances of the same package in diagram  (Read 3045 times)

HansMerkl

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Multiple instances of the same package in diagram
« on: October 30, 2003, 02:45:32 pm »
Hi,

I am trying to model a distributed system. In this system we have one PC that controls 1 to n client PCs.

I have created a package for the main PC and one for the client PC. After creating a component diagram I was able to create several instances of the client package there. I could also use a 1...* association but I figured it's clearer to have several instances of the package in the diagram.

After closing the project and reloading all but one instance of the client package are gone.

The question is:
- Should EA not have allowed the multiple instances at first?

or

- Was there a bug reloading the project?


Thanks

Hans


CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Multiple instances of the same package in diag
« Reply #1 on: October 31, 2003, 05:23:11 am »
G'day Hans,

I'd say EA should not have allowed the multiple instance to start with.  Sounds like a bug to me (I'll let you report that one to Sparx via their Registered Users section on their web site).

As one solution, instead of setting up the diagram with packages representing PC's, why not:
- set up a class (use "Nodes" from the UML Toolbox) for "MainPC", and one for "ClientPC";
- create a diagram with one object classified as "MainPC", and objects classified as "ClientPC".

If you want, send me an e-mail and I can reply with a sample diagram.
Cheers and best regards.

HansMerkl

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Multiple instances of the same package in diag
« Reply #2 on: October 31, 2003, 05:49:26 am »
Jason,

Thanks. I have sent you an E-mail. And I'll report it to Sparx.

Hans