Came across this while googling for code generation tools:

The Umple Model-Oriented Programming Technology

You can generate boiler plate code given a UML diagram.