• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Creating Sequence Diagrams from class diagrams

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
Is there any way to create sequence diagrams from reversed engineered classes in Rational Rose.
Regards,
Vinod
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this is very difficult, if not impossible, for creating sequence diagram from class diagrams, as they represent different things.
Class diagram is a static modeling, while Sequence diagram is a dynamic modeling.
Class diagrams only contain info about its static state, like attributes and methods, but it contains no info about how the method being called.
On the other hand, Sequence diagrams only contain info about how the objects are interact, which methods are being called in what sequence. However, it does not contain which attribute will be updated, or what info is exchanged inside the method call.
Hence, it may not be possible to obtain either one from another one.
However, if you pass in a whole set of programs, this maybe possible, as the programs specify the flow of the interactions. But it seems that the sequence of OOAD is reversed, becos we usually write codes based on design (UML).
Nick
 
Are you here to take over the surface world? Because this tiny ad will stop you!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic