Class synthesis from role collaborations

  • Authors:
  • Anuj Kumar;Banshi D. Chaudhary

  • Affiliations:
  • Motilal Nehru National Institute of Technology, Allahabad (Uttar Pradesh), India;Motilal Nehru National Institute of Technology, Allahabad (Uttar Pradesh), India

  • Venue:
  • ISEC '08 Proceedings of the 1st India software engineering conference
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we advocate a use case based methodology for development of object oriented systems which give primacy to roles instead of class. We present an algorithm to synthesize partial collaborations between roles to obtain classes and interaction between them. It realizes temporal relations between roles by defining anonymous roles and its collaboration with other roles. During synthesis, the algorithm checks for the correctness of the partial collaborations with respect to contracts for events, and of synthesized collaboration with respect to pre, post and invariant conditions of the use case. A prototype tool has been implemented using AspectJ and GROOVE simulator to test the feasibility of the methodology