Book a Demo

Author Topic: consistency between class and sequence duagram.  (Read 3095 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
consistency between class and sequence duagram.
« on: January 26, 2005, 04:28:50 am »
When I crate a call in sequnce diagram and enter a name of an unexistent method it is not generated in class diagram.

since this is s feture I've seen in other CASE tools (i.e. i-Logix) I guess there is no methodological problem with that.
is it somthing I should do or is it a bug?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

alexander

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: consistency between class and sequence duagram
« Reply #1 on: March 01, 2005, 02:50:18 pm »
I have wonder about that myself.
I think it hasn't been implemented, but it should be just like you say.

Anyone can think of a reason for this consistency to be unwanted?

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: consistency between class and sequence duagram
« Reply #2 on: March 01, 2005, 05:44:08 pm »
You can do it now.  At the top right hand corner of the Message Properties form is a button "Operations".  If you click this the class (or classifier if you are using instantiated sequencing) operations property form opens where you can add your new methods to the class directly.

As to why I wouldn't want EA to automatically add methods from the message property box...  it would be fine if you were  designing at the pure code level and you knew exactly what the design was going to be.  If on the other hand you are using EA to evolve a design or explore alternatives, or you were just analysing the sequences, you would not want every method added by every analyst cluttering up the class model.

And, by crickey, dont even think of trying to automatically update the method signatures from information in the message properties!

hth
bruce  
« Last Edit: March 01, 2005, 05:47:24 pm by sargasso »
"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.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: consistency between class and sequence duagram
« Reply #3 on: March 01, 2005, 10:17:18 pm »
I tried it with I-logix and in deed it was very problematic, but it has its bonuses.
all in all I think you are right.
Recursion definition:
If you don’t understand the definition read "Recursion definition".