Thursday, July 07, 2005

Wed Yourself to UML with the Power of Associations, Part 2

Wed Yourself to UML with the Power of Associations, Part 2: "Wed Yourself to UML with the Power of Associations, Part 2
By thinking of associations as marriages, we've hit on a way of making even complex associations easy to learn. In part 2 of this series on UML associations, we look at a way of upgrading associations to classes, in order to use instantiation.

by Anneke Kleppe, July 6, 2005
Jos Warmer

In the first article in this series, we explained the concept of associations in UML and showed how to implement them. This article takes that knowledge one step further and explains the UML association class and its implementation. The implementation examples are again written in Java, but you can translate them to another programming language easily. The code examples are all completely generated by the UML/OCL tool called Octopus, which can be downloaded from http://www.klasse.nl/english/research/octopus-intro.html."

No comments: