File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
OO, Patterns, UML and Refactoring
How to indicate collection in return type of a method (in UML)
Joined: Jul 05, 2011
Jul 07, 2011 01:31:06
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?
Madhan Sundararajan Devaki
Joined: Mar 18, 2011
Jul 08, 2011 01:22:43
You may add a Stereotype to explain...
Not many get the right opportunity !
I agree. Here's the link:
subject: How to indicate collection in return type of a method (in UML)
return type of multi-object finder/select
comparable and compartor
Operations in UML
Representing collections in UML
UML for Part 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015