skip to main content
10.1145/1141277.1141606acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

powerJava: ontologically founded roles in object oriented programming languages

Published:23 April 2006Publication History

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.

References

  1. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  2. C. W. Bachman and M. Daya. The role concept in data models. In Procs. of VLDB'77, pages 464--476, 1977.Google ScholarGoogle Scholar
  3. 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 ScholarGoogle Scholar
  4. 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 ScholarGoogle Scholar
  5. 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 ScholarGoogle Scholar
  6. 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 ScholarGoogle Scholar
  7. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  8. 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 ScholarGoogle Scholar
  9. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  10. G. Gottlob, M. Schrefl, and B. Rock. Extending object-oriented systems with roles. ACM Transactions on Information Systems, 14(3):268--296, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. N. Guarino and C. Welty. Evaluating ontological decisions with ontoclean. Communications of ACM, 45(2):61--65, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. S. Herrmann. Object teams: Improving modularity for crosscutting collaborations. In Procs. of Net.ObjectDays, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  14. 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 ScholarGoogle Scholar
  15. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  16. M. P. Papazoglou and B. J. Kramer. A database model for object dynamics. The VLDB Journal, 6(2):73--96, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 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 ScholarGoogle Scholar
  18. F. Steimann. On the representation of roles in object-oriented and conceptual modelling. Data and Knowledge Engineering, 35:83--848, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. F. Steimann. A radical revision of UML's role concept. In Procs. of UML2000, pages 194--209, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. F. Steimann and P. Mayer. Patterns of interface-based programming. Journal of Object Technology, 2005.Google ScholarGoogle ScholarCross RefCross Ref
  21. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  22. 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 ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. powerJava: ontologically founded roles in object oriented programming languages

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SAC '06: Proceedings of the 2006 ACM symposium on Applied computing
        April 2006
        1967 pages
        ISBN:1595931082
        DOI:10.1145/1141277

        Copyright © 2006 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 23 April 2006

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate1,650of6,669submissions,25%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader