| Author |
link attributes vs association class
|
william kane
Ranch Hand
Joined: Nov 21, 2000
Posts: 260
|
|
Hi, What is the difference between a link attribute and an attribute in an association class?How is a link attribute expressed in UML? I did look up for resources on the above and have found this.(refer section 3.7) But I am still not able to relate to the concept when I compare it with the association class that is used when the association has attributes. Thanks in advance, William
|
Help me!Help you!!!
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
My read on this: An attribute of the link describes the linkage. For example, I might have a person and an insurance policy and a linkage. The linkage has the relationship attribute such as "owner" or "insured" or "beneficiary". The diagram may just show a line between person and policy but the implementation might have a little relationship-describing object in between. As an alternative, we could turn owner, insured and beneficiary into normal attributes of the policy. If you like that better, my example may be totally lame. Does that fit with what you know so far?
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
 |
|
|
subject: link attributes vs association class
|
|
|