Talk:Association (object-oriented programming)
gagaCan someone explain me clearly what is sign of Association? In some sorces it is like arriw, in others like line ended with white romb!!
- Arrowheads means navegability. One arrowhead == unidirectional. No arrowhead == bidirectional (some sources use a line with both ends adorned, but it is redundant; I'm not sure whether it is correct)
- White rombs are for aggregation and filled ones are for composition (see examples in Object composition).
Hope that helps. Rjgodoy 14:45, 16 June 2007 (UTC) hi, association means two objects which can be associated by a link. for eg.a person works in a company.here 'works' is a link through which these 2 objects can be associated. a link is reprecented by a line bet. 2 objects.its always a verb. —Preceding unsigned comment added by 126.96.36.199 (talk) 17:08, 12 June 2008 (UTC)
Needs a UML section
Association is a fundamental concept in UML, and this page can be used to illustrate many of the major feature, including n-ary association, association classes, properties of association ends such as role names, multiplicity, navigability, etc.
It would also be beneficial if we were to add "best practices" information, and perhaps some implementation sections to show how the concepts can be translated.
- OMG UNified Modeling Language (OMG UML), Superstructure V2.1.2 http://www.omg.org/spec/UML/2.2/