Automatic translation from UML specifications to B

Summary form only given. The research to merge the relatively simple and graphical nature of UML with the firm semantics bases of B has been mentioned several time in the literature. The goal is to propose automatic derivation schemes from UML to B specifications. Then, the construction of UML specifications is rigorously controlled by analyzing derived a specifications thanks to powerful B support tools. Dealing with the modeling UML behavioral diagrams in B, which has not been treated so far, is the main objective of the current work. We emphasize on the translation from use case, interaction and statechart diagrams into B specifications. We formalize each class operation, use case, event as a B operation which is encapsulated in a B abstract machine where are modeled the class data involved by the class operation, use case or event in question. In order to get the derived B specification more structured, we consider the class operation calling-called dependency, the use case structuring and the relation between events and its triggered transition. To complete the derivation schemes, we have proposed three derivation procedures based on class operations, use case and events I In addition, we have envisaged the following verifications on UML specifications: (i) the consistency of the class invariant; (ii) the conformity of object and state-chart diagrams regarding the class diagrams; (iii) the conformity of class operations, use cases regarding the class invariant; (iv) the class operation calling-called dependency and (v) the use case structuring.

[1]  E. Meyer,et al.  Développements formels par objets : Utilisation conjointe de B et d'UML , 2001 .

[2]  Michael Butler,et al.  Verifying Dynamic Properties of UML Models by Translation to the B Language and Toolkit , 2000 .

[3]  Jeanine Souquières,et al.  Modeling the class operations in B: a case study on the pump component , 2001 .

[4]  Jeanine Souquières,et al.  Integrating UML and B Specification Techniques , 2001, GI Jahrestagung.

[5]  Hung Ledang Des cas d'utilisation à une spécification B , 2001 .

[6]  Jeanine Souquières,et al.  New Approach for Modeling State-Chart Diagrams in B , 2001 .

[7]  Robert B. France,et al.  Defining Precise Semantics for UML , 2000, ECOOP Workshops.

[8]  Jeanine Souquières,et al.  Modeling class operations in B: Application to UML behavioral diagrams , 2001, Proceedings 16th Annual International Conference on Automated Software Engineering (ASE 2001).

[9]  Desmond D'Souza,et al.  Objects, Components, and Frameworks with UML: The Catalysis Approach , 1998 .

[10]  Jeanine Souquières,et al.  A Systematic Approach to Transform OMT Diagrams to a B Specification , 1999, World Congress on Formal Methods.

[11]  Colin F. Snook,et al.  Practitioners' views on the use of formal methods: an industrial survey by structured interview , 2001, Inf. Softw. Technol..

[12]  Jeanine Souquières,et al.  Formalizing UML Behavioral Diagrams with B , 2001 .

[13]  Ivar Jacobson,et al.  The Unified Modeling Language User Guide , 1998, J. Database Manag..

[14]  Jean-Raymond Abrial,et al.  The B-book - assigning programs to meanings , 1996 .

[15]  Ivar Jacobson,et al.  The unified modeling language reference manual , 2010 .

[16]  Jean-Michel Bruel Integrating formal and informal specification techniques. why? how? , 1998, Proceedings. 2nd IEEE Workshop on Industrial Strength Formal Specification Techniques.

[17]  H. P. Nguyen Derivation de specifications formelles b a partir de specifications semi-formelles , 1998 .

[18]  Amel Mammar,et al.  A Generic Process to Refine a B Specification into a Relational Database Implementation , 2000, ZB.

[19]  Chris Dollin,et al.  Object-oriented development: the fusion method , 1994 .

[20]  Alistair Cockburn,et al.  Structuring Use Cases with Goals , 2000 .