Book a Demo

Author Topic: how to paint multiobjects in sequence diagrams  (Read 5710 times)

jamarcka

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
how to paint multiobjects in sequence diagrams
« on: November 17, 2007, 08:25:54 am »
I can't find how to represent a multi-object in a sequence diagram.

If someone knows how to do this, please reply!

Thanks

MrDX

  • EA User
  • **
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: how to paint multiobjects in sequence diagrams
« Reply #1 on: November 19, 2007, 03:21:10 am »
What do you mean with 'a multi-object'?

jamarcka

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: how to paint multiobjects in sequence diagrams
« Reply #2 on: November 19, 2007, 05:19:14 am »
A message that an object send to a indefinite number of instances of a class ( I mean, to a indefinite number of objects, but all of them of the same class). I.e.: when you want, for example, to list a set of things (articles, clients...) and you don't know how many are them; so you have to call (in analysis) something like: show_element(). This call must be received for all of the instances of that class.

(Sorry for my English, I'm Spanish)

jamarcka

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: how to paint multiobjects in sequence diagrams
« Reply #3 on: November 19, 2007, 05:22:58 am »

thomaskilian

  • Guest
Re: how to paint multiobjects in sequence diagrams
« Reply #4 on: November 19, 2007, 05:27:07 am »
You might be lucky using Shape Script.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: how to paint multiobjects in sequence diagrams
« Reply #5 on: November 19, 2007, 06:19:25 am »
I can find no reference to multiobject (or multi object, or multi-object) in the UML 2.1.1 Superstructure (2007-02-05).

I do find references to the multiobject, as well as the notation you cite, in older works on UML. Perhaps this was lost sometime after UML 1.4 (I did not check).

That said, the reference you cite might give you a way to do this. Your reference notes that an alternate notation is to use a composite link (which looks like an aggregation). Maybe you could do this in EA.

You'd have to check whether EA would complain about the use of an aggregation. If it did, consider a shape script (for the link, the multiobject, or both). Or, you could disable strict UML syntax on the Tools | Options | Diagram dialog (at your own risk, of course).

David
No, you can't have it!