Relationships Meet Their Roles in Object Oriented Programming (bibtex)
by Matteo Baldoni, Guido Boella, Leendert van der Torre
Abstract:
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.
Reference:
Relationships Meet Their Roles in Object Oriented Programming (Matteo Baldoni, Guido Boella, Leendert van der Torre), In International Symposium on Fundamentals of Software Engineering, International Symposium, FSEN 2007, Tehran, Iran, April 17-19 2007, Proceedings (Farhad Arbab, Marjan Sirjani, eds.), Springer, volume 4767, 2007.
Bibtex Entry:
@InProceedings{Baldoni2007c,
  Title                    = {Relationships Meet Their Roles in Object Oriented Programming},
  Author                   = {Matteo Baldoni and Guido Boella and Leendert van der Torre},
  Booktitle                = {International Symposium on Fundamentals of Software Engineering, International Symposium, FSEN 2007, Tehran, Iran, April 17-19 2007, Proceedings},
  Year                     = {2007},
  Editor                   = {Farhad Arbab and Marjan Sirjani},
  Pages                    = {440-448},
  Publisher                = {Springer},
  Series                   = {Lecture Notes in Computer Science},
  Volume                   = {4767},

  Abstract                 = {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. },
  Affiliation              = {icr},
  Bdsk-url-1               = {http://icr.uni.lu/leonvandertorre/papers/fsem07.pdf},
  Timestamp                = {2013.07.26},
  Url                      = {http://icr.uni.lu/leonvandertorre/papers/fsem07.pdf}
}
Powered by bibtexbrowser