wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes multidimensional array in uml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "multidimensional array in uml" Watch "multidimensional array in uml" New topic
Author

multidimensional array in uml

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Hi.

I want to mark that case in the UML diagram:


B can live outside A, so there will be aggregation, but how can I mark that this is the array?
Can anyone draw the diagram?


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

Is there anyone to help me?
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

You might get an answer in the OO, Patterns, UML forum.


OCJP6, OCWCD5
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2504
    
    8

Moved to the appropriate forum.


OCUP UML fundamental and ITIL foundation
youtube channel
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
The UML is a language for creating software design diagrams. It is a design tool. The aspect of a
multi-dimensional array would be categorized as an implementation detail. Details such as these are
not that important in the design phase and there is no specific notational symbol for it. However, there
are mechanisms in the UML for you to specify such information. You could create a Note and place the Note
on the diagram specifying that variable x is a multi-dimensional array. Or you could include a stereotype
on the Class and specify the information there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multidimensional array in uml