• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add stereo types in sequence diagrams for Rose

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is stereo types added in sequence diagrams in rational rose.
I want to add say <<SLSB>> or <<JSP>> on my objects in the sequence diagram.

Thanks
Dhiren
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there's a way to do it. You add sterotypes to classes through its properties dialog box, or on the class diagram that you created it on. But, there's no way that I can see to display existing stereotypes on a sequence diagram, let alone add stereotypes to them.

For one thing, sequence diagrams are interactions between objects -- while stereotypes are a property of classes. So, you can assume that an object of a certain class having a stereotype is already descriptive enough. My 2 cents there.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not all objects defined in sequence are pre defined in the class diagram.My class diagram is domain level only.
In sequence diagram I cover J2EE level implementations too .
So how do I define sterotypes...
I tried in Rose ..In the text area where the object name is I added << SLSB>> . It works but the stereo types crosses over the name. My experinece to anyone. Dont try this method becuase u cant delete the stereotype name and it looks very ugly .If u click on the text to delete the stereotype it is not visible . So if u saved the design then u need to delete the object and create it all over again as well as the interactions for them..

Having said that any one knows a cleaner way to add stereo types ?.. Will notes help here ..

Thanks
Dhiren
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic