Jump to content

Talk:Association (object-oriented programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BetacommandBot (talk | contribs) at 06:22, 28 June 2007 (subst'ing templates per WP:SUBST). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Arrowheads

Hello

Can 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)[reply]