Binary package “dia2code” in ubuntu precise

a dia-UML code generator

 dia2code is a code generator which uses UML diagrams produced by dia,
 and turns them into C, C++, Java, Ada, PHP, Python, Shapefile, SQL,
 and C# files.