Skip to main content

2016 | OriginalPaper | Buchkapitel

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

verfasst von : E. V. Sunitha, Philip Samuel

Erschienen in: Software Engineering Research, Management and Applications

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche um passende Fachinhalte oder Patente zu finden.

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

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!

Literatur
1.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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).
Metadaten
Titel
Object Oriented Method to Implement the Hierarchical and Concurrent States in UML State Chart Diagrams
verfasst von
E. V. Sunitha
Philip Samuel
Copyright-Jahr
2016
DOI
https://doi.org/10.1007/978-3-319-33903-0_10