Object Oriented Software Engineering   View all facts   Glossary   Help
subject > pattern > multiplicity pattern
Next patternsoftware architecture    Uppattern    Previous patterndesign pattern   

multiplicity pattern comparison table
Subject be have example
many-to-manyas general as possibleA secretary can work for many managers, and a manager can have many secretaries
many-to-onethe same as one-to-manyA company has many employees, but an employee can only work for one company
one-to-manythe same as many-to-one 
one-to-oneless common than other multiplicity patternsFor each company, there is exactly one board of directors

Next patternsoftware architecture    Uppattern    Previous patterndesign pattern