I'd like to know how to express in a Communication Diagram something like:
foreach (User user in UsersCatalog) {
list.add(user.getId());
}
I actually have something like the following
alt text http://img691.imageshack.us/img691/9213/semttuloyc.png
(Utilizador = User)
but as you'll notice it does not represent well the fact that I am doing something like a loop.
How can I accomplish this?
Just define
getId() : int
with an asterisk(*):for the given example.