Combined Modelling and Programming Support for Composite States and Extensible State Machines
Kjetil Andresen, Birger Møller-Pedersen, Ragnhild Kobro Runde
2015
Abstract
Most modelling languages support full state machine modelling, including especially composite states. Existing approaches to programming with states (state design patterns) either represent composite states by means of inheritance between state classes, or do not support composite states, and instead use inheritance for specialization of extensible state machines. In this paper, we present 1) a state design pattern using delegation to support composite states and inheritance together with virtual classes to support extensible state machines, and 2) a framework, implemented in Java, which also supports history and entry/exit actions. Together, these form the basis for developing support for state machines in a combined modelling and programming language.
DownloadPaper Citation
in Harvard Style
Andresen K., Møller-Pedersen B. and Runde R. (2015). Combined Modelling and Programming Support for Composite States and Extensible State Machines . In Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-083-3, pages 231-238. DOI: 10.5220/0005237302310238
in Bibtex Style
@conference{modelsward15,
author={Kjetil Andresen and Birger Møller-Pedersen and Ragnhild Kobro Runde},
title={Combined Modelling and Programming Support for Composite States and Extensible State Machines},
booktitle={Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2015},
pages={231-238},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005237302310238},
isbn={978-989-758-083-3},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Combined Modelling and Programming Support for Composite States and Extensible State Machines
SN - 978-989-758-083-3
AU - Andresen K.
AU - Møller-Pedersen B.
AU - Runde R.
PY - 2015
SP - 231
EP - 238
DO - 10.5220/0005237302310238