Saturday, June 16, 2012

Association


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

  1.  bi-directional
  2.  uni-directional
  3.  Aggregation (includes Composition aggregation) 
  4.  Reflexive( Recursive)



4.04_Associations & Multiplicity
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