Book a Demo

Author Topic: Actor multiplicity  (Read 5040 times)

tanja

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Actor multiplicity
« on: November 21, 2005, 06:00:09 am »
Hello,

It is possible to define multiplicity for an actor (the same way as for, e.g., class), but I find no way to display that multiplicity on a diagram in the way the multiplicity is displayed for a class.

Any hint would be highly apreciated!

thomaskilian

  • Guest
Re: Actor multiplicity
« Reply #1 on: November 21, 2005, 01:05:15 pm »
You will likely need to read through Superstructures. Actors are displayed as altenate icons and thus are not bound to "standard" representation. If you choose rectangle notation you will see the multiplicity in square brackets. But that's probably not what you need :-/

tanja

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Re: Actor multiplicity
« Reply #2 on: November 22, 2005, 01:56:49 am »
Thomas,

Thanx for your reply.

What do you mean by "to read through Superstructures"? I do not intend to use automation or similar, I'd just like that EA displays the multiplicity (which is defined on actor element) on a diagram.

Should I conclude that this is impossible?

thomaskilian

  • Guest
Re: Actor multiplicity
« Reply #3 on: November 22, 2005, 02:22:55 am »
Hmm. Superstructures is the UML bible that defines the notation which is binding for EA. I only scanned it roughly and could not find the right place. But it looks like there's a problem displaying multiplicity with stereotyped icons. EA does display the stereotype when you use rectangle notation and behaves correctly. What I'm uncertain about is displaying multiplicity with stereotyped icons like Actors. If you want to proof EA to be incorrect against the UML spec you likely have to read it and point out where EA is wrong.

Sorry for that, but it's up to you reading Superstructures... :'(

tanja

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Re: Actor multiplicity
« Reply #4 on: November 22, 2005, 02:32:21 am »
Thomas, thanx again.

My intent is absolutely NOT to point out the EA is wrong - I just wanted to have the multiplicity displayed for actors. If the UML Bible is against it, I must not complain :-)

It seems that I have no choice, and that I should make all the actors change to stereotyped classes.

Reg's,
Tanja

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Actor multiplicity
« Reply #5 on: November 22, 2005, 05:21:25 am »
Hi Tanja,

I just tried it and the multiplicity for an actor seems to display properly for me. I just drew an association between an actor and another element and on the association's properties I set the multiplicity for both the source and target, the multiplicity displayed nicely on both ends of the relationship.
Can you give it a try and let me know if it worked?

Bruno

Quote
Hello,

It is possible to define multiplicity for an actor (the same way as for, e.g., class), but I find no way to display that multiplicity on a diagram in the way the multiplicity is displayed for a class.

Any hint would be highly apreciated!


thomaskilian

  • Guest
Re: Actor multiplicity
« Reply #6 on: November 22, 2005, 08:21:00 am »
Hi Bruno,
I guess it's not the multiplity with a connector but the one inside an element showing in square brackets (which is specified in the element properties) that Tanja is looking for.
« Last Edit: November 22, 2005, 08:22:02 am by thomaskilian »

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Actor multiplicity
« Reply #7 on: November 22, 2005, 10:38:23 am »
Hi Thomas,

ouch, that does make much more sense :-) Sorry!

Bruno

Quote
Hi Bruno,
I guess it's not the multiplity with a connector but the one inside an element showing in square brackets (which is specified in the element properties) that Tanja is looking for.