[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ 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 2006 Publication 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.
[2]
C. W. Bachman and M. Daya. The role concept in data models. In Procs. of VLDB'77, pages 464--476, 1977.
[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.
[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.
[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.
[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.
[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.
[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.
[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.
[10]
G. Gottlob, M. Schrefl, and B. Rock. Extending object-oriented systems with roles. ACM Transactions on Information Systems, 14(3):268--296, 1996.
[11]
N. Guarino and C. Welty. Evaluating ontological decisions with ontoclean. Communications of ACM, 45(2):61--65, 2002.
[12]
S. Herrmann. Object teams: Improving modularity for crosscutting collaborations. In Procs. of Net.ObjectDays, 2002.
[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.
[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.
[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.
[16]
M. P. Papazoglou and B. J. Kramer. A database model for object dynamics. The VLDB Journal, 6(2):73--96, 1997.
[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.
[18]
F. Steimann. On the representation of roles in object-oriented and conceptual modelling. Data and Knowledge Engineering, 35:83--848, 2000.
[19]
F. Steimann. A radical revision of UML's role concept. In Procs. of UML2000, pages 194--209, 2000.
[20]
F. Steimann and P. Mayer. Patterns of interface-based programming. Journal of Object Technology, 2005.
[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.
[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.

Cited By

View all
  • (2020)Efficient dispatch of multi-object polymorphic call sites in contextual role-oriented programming languagesProceedings of the 17th International Conference on Managed Programming Languages and Runtimes10.1145/3426182.3426186(52-62)Online publication date: 4-Nov-2020
  • (2020)Monitoring for control in role-oriented self-adaptive systemsProceedings of the IEEE/ACM 15th International Symposium on Software Engineering for Adaptive and Self-Managing Systems10.1145/3387939.3391598(115-119)Online publication date: 29-Jun-2020
  • (2019)Type Checking for Protocol Role Enactments via CommitmentsProceedings of the 18th International Conference on Autonomous Agents and MultiAgent Systems10.5555/3306127.3331897(1690-1692)Online publication date: 8-May-2019
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

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
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 April 2006

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SAC06
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2020)Efficient dispatch of multi-object polymorphic call sites in contextual role-oriented programming languagesProceedings of the 17th International Conference on Managed Programming Languages and Runtimes10.1145/3426182.3426186(52-62)Online publication date: 4-Nov-2020
  • (2020)Monitoring for control in role-oriented self-adaptive systemsProceedings of the IEEE/ACM 15th International Symposium on Software Engineering for Adaptive and Self-Managing Systems10.1145/3387939.3391598(115-119)Online publication date: 29-Jun-2020
  • (2019)Type Checking for Protocol Role Enactments via CommitmentsProceedings of the 18th International Conference on Autonomous Agents and MultiAgent Systems10.5555/3306127.3331897(1690-1692)Online publication date: 8-May-2019
  • (2019)OOC-O: A Reference Ontology on Object-Oriented CodeConceptual Modeling10.1007/978-3-030-33223-5_3(13-27)Online publication date: 15-Oct-2019
  • (2016)Apples and orangesProceedings of the 20th International Systems and Software Product Line Conference10.1145/2934466.2934470(50-59)Online publication date: 16-Sep-2016
  • (2015)A combined formal model for relational context-dependent rolesProceedings of the 2015 ACM SIGPLAN International Conference on Software Language Engineering10.1145/2814251.2814255(113-124)Online publication date: 26-Oct-2015
  • (2015)Enabling View-based Programming with SCROLLProceedings of the 2015 Joint MORSE/VAO Workshop on Model-Driven Robot Software Engineering and View-based Software-Engineering10.1145/2802059.2802062(25-33)Online publication date: 21-Jul-2015
  • (2014)RSQL - a query language for dynamic data typesProceedings of the 18th International Database Engineering & Applications Symposium10.1145/2628194.2628246(185-194)Online publication date: 7-Jul-2014
  • (2014)A Metamodel Family for Role-Based Modeling and Programming LanguagesSoftware Language Engineering10.1007/978-3-319-11245-9_8(141-160)Online publication date: 2014
  • (2012)A model of derived rolesProceedings of the 18th international conference on Knowledge Engineering and Knowledge Management10.1007/978-3-642-33876-2_21(227-236)Online publication date: 8-Oct-2012
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media