Modeling Class Operations in B: Application to UML Behavioral Diagrams

  • Authors:
  • Hung Ledang;Jeanine Souquières

  • Affiliations:
  • -;-

  • Venue:
  • Proceedings of the 16th IEEE international conference on Automated software engineering
  • Year:
  • 2001

Quantified Score

Hi-index 0.01

Visualization

Abstract

An appropriate approach for translating UML to B formalspecifications allows one to use UML and B jointly inan unified, practical and rigorous software development.We formally analyze UML specifications via their correspondingB formal specifications. This point is significantbecause B support tools like AtelierBare available. We canalso use UML specifications as a tool for building B specifications,so the development of B specifications becomeeasier.In this paper, we address the problem of automaticderivation from UML behavioral diagrams into B specifications,which has been so far an open issue. A new approachfor modeling class operations in B is presented. Each classoperation is mapped into a B operation. A class operationand its involved data are mapped into the same B abstractmachine (BAM). The class operation calling-called dependencyis used to arrange derived B operations into BAMs.For each calling-called pair of class operations, the B operationof the called operation participates in the implementationof the B operation of the calling operation.