Download presentation
Presentation is loading. Please wait.
Published byPierce Ryan Modified over 9 years ago
1
BTS430 Systems Analysis and Design using UML Domain Model—Part 3: Association Classes
2
Association Class depends on the association between two other classes and may contain attributes that are related to the association itself holds attributes that may not belong in either of the two related classes is a modeling convention that allows you to show dependency on an association
3
Association Class Contract Consultant ** Employs A consultant can work on many contracts at the same time (and a contract typically employs many consultants). Where do you store hourlyRate? (may be different for each contract and consultant). What about start/end dates for each Consultant’s employment with a contract?
4
Association Class Contract Consultant ** Employs ContractConsultant hourlyRate startDate endDate Indicates association class
5
Association Class Adds features to an association— models the idea that a class and its attributes are related to (and dependent on) an association between two classes.
6
Example: Instead of…
7
Use…
8
Consider an association class when… an attribute is related to an association instances of the association class have a lifetime dependency on the association there is a many-to-many association between two concepts and information associated with the association itself
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.