*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Representing collections in UML 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 "Representing collections in UML" Watch "Representing collections in UML" New topic
Author

Representing collections 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
Ravishanker kumar
Ranch Hand

Joined: Jul 20, 2006
Posts: 53
I think,

searchOrders():Collection<Order> OR
searchOrders():List<Order>

can be used.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Representing collections in UML