Many to many association idiom
From CSSEMediaWiki
(Difference between revisions)
(New page: == The Many to many association idiom ==) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Elliot Fisher) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | The many to many association idiom is useful for removing class interdependence when there is a many to many class association. | ||
− | == The | + | == Before == |
+ | [[image:ManyToManyAssociation1.jpg]] | ||
+ | |||
+ | ==After== | ||
+ | [[image:ManyToManyAssociation2.jpg]] | ||
+ | |||
+ | |||
+ | == Note == | ||
+ | The [[Mediator]] pattern is a higher level pattern which removes many-to-many relationships between classes, but it's main purpose is to reduce complexity of a set of objects which have many inter-dependencies. | ||
+ | |||
+ | == See Also == | ||
+ | * [[Mediator]] |
Latest revision as of 03:21, 25 November 2010
The many to many association idiom is useful for removing class interdependence when there is a many to many class association.
Contents |
Before
After
Note
The Mediator pattern is a higher level pattern which removes many-to-many relationships between classes, but it's main purpose is to reduce complexity of a set of objects which have many inter-dependencies.