Book a Demo

Author Topic: What happened to the Multi-Object?  (Read 4116 times)

jps

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
What happened to the Multi-Object?
« on: March 29, 2004, 03:03:11 pm »
What happened to the Multi-Object?  I cannot seem to find it on the context menu or element menu any longer.  I do see an option to set the multiplicity of an object directly… I don’t remember if that was there before or not.  Did Multi-Objects go away in UML 2?  If so, I do I show a collection of objects now?

Thanks!

James

Andreas_G

  • EA User
  • **
  • Posts: 125
  • Karma: +0/-0
  • And that's the way the cookie crumbles.
    • View Profile
Re: What happened to the Multi-Object?
« Reply #1 on: March 29, 2004, 10:46:37 pm »
Hi James,

you're right. Multi-Objects are removed in in UML 2.

I never used them in UML 1.x, so I don't miss them im UML2.

I think you have to model each instance apart in UML2, because there is no repacement.

bye
Andreas
bye
Andreas

jps

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: What happened to the Multi-Object?
« Reply #2 on: March 30, 2004, 03:19:31 pm »
???

Ok, so I’ve been looking through the “UML 2 Toolkit” (OMG Press), and I cannot at all tell how I am to replace the “functionality” I had with multi-objects.  

There is one example that shows a message being sent to a seemingly single object with a guard of “for all…”, which indicates that the message is really being sent to a collection of the objects.  This is just ugly.  How do I show adding an object to a collection, or sending any message to the collection itself instead of to the objects in the collection?

???

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: What happened to the Multi-Object?
« Reply #3 on: March 30, 2004, 03:26:30 pm »
Multi object is replaced by the "Set Multiplicity..." context menu item.

However the way it works and what it does is not exactly the same as the old Multi object.

(I have sent Sparx a bug report on the fact that setting multiplicity to 1 gets EA to think that it is a multi object - so no need to repeat that one to them.)

B
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.