Abstract
Objects relate to each other in different ways — serving, using, and communicating with each other. From the way in which they treat one another, objects have different perspectives of each other. These perspectives define the role that an object may play towards another. The perspectives are formed as a restricted set of methods of the object, — exactly the methods that are relevant for the relations between the objects. Different roles exist for different purposes, and the roles played by an object may change over time. The role is a powerful modeling concept in object-oriented analysis, design, and programming. A graphical notation is defined to support static and dynamic description of roles. The notation supports generalization and part-whole hierarchies for roles, the extension of methods and active objects with roles, and the integration of roles and locality.
This research was supported in part by the Danish Natural Science Research Council, No. 9400911
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
E. Gamma, R. Helm, R. Johnson, J. Vlissides: Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, 1994.
W. Harrison, H. Ossher: Subject-Oriented Programming (A Critique of Pure Objects). Proceedings of the Object-Oriented Programming Systems, Languages and Applications Conference, 1993.
M. Jensen, M.D. Jørgensen: Roles — A Dynamic Alternative. Thesis (in Danish), Aalborg University, 1995.
B.B. Kristensen, K. Østerbye: Conceptual Modeling and Programming Languages. Sigplan Notices, 29(9), 1994.
B.B. Kristensen, K. Østerbye: Roles: Conceptual Abstraction Theory & Practical Language Issues. Department of Computer Science, Aalborg University, 1995.
O.L. Madsen, B. Møller-Pedersen: Part Objects and Their Location. Proceedings of International Conference on Technology of Object-Oriented Languages and Systems (TOOLS EUROPE’92), 1992.
G. Maughan, B. Durnota: MON: An Object Relationship Model Incorporating Roles, Classification, Publicity and Assertions. Proceedings of OOIS’94, International Conference on Object Oriented Information Systems, 1994.
T.W. Olle, A.A. Verrijn-Stuart, H.G. Sol, Eds.: Information System Design Methodologies: A Comparative Review. North-Holland, 1982.
B. Pernici: Objects with Roles. Proceedings ACM-IEEE Conference of Office Information Systems (COIS), 1990.
D.W. Renouf, B. Henderson-Sellers: Incorporating Roles into MOSES. Proceedings of International Conference on Technology of Object-Oriented Languages and Systems (TOOLS PACIFIC’94), 1994.
T. Reenskaug, E.P. Andersen, A.J. Berre, A. Hurlen, A. Landmark, O.A. Lehne, E. Nordhagen, E. Ness-Ulseth, G. Oftedal, A.L. Skar, P. Stenslet: OORASS: Seamless Support for the Creation and Maintenance of Object Oriented Systems. Journal of Object-Oriented Programming, 1992.
J. Richardson, P. Schwarz: Aspects: Extending Objects to Support Multiple, Independent Roles. Proceedings of the 1991 ACM SIGMOD International Conference on the Management of Data, 1991.
J. Rumbaugh: Relations as Semantic Constructs in an Object-Oriented Language. Proceedings of the Object-Oriented Programming Systems, Languages and Applications Conference, 1987.
C. Tinggård, T. Worm: Modeling and Programming Languages. Thesis (in Danish), Aalborg University, 1995.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1996 Springer-Verlag London Limited
About this paper
Cite this paper
Kristensen, B.B. (1996). Object-Oriented Modeling with Roles. In: Murphy, J., Stone, B. (eds) OOIS’ 95. Springer, London. https://doi.org/10.1007/978-1-4471-1009-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4471-1009-5_6
Publisher Name: Springer, London
Print ISBN: 978-3-540-76010-8
Online ISBN: 978-1-4471-1009-5
eBook Packages: Springer Book Archive