Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multidimensional array in uml

 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyone to help me?
 
Mike Zal
Ranch Hand
Posts: 144
Fedora Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might get an answer in the OO, Patterns, UML forum.
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the appropriate forum.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic