• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic