Talk:Association (object-oriented programming)

Hello

Talk:Association (object-oriented programming)

Arrowheads

Hello

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!!

Which one is correct?! —The preceding unsigned comment was added by Ninolo (talkcontribs).

Hi,

  • 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 220.226.70.104 (talk) 17:08, 12 June 2008 (UTC)Reply

Needs a UML section

Association is a fundamental concept in UML[1], 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.

Rdubbs3 (talk) 18:08, 20 April 2009 (UTC)Roger DubbsReply

References

  1. ^ OMG UNified Modeling Language (OMG UML), Superstructure V2.1.2 http://www.omg.org/spec/UML/2.2/

Question

"... on it's behalf." On behalf of which object? 68.155.238.114 (talk) 04:42, 4 December 2009 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.