we described a set of fundamental mapping rules
from the Interaction metamodel to the fUML
metamodel. A simple example was presented for
which we depicted a pseudo fUML snippet. Finally,
we raised awareness for open issues in fUML and
UML that we faced during our (manual) translation.
This approach is, to the best of our knowledge, the
first attempt to translate Interactions to fUML.
One surprising finding is that Interactions and
Activities, apart from fundamentally different
building blocks, are actually quite close to each other.
Even if not reported in this position paper, we have
identified suitable mappings for almost all concepts
in Interactions. Some of those mappings (which we
spared in this paper) are based on the assumption that
fUML supports the execution of context-aware
owned behaviors and CallEvents.
In particular the seamless integration of
executable Interactions with other executable UML
behaviors and the precise semantics of composite
structures needs more attention. For the sake of
simplicity, we treated Interactions in an isolated way
in our work. This led to a working, but autarkic proof-
of-concept. Such an autarkic view is suitable in order
to focus on the executable semantics of building
blocks firstly, but for a realistic application of
executable specifications, the seamless integration
needs to be achieved. Rules and constraints have to
be identified and specified to assist engineers building
such seamless and interworking executable
specification that potentially consist of fUML,
executable state machines, executable Interactions
and precise composite structures.
Future work in that area targets in particular
completion of our mapping rules. We plan
furthermore to support the executable UML working
group at OMG in raising awareness of the issues we
found and in resolving these issues. Our long-term
goal, however, is the utilization of fUML for building
a seamlessly integrated test execution system for
fUML simulations. The upcoming OMG standard
UML Testing Profile 2 enables specifying test case
specifications as Interactions, which are compiled
into executable test cases based fUML.
REFERENCES
Haugen, Ø. and Stølen, K.: STAIRS — Steps to analyze
interactions with refinement semantics. In Proc.
International Conference on UML, 2003.
Haugen, Ø., Husa, K. E., Runde, R. K., and Stølen, K.: Why
timed sequence diagrams require three-event
semantics. In Scenarios: Models, Transformations and
Tools, 2005.
Haugen, Ø., Husa, K.E., Runde, R.K., and Stølen, K.:
STAIRS towards formal design with sequence
diagrams. Journal of Software and Systems Modeling,
2005.
Runde, R. K., Haugen, Ø., Stølen, K.: Refining UML
interactions with underspecification and
nondeterminism. In: Nordic Journal of Computing, 2005.
Lund, M. S., and Stølen, K.: A fully general operational
semantics for UML 2.0 sequence diagrams with
potential and mandatory choice. In: Proceedings of the
14th international conference on Formal Methods
(FM'06), 2006.
Störrle, H.: Semantics of interactions in UML 2.0. In:
Proceedings of IEEE Symposium on Human Centric
Computing Languages and Environments, 2003.
Störrle, H.: Trace Semantics of UML 2.0 Interactions.
Technical report, University of Munich, 2004.
Knapp, A.: A Formal Semantics for UML Interactions. In:
R. France and B. Rumpe (eds.): Proc. 2nd Int. Conf.
Unified Modeling Language (UML’99), 1999.
Cengarle, M., Knapp, A.: UML 2.0 Interactions: Semantics
and Refinement. In: J. Jürjens, E. B. Fernàndez, R.
France, B. Rumpe (eds.): 3rd Int. Workshop on Critical
Systems Development with UML (CSDUML’04),
2004.
Li, M., and Ruan Y.: Approach to Formalizing UML
Sequence Diagrams. In: Proc. 3rd In-ternational
Workshop on Intelligent Systems and Applications
(ISA), 2011.
Shen, H., Virani, A.; Niu, J.: Formalize UML 2 Sequence
Diagrams. In: Proc. 11th IEEE High Assurance
Systems Engineering Symposium (HASE), 2008.
Störrle, H.: Assert, Negate and Refinement in UML-22
Interactions. In: J. Jürjens, B. Rumpe, R. France, and E.
B. Fernandez, Proc. Wsh. Critical Systems
Development with UML (CSDUML’03), 2003.
Harel, D., and Maoz, S.: Assert and negate revisited: modal
semantics for UML sequence diagrams. In: Proc.
International workshop on Scenarios and state
machines: models, algorithms, and tools, 2006.
Knapp, A., and Wuttke, J.: Model Checking of UML 2.0
Interactions. In; Proc. of the 2006 International
conference on Models in Software Engineering
(MoDELS'06), Springer, Heidelberg 2006.
Wendland, M.-F., Haugen, O., and Schneider, M.:
Evolutions of UML Interactions metamodel. In; Proc.
of the 2013 International conference on Models in
Software Engineering (MoDELS'13), Springer,
Heidelberg, 2013.
Damm, W., Harel, D.: LSCs: Breathing Life into Message
Sequence Charts. J. on Formal Methods in System
Design 19 (1), 45–80 (2001). In Proc. 3rd IFIP Int.
Conf. on Formal Methods for Open Object-Based
Distributed Systems (FMOODS’99 ), 1999.
UML, Object Management Group: Unified Modeling
Language 2.5, http://www.omg.org/spec/UML, 2015.