Social roles, from agents back to objects (bibtex)
by Matteo Baldoni, Guido Boella, Leendert W. N. van der Torre
Abstract:
In this paper we introduce a new view on roles in Object Oriented programming languages. This view is based on an ontological analysis of roles and attributes to roles the following properties: first, a role is always associated not only with an object instance playing the role, but also to another object instance which constitutes the context of the role and which we call institution. Second, the definition of a role depends on the definition of the institution which constitutes its context. Third, this second property allows to endow players of roles with powers to modify the state of the institution and of the other roles of the same institution. As an example of this model of roles in Object Oriented programming languages, we introduce a role construct in Java. We interpret these three features of roles in Java as the fact that, first, roles are implemented as classes which can be instantiated only in presence of an instance of the player of the role and of an instance of the class representing the institution. Second, the definition of a class implementing a role is included in the class definition of the institution the role belongs to. Thirdly, powers are methods of roles which can access private fields and methods of the institution they belong to and of the other roles of the same institution.
Reference:
Social roles, from agents back to objects (Matteo Baldoni, Guido Boella, Leendert W. N. van der Torre), In WOA, 2005.
Bibtex Entry:
@InProceedings{Baldoni2005a,
  Title                    = {Social roles, from agents back to objects},
  Author                   = {Matteo Baldoni and Guido Boella and Leendert W. N. van der Torre},
  Booktitle                = {WOA},
  Year                     = {2005},
  Pages                    = {164-170},

  Abstract                 = {In this paper we introduce a new view on roles in Object Oriented programming languages. This view is based on an ontological analysis of roles and attributes to roles the following properties: first, a role is always associated not only with an object instance playing the role, but also to another object instance which constitutes the context of the role and which we call institution. Second, the definition of a role depends on the definition of the institution which constitutes its context. Third, this second property allows to endow players of roles with powers to modify the state of the institution and of the other roles of the same institution. As an example of this model of roles in Object Oriented programming languages, we introduce a role construct in Java. We interpret these three features of roles in Java as the fact that, first, roles are implemented as classes which can be instantiated only in presence of an instance of the player of the role and of an instance of the class representing the institution. Second, the definition of a class implementing a role is included in the class definition of the institution the role belongs to. Thirdly, powers are methods of roles which can access private fields and methods of the institution they belong to and of the other roles of the same institution. },
  Bdsk-url-1               = {http://icr.uni.lu/leonvandertorre/papers/woa05.pdf},
  Bibsource                = {DBLP, http://dblp.uni-trier.de},
  Crossref                 = {DBLP:conf/woa/2005},
  Ee                       = {http://lia.deis.unibo.it/books/woa2005/papers/23.pdf},
  Timestamp                = {2013.07.26},
  Url                      = {http://icr.uni.lu/leonvandertorre/papers/woa05.pdf}
}
Powered by bibtexbrowser