• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

link attributes vs association class

 
william kane
Ranch Hand
Posts: 260
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic