Association (object-oriented programming): Difference between revisions

Content deleted Content added
ZéroBot (talk | contribs)
No edit summary
Line 7:
 
The objects that are related via the association are considered to act in a [[role (object-oriented programming)|role]] with respect to the association, if object's current state in the active situation allows the other associated objects to use the object in the manner specified by the role. A role can be used to distinguish two objects of the same class when describing its use in the context of the association. A role describes the ''public'' aspects of an object with respect to an association.<ref>{{cite book | title=Object-oriented modeling and design | last=Rumbaugh | first=JR et al. | year=1991 | publisher=Prentice Hall | isbn=0-13-630054-5}}</ref>
 
==Also See==
*[[Aggregation]].
*[[Composition]].
 
==References==