Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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
reply
    Bookmark Topic Watch Topic
  • New Topic