Converting Statecharts into Java Code

Jauhar Ali, Jiro Tanaka · 2001

This paper presents an implementation model to convert statecharts, representing the behavior of multistate classes in a system, into executable code in an object-oriented language like Java. The concept of a helper object is introduced which handles all the statespecific requests forwarded to it by the multi-state domain object. A new helper object replaces the old one, whenever the state of the domain object changes. The proposed model follows the object variant of statecharts supported by the Unified Modeling Language (UML). Our model can work as a basis for automatic code generation for object-oriented systems.

Read the paper · More papers on PaperTik