Here is a link to a site that describes what “Association” means in UML 2.
We have “Show as Association” in the context menu. Choosing the option displays a line between the two related types.
For example, if you have the following standard C++ code…
class KeyBoard {};
class Computer
{
KeyBoard* keyBoard;
};
You view the classes in C++ Class Designer. You then right mouse click on the “keyboard” field in the “Computer” class. The context menu would show up.
You choose “Show as Association” and we will show a relationship between “Computer” and “KeyBoard” classes.
If you check out the image that shows the context menu, you will find another menu item “Show as Collection Association”. What this would do is…
using namespace System;
using namespace System::Collections::Generic;
public ref class Customer
{
List<Order> orders;
};
If you right click on the field “orders” and choose “Show as Collection Association”, then it would actually draw a line relating the “Customer” class and the “Order” class, which is the collected type. Choosing “Show as Association” on the same field would actually draw a line relating “Customer” class and the “List” class.
Is the name “Show as Association” and “Show as Collection Association” intuitive enough?
Would UML aware users not like it, because it is the simplest form of Association and has no other decorations to it and also a Composition would be shown as an Association?
Would semi UML aware or non UML aware users find the words “Association” and “Collection Association” overwhelming? Would they be discouraged to use the feature or the term, so as to avoid any miscommunications with their UML aware colleagues? If so, could you please suggest some alternatives?