Communications of the ACS, Vol 4, No 2 (2011)

Font Size:  Small  Medium  Large

هندسة سيناريوهات لغة النمذجة الموحّدة وإلانتاج الأوتوماتيكي للتوليف UML Scenarios engineering and automatic code generation

عبد السلام جاكمي, محمد الكتبي

Abstract


In most of the object-oriented approaches for software design, including the use of the standard Unified Modeling Language(UML), different specifications based on multiple models are obtained for describing the different aspects of a system. However, software industry still cannot provide satisfactory solutions to fill the gap between high-level modeling language and programming languages.

In this paper, we suggest a requirement engineering process that composes UML scenarios for obtain a global description of a given service of the system and implementation code from the UML use case (service). Scenarios are acquired in form of diagrams as defined by the UML. These diagrams are composed and transformed into Petri net specifications and merged to obtain a global Petri net specification capturing the behavior of the entire system. We suggest four operators: sequential operator, concurrent operator, conditional operator and iteration operator to compose a set of scenarios that describe a use case of a given system.We developed algorithm and tool support that can automatically produce a global sequence diagram representing any way of composing them and to offer a code generation of sequence diagram resulting.

Keywords: UML, Sequence diagrams, requirement engineering, Petri net, Scenarios composition, code generation.



Full Text: DOCX