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 definition of a role depends on the definition 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 defined 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 definition 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 fields and methods of the institution they belong to, and of the other roles of the same institution.
- A. Albano, R. Bergamini, G. Ghelli, and R. Orsini. An object data model with roles. In Procs. of VLDB'93, pages 39--51, 1993. Google ScholarDigital Library
- C. W. Bachman and M. Daya. The role concept in data models. In Procs. of VLDB'77, pages 464--476, 1977.Google Scholar
- M. Baldoni, G. Boella, and L. van der Torre. Roles as a coordination construct: Introducing power Java. In Procs. of MTCoord'05 at Coordination'05, 2005.Google Scholar
- M. Baldoni, G. Boella, and L. van der Torre. Social roles, from agents back to objects. In Proc. of WOA 2005: Dagli oggetti agli agenti, simulazione e analisi formale di sistemi complessi, Camerino, Italy, november 2005. Pitagora Editrice Bologna.Google Scholar
- L. Bettini, V. Bono, and S. Likavec. A core calculus of mixin-based incomplete objects. In Procs. of FOOL Workshop, pages 29--41, 2004.Google Scholar
- G. Boella and L. van der Torre. An agent oriented ontology of social reality. In Procs. of FOIS'04, pages 199--209, Torino, 2004. IOS Press.Google Scholar
- G. Boella and L. van der Torre. Attributing mental attitudes to roles: The agent metaphor applied to organizational design. In Procs. of ICEC'04. IEEE Press, 2004. Google ScholarDigital Library
- G. Boella and L. van der Torre. Regulative and constitutive norms in normative multiagent systems. In Procs. of KR'04, pages 255--265. AAAI Press, 2004.Google Scholar
- M. Dahchour, A. Pirotte, and E. Zimanyi. A generic role model for dynamic objects. In Procs. of CAiSE'02, volume 2348 of LNCS, pages 643--658. Springer, 2002. Google ScholarDigital Library
- G. Gottlob, M. Schrefl, and B. Rock. Extending object-oriented systems with roles. ACM Transactions on Information Systems, 14(3):268--296, 1996. Google ScholarDigital Library
- N. Guarino and C. Welty. Evaluating ontological decisions with ontoclean. Communications of ACM, 45(2):61--65, 2002. Google ScholarDigital Library
- S. Herrmann. Object teams: Improving modularity for crosscutting collaborations. In Procs. of Net.ObjectDays, 2002. Google ScholarDigital Library
- B. B. Kristensen and K. Osterbye. Roles: Conceptual abstraction theory and practical language issues. Theory and Practice of Object Systems, 2(3):143--160, 1996. Google ScholarDigital Library
- C. Masolo, L. Vieu, E. Bottazzi, C. Catenacci, R. Ferrario, A. Gangemi, and N. Guarino. Social roles and their descriptions. In Procs. of KR'04, pages 267--277. AAAI Press, 2004.Google Scholar
- M. Mezini and K. Ostermann. Conquering aspects with caesar. In Procs. of the 2nd International Conference on Aspect-Oriented Software Development (AOSD), pages 90--100. ACM Press, 2004. Google ScholarDigital Library
- M. P. Papazoglou and B. J. Kramer. A database model for object dynamics. The VLDB Journal, 6(2):73--96, 1997. Google ScholarDigital Library
- N. Scharli, S. Ducasse, O. Nierstrasz, and A. Black. Traits: Composable units of behavior. In Springer Verlag, editor, LNCS, vol. 2743: Procs. of ECOOP'03, pages 248--274, Berlin, 2003.Google Scholar
- F. Steimann. On the representation of roles in object-oriented and conceptual modelling. Data and Knowledge Engineering, 35:83--848, 2000. Google ScholarDigital Library
- F. Steimann. A radical revision of UML's role concept. In Procs. of UML2000, pages 194--209, 2000. Google ScholarDigital Library
- F. Steimann and P. Mayer. Patterns of interface-based programming. Journal of Object Technology, 2005.Google ScholarCross Ref
- F. Steimann, W. Siberski, and T. Kühne. Towards the systematic use of interface in java programming. In Proc. of 2nd Int. Conf. on the Principle and Practice of Programming in Java, pages 13--17, 2003. Google ScholarDigital Library
- R. K. Wong, H. L. Chau, and F. H. Lochovsky. A data model and semantics of objects with dynamic roles. In Procs. of IEEE Data Engineering Conference, pages 402--411, 1997. Google ScholarDigital Library
Index Terms
- powerJava: ontologically founded roles in object oriented programming languages
Recommendations
Identifying Crucial Know-How and Knowing-That for Medical Decision Support
In this paper, the authors propose a multi-criteria methodology for identifying "Crucial Know-How/Knowing-That". Know-How and Knowing-That are two kinds of knowledge. Know-How is a disposition to perform a type of action whereas Knowing-That is a belief ...
The principle of knowledge management
The central dogma of Molecular Biology could be a reference for the principle of knowledge management. The knowledge-creating bases learned from DNA could be organised to describe the knowledge creation process. The knowledge assets play roles in ...
The Problem of Tacit Knowledge --Is It Possible to Externalize Tacit Knowledge?
Proceedings of the 2009 conference on Information Modelling and Knowledge Bases XXVarious authors in the field of knowledge management have adopted the view that individuals' tacit knowledge should be externalized and shared in organizations. According to Polanyi's original theory of tacit knowing, an explicit expression of tacit ...
Comments