Reference : Relationships Meet Their Roles in Object Oriented Programming
Scientific congresses, symposiums and conference proceedings : Paper published in a book
Engineering, computing & technology : Computer science
http://hdl.handle.net/10993/25079
Relationships Meet Their Roles in Object Oriented Programming
English
Baldoni, Matteo [University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC) >]
Boella, Guido [University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC) >]
van der Torre, Leon mailto [University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC) >]
2007
International Symposium on Fundamentals of Software Engineering, International Symposium, FSEN 2007, Tehran, Iran, April 17-19 2007, Proceedings
Springer
Lecture Notes in Computer Science 4767
440–448
Yes
International
978-3-540-75697-2
International Symposium on Fundamentals of Software Engineering, International Symposium, FSEN 2007, Tehran, Iran, April 17-19 2007, Proceedings
2007
[en] patterns modelling relationships ; Object Oriented programming
[en] In this paper we study how roles can be added to patterns modelling relationships in Object Oriented programming. Relationships can be introduced in programming languages either by reducing them to attributes of the objects which participate in the relationship, or by modelling the relationship itself as a class whose instances have the participants of the relationships among their attributes. However, even if roles have been recognized as an essential component of relationships, also in modelling languages like UML, they have not been introduced in Object Oriented programming when it is necessary to model relationships. Introducing roles allows to add attributes and behaviors to the participants in the relationship, rather than to the relationship itself, and to distinguish the natural types of the participants in the relationships from the roles the participants acquire in the relationships. We show how the role model of the language powerJava can be used to endow the relationship as attribute pattern with roles.
Researchers ; Professionals ; Students ; General public ; Others
http://hdl.handle.net/10993/25079
10.1007/978-3-540-75698-9_32
http://link.springer.com/chapter/10.1007%2F978-3-540-75698-9_32
4767

There is no file associated with this reference.

Bookmark and Share SFX Query

All documents in ORBilu are protected by a user license.