powerJava: ontologically founded roles in object oriented programming language (bibtex)
by M. Baldoni, G. Boella, L. van der Torre
Abstract:
In this paper we introduce a new view on roles in Object Oriented programming languages, based on an ontological analysis of roles. A role is always associated with an object instance playing the role and also to an object instance (its institution) which represents its context. The de nition of a role depends on the de nition of the institution. This property allows to endow role-players with powers that can modify the state of the institution and of the other roles de ned in it. As an example, we introduce a role construct in Java, where the abolve features are interpreted as follows. Roles are implemented as classes, which can be instantiated only in presence of an instance of the player and of an instance of an institution. The de nition of a class implementing a role is included in the class of the institution, the role belongs to. Powers are methods which can access private elds and methods of the institution they belong to, and of the other roles of the same institution.
Reference:
powerJava: ontologically founded roles in object oriented programming language (M. Baldoni, G. Boella, L. van der Torre), In Procs. of ACM Symposium on Applied Computing (SAC'06), Track Object Oriented Programming Languages and Systems (OOPS'06), ACM, 2006.
Bibtex Entry:
@InProceedings{Baldoni2006a,
  Title                    = {{powerJava}: ontologically founded roles in object oriented programming language},
  Author                   = {M. Baldoni and G. Boella and L. van der Torre},
  Booktitle                = {Procs. of ACM Symposium on Applied Computing (SAC'06), Track Object Oriented Programming Languages and Systems (OOPS'06)},
  Year                     = {2006},

  Address                  = {New York (NJ)},
  Pages                    = {1414-1418},
  Publisher                = {ACM},

  Abstract                 = {In this paper we introduce a new view on roles in Object Oriented programming languages, based on an ontological analysis of roles. A role is always associated with an object instance playing the role and also to an object instance (its institution) which represents its context. The denition of a role depends on the denition of the institution. This property allows to endow role-players with powers that can modify the state of the institution and of the other roles dened in it. As an example, we introduce a role construct in Java, where the abolve features are interpreted as follows. Roles are implemented as classes, which can be instantiated only in presence of an instance of the player and of an instance of an institution. The denition of a class implementing a role is included in the class of the institution, the role belongs to. Powers are methods which can access private elds and methods of the institution they belong to, and of the other roles of the same institution.},
  Affiliation              = {icr},
  Bdsk-url-1               = {http://dl.acm.org/authorize?817547},
  File                     = {http://icr.uni.lu/leonvandertorre/papers/sac06.pdf},
  Timestamp                = {2013.07.26},
  Url                      = {http://dl.acm.org/authorize?817547}
}
Powered by bibtexbrowser