Let's assume I have a class called MyClass
with an attribute called MyAttribute
and a method called MyMethod()
. Inside that method I'd like to have a variable called MyVariable
. I'd like to set the value of MyVariable
to "MyVariable" and MyAttribute
to "MyAttribute" inside the call to MyMethod()
. How can I do this in a Collaboration Diagram?
I can't find any info of this kind on the internet and the book I'm studying from (Applying UML and Patterns) is very vague in the details.
Thanks