advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the code for this article
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Wed Yourself to UML with the Power of Associations

Some UML concepts are more difficult to grasp than others, and associations are a concept that proves the rule. But by thinking of associations as marriages, we've hit on a way of making even complex associations easy to learn. Walk through this tutorial, which includes implementation examples in Octopus.  


 
advertisement
he UML association is a concept that is often misunderstood. The most common misperception is that an association is the same as a pointer, or maybe two pointers, in a program. UML associations are much more powerful than that.

This article will explain exactly what UML associations are and the ways in which you can implement them. The implementation examples are written in Java, but you can perform a translation to another programming language easily. The code examples in this article were all completely generated by the UML/OCL tool called Octopus, which can be downloaded from http://www.klasse.nl/english/research/octopus-intro.html. The code examples themselves can be downloaded here or from the link in the left-hand column.


It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement