Skip to main content

A Code Generation Process for Role Classes. An approach based on Formal Techniques and Design Patterns

  • Chapter
Technology of Object-Oriented Languages, Systems and Architectures

Part of the book series: The Kluwer International Series in Engineering and Computer Science ((SECS,volume 732))

  • 121 Accesses

Abstract

In this work, we present an automatic code generation process from conceptual models. This process incorporates the use of design patterns in OO-Method [9], an automatic software production method, which is built on a formal object-oriented model called OASIS [10]. Our approach defines a precise mapping between conceptual patterns, design patterns and their implementation. Design patterns make code generation process easy because they bring the problem space to the solution space. In order to understand these ideas, we introduce a complete code generation of conceptual models that have player/role relationships. This proposal can be incorporated into CASE tools, making the automation of the software production process feasible.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Booch G., Rumbaugh J., Jacobson I. The Unified Modeling Language Users Guide, Addison-Wesley, 1999.

    Google Scholar 

  2. Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P. Stal, M. Pattern-Oriented Software Architecture. A System of Patterns. John Wiley & Sons. 1996.

    Google Scholar 

  3. Fowler, M. Analysis Patterns: Reusable Object Models. Addison-Wesley, 1997.

    Google Scholar 

  4. Gamma, E., Helm, R., Johnson, R., Vlissides, J. Design Patterns: Elements of Reusable Object-Oriented Software. Professional Computing Series. Addison-Wesley, Reading, MA, 1994.

    Google Scholar 

  5. Gottlob, G., Schrefl, M., Rock, B. Extending Object Oriented Systems with Roles. ACM Trans. Information Systems, Vol 14, No. 3, 1996, pp. 268–296.

    Google Scholar 

  6. B.B. Kristensen, K.Obsterbye. Conceptual Modeling and Programming languages. SIGPLAN, Notices. 29(9), 1994.

    Google Scholar 

    Google Scholar 

  7. B.B. Kristensen, K.Obsterbye. Roles Conceptual Abstraction theory and practical language issues. Theory and Practice of Object Systems. 2(3) 143-160, 1996.

    Article  MathSciNet  Google Scholar 

  8. Q. Li and F.H. Lochovsky. Adome: An advanced object modeling environment. IEEE Transactions on Knowledge and Data Engineering, 10(2):255-276, 1998.

    Article  Google Scholar 

  9. Pastor, O.; Insfrán, E.; Pelechano, V.; Merseguer, J.; Romero, J.; OO-METHOD: An OO Software Production Environment Combining Conventional and Formal Methods, n Proceedings of 9th International Conference, CAiSE97, Barcelona, Catalonia, Spain, Springer-Verlag, June 1997, pag 145–158.

    Google Scholar 

  10. Pastor O., Hayes F., Bear S. OASIS: An object-oriented specification language. In P. Loucopoulos, editor, Proceedings of the CaiSE′92 conference, pp. 348-363, Berlin, Springer, LNCS 593 (1992).

    Google Scholar 

  11. B. Pernici. Objects with Roles. In IEEE/ACM Conference on Office Information Systems, Cambridge, Mass, 1990.

    Google Scholar 

  12. D. W. Renouf and B. Henderson-Sellers. Incorporating roles into moses. In TOOLS 15, Melbourne, Australia, 1996.

    Google Scholar 

  13. J. Richardson and P. Swartz. Extend objects to support multiple, independent Roles. SIGMOD Record, 20(2) 298–307, 1991.

    Article  Google Scholar 

  14. Sanchez, P., Letelier, P., Ramos, I. Animating Formal Specifications with Inheritance in a DL-Based Framework. Requirements Engineering Journal, Springer-Verlag, 2000

    Google Scholar 

  15. E. Sciore. Object Specialization., ACM Transactions on Information Systems, 7(2): 103-122, 1989.

    Article  Google Scholar 

  16. S. Spaccapietra, C. Parent, and E. Zimányi. Modeling Time from a Conceptual Perspective. In CIKM 98, pages 432–440, 1998.

    Chapter  Google Scholar 

  17. F. Steinmann. On the representation of roles in object-oriented and conceptual modeling. Data and Knowledge Engineering. 35;86–103, October 2000.

    Google Scholar 

  18. Tepfenhart, W. Cusick, J.A Unified Object Topology. IEEE Software, May/June 1997. pp. 31–35

    Google Scholar 

  19. P. Wegner and B. Zdonik. Inheritance as an incremental modification mechanism or what like is and isn’t like. In S. Gjessing, editor, ECOOP′88: European Conference on Object-Oriented Programming, pages 55–77, Berlin, 1988. Springer-Verlag. Lecture Notes in Computer Sience 276.

    Google Scholar 

  20. R.K. Wong, H.L. Chau, and F.H. Lochovsky. Dynamic knowledge Representation in DOOR. In N. Pissinou K. Makki X. Wu, J. Tsai, editor, Proceedings of the 1997 IEEE Knowledge and Data Engineering Exchange Workshop, pages 89–96, Los Alamitos, 1997. IEEE Computer Society

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer Science+Business Media New York

About this chapter

Cite this chapter

Pelechano, V., Albert, M., Campos, E., Pastor, O. (2003). A Code Generation Process for Role Classes. An approach based on Formal Techniques and Design Patterns. In: D’Hondt, T. (eds) Technology of Object-Oriented Languages, Systems and Architectures. The Kluwer International Series in Engineering and Computer Science, vol 732. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-0413-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-1-4615-0413-9_10

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4613-5064-4

  • Online ISBN: 978-1-4615-0413-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics