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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Booch G., Rumbaugh J., Jacobson I. The Unified Modeling Language Users Guide, Addison-Wesley, 1999.
Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P. Stal, M. Pattern-Oriented Software Architecture. A System of Patterns. John Wiley & Sons. 1996.
Fowler, M. Analysis Patterns: Reusable Object Models. Addison-Wesley, 1997.
Gamma, E., Helm, R., Johnson, R., Vlissides, J. Design Patterns: Elements of Reusable Object-Oriented Software. Professional Computing Series. Addison-Wesley, Reading, MA, 1994.
Gottlob, G., Schrefl, M., Rock, B. Extending Object Oriented Systems with Roles. ACM Trans. Information Systems, Vol 14, No. 3, 1996, pp. 268–296.
B.B. Kristensen, K.Obsterbye. Conceptual Modeling and Programming languages. SIGPLAN, Notices. 29(9), 1994.
B.B. Kristensen, K.Obsterbye. Roles Conceptual Abstraction theory and practical language issues. Theory and Practice of Object Systems. 2(3) 143-160, 1996.
Q. Li and F.H. Lochovsky. Adome: An advanced object modeling environment. IEEE Transactions on Knowledge and Data Engineering, 10(2):255-276, 1998.
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.
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).
B. Pernici. Objects with Roles. In IEEE/ACM Conference on Office Information Systems, Cambridge, Mass, 1990.
D. W. Renouf and B. Henderson-Sellers. Incorporating roles into moses. In TOOLS 15, Melbourne, Australia, 1996.
J. Richardson and P. Swartz. Extend objects to support multiple, independent Roles. SIGMOD Record, 20(2) 298–307, 1991.
Sanchez, P., Letelier, P., Ramos, I. Animating Formal Specifications with Inheritance in a DL-Based Framework. Requirements Engineering Journal, Springer-Verlag, 2000
E. Sciore. Object Specialization., ACM Transactions on Information Systems, 7(2): 103-122, 1989.
S. Spaccapietra, C. Parent, and E. Zimányi. Modeling Time from a Conceptual Perspective. In CIKM 98, pages 432–440, 1998.
F. Steinmann. On the representation of roles in object-oriented and conceptual modeling. Data and Knowledge Engineering. 35;86–103, October 2000.
Tepfenhart, W. Cusick, J.A Unified Object Topology. IEEE Software, May/June 1997. pp. 31–35
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.
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
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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