Book a Demo

Author Topic: Sequence <--> Class diagram relationship  (Read 4199 times)

Raze

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • Looking good, feeling great, loving life.
    • View Profile
Sequence <--> Class diagram relationship
« on: January 31, 2003, 08:41:44 am »
I can see how you can "link" an object instance in a Sequence Diagram to a Class in a Class Diagram, which then allows you to select any existing operation in the class as the message for your sequence diagram, but it doesn't seem like there is an intelligence beyond that.  Meaning once the sequence is created, if I change the operation in the class or update the sequence message neither action affects the other.  Also, it doesn't seem like if I add a new sequence and want it to also create a new operation for that sequence there's no way to do that.  Sometimes when creating my sequence diagram I'll need a new operation in my class, but I don't want to have to jump to my class diagram to make the operation first, I want to do both when creating my sequence.  Is there a way to do this?

TIA,
  Raze
joereaATgorbelDOTcom

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Sequence <--> Class diagram relationship
« Reply #1 on: February 04, 2003, 07:17:15 pm »
Hi Raze,

I hope this is what you are looking for:

In your sequence diagram, double click on the message that is intended for the new operation.

In the messsage properties dialog, click on the "New" button: this opens the class' Operations dialog, where you can create the new operation.

Jaime Gonzalez

Raze

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • Looking good, feeling great, loving life.
    • View Profile
Re: Sequence <--> Class diagram relationship
« Reply #2 on: February 06, 2003, 06:42:10 am »
Thanks Jaime.  That seemed to do it.
joereaATgorbelDOTcom