Topic
2 replies Latest Post - ‏2010-04-21T20:52:20Z by r1010
r1010
r1010
3 Posts
ACCEPTED ANSWER

Pinned topic Question about defining actions of operations on attributes

‏2010-04-21T20:36:18Z |
I'm new to UML, I've been spending a lot of time reading up on it the last few days and learning about the different diagrams. I have created classes, with associations and operations, however I haven't been able to figure out (despite a lot of trial and error) which diagram is then used to show interactions between an operation and an association(s). For example, if I have an operation that is meant to "create datafield" (where "datafield is an association within the same class as the operation).. how would I specify this interaction?

Thanks for any advice.
Updated on 2010-04-21T20:52:20Z at 2010-04-21T20:52:20Z by r1010
  • r1010
    r1010
    3 Posts
    ACCEPTED ANSWER

    Re: Question about defining actions of operations on attributes

    ‏2010-04-21T20:37:42Z  in response to r1010
    • I meant associations not attributes.. sorry for the error
  • r1010
    r1010
    3 Posts
    ACCEPTED ANSWER

    Re: Question about defining actions of operations on attributes

    ‏2010-04-21T20:52:20Z  in response to r1010
    Just to add to what I asked... well, now that I just looked back over what I had been doing, I think I'm pretty sure the sequence diagram is what is used for what I was asking.. however, I guess what had been confusing me is... I don't see a way to specify an operation to act on a specific association (from within a class) in the sequence diagram.. is this possible? If not, am I overlooking something as I had thought this would be necessary.. thanks for any advice