File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes How to indicate collection in return type of a method (in UML) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "How to indicate collection in return type of a method (in UML)" Watch "How to indicate collection in return type of a method (in UML)" New topic
Author

How to indicate collection in return type of a method (in UML)

Vijay keshava
Ranch Hand

Joined: Jul 05, 2011
Posts: 40
Hi,

I would like to indicate the return type of a method as collection of an object, say List of Orders. How do I indicate the same in a class diagram?

searchOrders():Order[] -> this is not allowed in StarUML
searchOrders():Order[*] -> is this UML compliant?

Regards,
Vijay
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

You may add a Stereotype to explain...


S.D. MADHAN
Not many get the right opportunity !
 
 
subject: How to indicate collection in return type of a method (in UML)