Skip to main content
Top

2016 | OriginalPaper | Chapter

Object Oriented Method to Implement the Hierarchical and Concurrent States in UML State Chart Diagrams

Authors : E. V. Sunitha, Philip Samuel

Published in: Software Engineering Research, Management and Applications

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The event driven systems can be modeled and implemented using UML state chart diagrams. Code generation tools are used in the software development for making software system designs and for automatically generating skeletal source code from the system designs. Many research works concentrate on the automatic code generation from the state diagrams. Unfortunately the existing Object oriented languages do not support the direct implementation of state diagrams. We cannot find a one to one mapping between elements in the state chart diagram and the Object oriented programming constructs. The two main components of state diagram that cannot be effectively implemented in object oriented way is state hierarchy and concurrency. In this paper, we present an implementation pattern for the state diagram which includes both hierarchical and concurrent states. The state transitions of parallel states are delegated to the composite state class. We implemented the proposed approach and compared with similar tools and the result is promising.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Rumbaugh, J., Jacobson, I., & Booch, G. (2007). Object-oriented analysis and design with applications (3rd ed.). Addison-Wesley. Rumbaugh, J., Jacobson, I., & Booch, G. (2007). Object-oriented analysis and design with applications (3rd ed.). Addison-Wesley.
2.
go back to reference Mellor, S. J., & Balcer, M. J. (2002) Executable UML a foundation for model-driven architecture. Addison-Wesley. Mellor, S. J., & Balcer, M. J. (2002) Executable UML a foundation for model-driven architecture. Addison-Wesley.
3.
go back to reference Ali, J., & Tanaka, J. (2001). Implementing the dynamic behavior represented as multiple state diagrams and activity diagrams. Journal of Computer Science and Information Management (JCSIM), 2(1), 24–34. Ali, J., & Tanaka, J. (2001). Implementing the dynamic behavior represented as multiple state diagrams and activity diagrams. Journal of Computer Science and Information Management (JCSIM), 2(1), 24–34.
4.
go back to reference Dominguez, E., et al. (2012). A systematic review of code generation proposals from state machine specifications. Journal of Information and Software Technology, 54, 1045–1066. Dominguez, E., et al. (2012). A systematic review of code generation proposals from state machine specifications. Journal of Information and Software Technology, 54, 1045–1066.
5.
go back to reference Douglass, B. P. (1998). Real time UML—developing efficient objects for embedded systems. Massachusetts: Addison-Wesley. Douglass, B. P. (1998). Real time UML—developing efficient objects for embedded systems. Massachusetts: Addison-Wesley.
6.
go back to reference Jakimi, A., & Elkoutbi, M. (2009). Automatic code generation from UML state chart. International Journal of Engineering and Technology, 1(2), 165–168.CrossRef Jakimi, A., & Elkoutbi, M. (2009). Automatic code generation from UML state chart. International Journal of Engineering and Technology, 1(2), 165–168.CrossRef
7.
go back to reference Ali, J., & Tanaka, J. (2000). Converting state charts into Java code. In Proceedings Fourth World Conference on Integrated Design and Process Technology (IDPT’99), Dallas, Texas, USA. Ali, J., & Tanaka, J. (2000). Converting state charts into Java code. In Proceedings Fourth World Conference on Integrated Design and Process Technology (IDPT’99), Dallas, Texas, USA.
8.
go back to reference Niaz, I. A., & Tanaka, J. (2005). An object-oriented approach to generate Java code from UML state charts. International Journal of Computer and Information Science, 6(2). Niaz, I. A., & Tanaka, J. (2005). An object-oriented approach to generate Java code from UML state charts. International Journal of Computer and Information Science, 6(2).
9.
go back to reference Lazareviae, L., & Miliaev, D. (2000). Finite state machine automatic code generation. In IASTED conference, Austria. Lazareviae, L., & Miliaev, D. (2000). Finite state machine automatic code generation. In IASTED conference, Austria.
10.
go back to reference Spinke, V. (2013) An object-oriented implementation of concurrent and hierarchical state machines, Journal of Information and Software Technology, l–55, 1726–1740. Spinke, V. (2013) An object-oriented implementation of concurrent and hierarchical state machines, Journal of Information and Software Technology, l–55, 1726–1740.
11.
go back to reference Aabidi, M. H., et al. (2013). An object oriented approach to generate Java code from hierarchical-concurrent and history states. International Journal of Information and Network Security, 2, 429–440. Aabidi, M. H., et al. (2013). An object oriented approach to generate Java code from hierarchical-concurrent and history states. International Journal of Information and Network Security, 2, 429–440.
12.
go back to reference Ali, J. (2010). Using Java Enums to implement concurrent-hierarchical state machines. Journal of Software Engineering 4(3), 215–230. ISSN 1819-4311. Ali, J. (2010). Using Java Enums to implement concurrent-hierarchical state machines. Journal of Software Engineering 4(3), 215–230. ISSN 1819-4311.
13.
go back to reference Schattkowsky, T., & Muller, W. (2005). Transformation of UML state machines for direct execution, VLHCC. In Proceedings of the 2005 IEEE Symposium on Visual Languages and Human-Centric Computing (pp. 117–124). Schattkowsky, T., & Muller, W. (2005). Transformation of UML state machines for direct execution, VLHCC. In Proceedings of the 2005 IEEE Symposium on Visual Languages and Human-Centric Computing (pp. 117–124).
14.
go back to reference Rudhal, K. T., & Goldin, S. E. (2008). Adaptive multi-language code generation using YAMDAT. In Proceedings of ECTI-CON 2008, Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, 5th International Conference, 2008, 14–17 May 2008 (Vol. 1, pp. 181–184). Rudhal, K. T., & Goldin, S. E. (2008). Adaptive multi-language code generation using YAMDAT. In Proceedings of ECTI-CON 2008, Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, 5th International Conference, 2008, 14–17 May 2008 (Vol. 1, pp. 181–184).
Metadata
Title
Object Oriented Method to Implement the Hierarchical and Concurrent States in UML State Chart Diagrams
Authors
E. V. Sunitha
Philip Samuel
Copyright Year
2016
DOI
https://doi.org/10.1007/978-3-319-33903-0_10

Premium Partner