When two objects are associated, one object will be having a variable that points to the other object
Association is a relationship type between classes
"has a " relationship
manager has an employee or an employee has a manager
manager manages an employee or an employee works for a manager
There are four different types of association
4.04_Associations & Multiplicity"has a " relationship
manager has an employee or an employee has a manager
manager manages an employee or an employee works for a manager
There are four different types of association
- bi-directional
- uni-directional
- Aggregation (includes Composition aggregation)
- Reflexive( Recursive)
http://www.youtube.com/watch?v=eDO-okP-kaU&feature=relmfu
http://en.wikipedia.org/wiki/Class_diagram#Analysis_stereotypes
No comments:
Post a Comment