Map My Data (MMD) is a codegenerator for Freepascal. It generates persistence classes that perform mapping between business objects and SQL statements.
This codegenerator allows you to get state machine implementation files in C from its graphic representation. StarUML is used for drawing. Has been created primarily for using in embedded programming (microcontrollers, etc).Plain C code as a result.