transformation from class diagram and use case
description to sequence diagram, but there exist the
ambiguity in the table, for example, different
elements of sequence diagram are generated from
same input items of class diagram and use case
description. Our approach does not provide such
ambiguous transformations.
Mason, P.A.J. et al. proposed a paraphrasing
method between use case descriptions (scenarios)
and sequence diagrams (Mason, 2009). They
classify events in scenarios into 6 types, that is to
say, Communication events (Service Request type,
Service Provision type, Information Request type,
and Information Provision type), Action type, and
Timing type. They give types of elements in
scenarios, such as “sender,” “receiver,” “message,”
“action,” and “timer” with a data dictionary. Using
the information in scenarios, sequence diagram can
be generated. It seems a labour to classify events and
add types to elements in scenarios, while our
approach does not require such a labour.
Segundo, L.M. et al. proposed a generation
system of sequence diagrams from use case
description (Segundo et al., 2007). They gave
several grammatical rules for use case descriptions,
such as “the use case description is built by simple
sentences separated by periods,” “the sentences must
begin with an article,” “the actor must include an
article at the beginning,” “the system will
considerate that the first noun found in the sentence
is the originator subject,” and so on. Since they use
simple sentences without complex time sequence,
generated sequence diagrams do not contain
combined fragments.
El-Attar, M. proposed a method for assembling
sequence diagrams from use case scenarios (El-Attar,
2011). In his approach, scenarios can be represented
as sequence diagrams. His approach is not a
transformation from scenarios to sequence diagram
but combining sequence diagrams (or scenarios) into
an integrated sequence diagram.
7 CONCLUSIONS
We proposed a transformation method from
scenarios written with SCEL to sequence diagrams.
We have developed a prototype system based on the
method. Through evaluation of the method and
prototype, we found our method and system
contributes to generate sequence diagrams from
scenarios efficiently and correctly.
Scenarios in SCEL can provide pre-conditions
and post-conditions, but we ignore them in this
paper. Using combined fragment, we will transform
these conditions in sequence diagram. This is left as
a future work.
ACKNOWLEDGEMENTS
We thank to Dr. H. Itoga and Mr. H. Nobuhira,
members of Software Engineering Laboratory,
Ritsumeikan University for their contributions to
this research. This research is partly supported by
Grant-in-Aid for Scientific Research, Japan Society
for the Promotion of Science, No.16K00112.
REFERENCES
Achour, C. B., 1998. Writing and correcting textual
scenarios for system design. In Proc. 9
th
International
Workshop on Database and Expert Systems
Applications, pp.166-170.
EL-Attar, M., 2011. A systematic approach to assemble
sequence diagrams from use case scenarios. In Proc.
3
rd
International Conference on Computer Research
and Development, pp.171-175.
Fillmore C. J., 1968. The Case for Case, Universals in
Linguistic Theory, ed. Bach & Harrms, Holy, Richard
and Winston Publishing, Chicago.
Jali, N., Grer, D., Hanna, P., 2014. Behavioral Model
Generation from Use Cases Based on Ontology
mapping and GRASP Patterns, In Proc. 26
th
SEKE2014, pp.324-329.
Li, L., 2000. Translating use cases to sequence diagrams.
In Proc. 15
th
IEEE ASE, pp.293-296.
Mason, P.A.J., Supsrisupachai, S., 2009. Paraphrasing use
case descriptions and Sequence Diagrams: An
approach with tool support. In Proc. 6
th
International
Conference on Electrical Engineering/Electronics,
Computer, Telecommunications and Information
Technology, pp.722-725.
Ohnishi, A., 1996. Software Requirements Specification
Database based on Requirements Frame Model, In
Proc. IEEE 2
nd
ICRE96, pp.221-228.
PlantUML, 2018. Language Reference Guide, http://
http://plantuml.com/PlantUML_Language_Reference_
Guide.pdf (Date of access, April 19, 2018)
Sawprakhon, P., Limpiyakom, Y., 2014. Model-driven
Approach to Constructing UML Sequence Diagram. In
Proc. ICISA, pp.1-4.
Segundo, L.M., Herrera, R.R., Herrera, Y.P., 2007. UML
Sequence Diagram Generator System from Use case
Description Using Natural Language. In Proc.
CERMA, pp.360-363.
Weidenhaupt, K., Pohl, K., Jarke, M., Haumer, P., 1998:
Scenarios in System Development: Current Practice,
IEEE Software, March, pp.34-45.
Zhang, H., Ohnishi, A., 2004. Transformation Method of
Scenarios from Different Viewpoints. In Proc. 11
th
APSEC 2004, pp.492-501.