aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes how to refer other use case in sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "how to refer other use case in sequence diagram" Watch "how to refer other use case in sequence diagram" New topic
Author

how to refer other use case in sequence diagram

tomas suzuki
Greenhorn

Joined: Apr 21, 2004
Posts: 21
Hi, all
I have 2 questions regarding sequence diagrams.
1. in the Prepare Itinerary use case, Pricing the Itinerary is one of the steps. How should i represent it in the diagram? Do I have to include the details of pricing in Prepare Itinerary or I can just draw an object with stereotype <<use case>> and have a message called something like "forward" sent to it?
2. if u r using Together 6.0, can u please tell me how i can label a returned message? I would like to label them with the VOs sent back.
Thanks for the help.
-tomas


SCEA, SCJP, CPD
tomas suzuki
Greenhorn

Joined: Apr 21, 2004
Posts: 21
can someone please help?
thanx.
Harvey
Greenhorn

Joined: Mar 17, 2004
Posts: 14
One usecase calling another usecase is pretty common however, I have not seen usecases being referred directly in sequence diagrams. What I have seen( and used) is actors being used in seq. diagrams. For instance, you can model a whole subsystem as an actor("payment processing") and use it in the seq. diagram.
If I were you, I will not be using those "rare" UML features and find a way around to represent the same concept in a more standardized way that employs common and easy to understand notations. I am not sure if you have a situation that makes this option inevitable, so I cannot offer you alternatives.
[ May 27, 2003: Message edited by: Ajith Kallambella ]
--------------------
Ajith M. Kallambella
SCJP2, SCWCD, IBM-XML Dev, SCEA.
Co-author of Java 2 Certification Passport
For more details, check it out
discuss on extends use case
tomas suzuki
Greenhorn

Joined: Apr 21, 2004
Posts: 21
Harvey,
Thanks for your reply.
[I am not sure if you have a situation that makes this option inevitable, so I cannot offer you alternatives. ]
One of the situations is that in the Prepare Itinerary sequence diagram, the system needs to price the itinerary before sending back the confirmation window. Since Price Itinerary is itself a sequence diagram requested by the project, do I use some sort of notation in the Prepare Itinerary seq. diagram to reference the Price Itinerary seq. diagram OR do i include the steps of pricing itinerary in the Prepare Itinerary diagram?
I would like to know how everyone else is dealing with this.
Thanx again for the help.
-tomas
 
Don't get me started about those stupid light bulbs.
 
subject: how to refer other use case in sequence diagram