会议专题

Implementing Statecharts using Java Enums

Statechart, which is one of the important diagrams in Unified Modeling Language (UML), represents reactive behavior of a class of objects. Implementing statecharts has been difficult for programmers because the commonly used object-oriented programming languages do not support statecharts at the language level. In this study, we present a new approach to implement statecharts using Java enums. Each state is represented as an enum-value. The whole statechart behavior is encapsulated within the Statechart class. This class is nested inside the owner class of the statechart. The resulting code is object-oriented, efficient and well-structured.

Statecharts UML Java Object Oriented Programming

Jauhar Ali

College of Engineering and Computer Science Abu Dhabi University Abu Dhabi, UAE

国际会议

2010 2nd International Conference on Education Technology and Computer(第二届IEEE教育技术与计算机国际会议 ICETC 2010)

上海

英文

413-417

2010-06-22(万方平台首次上网日期,不代表论文的发表时间)