Relations: Abstracting Object Collaborations

نویسندگان

  • Stephanie Balzer
  • Patrick Eugster
  • Thomas R. Gross
چکیده

Allowing the description of a collection of objects, the concept of a “class” is central to object-oriented programming languages, yet, it is inadequate to describe the collaborations that arise from the interactions between these objects. The continued interest in concretizing object interactions — be it on the level of design through patterns, on the level of programming languages through first-class relationship support, or on the level of formal program specification through contracts — indicates that classes alone do not suffice. In this paper, we build upon first-class relationships serving as the module to encapsulate object collaborations. We introduce a novel abstraction to reason upon object collaborations: relations. As relationships allow the description of collections of groups of interacting objects, they can be viewed as sets of object tuples and thus as relations. The abstraction of a relation enables the specification of relationships using discrete mathematics. For example, we can express the structural characteristics of relationships by means of the mathematical properties of their defining relations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Object Teams: Improving Modularity for Crosscutting Collaborations

In this paper, we investigate whether module concepts for capturing multi-object collaborations can be effectively used to implement crosscutting concerns in reusable, independently developed modules for a-posteriori integration into existing systems. A new kind of collaboration module, called Object Teams, is proposed which combines the best features of existing approaches, further enhances th...

متن کامل

A Relational Model of Object Collaborations and Its Use in Reasoning About Relationships

Understanding the collaborations that arise between the instances of classes in object-oriented programs is important for the analysis, optimization, or modification of the program. Relationships have been proposed as a programming language construct to enable an explicit representation of these collaborations. This paper introduces a relational model that allows the specification of systems co...

متن کامل

Abstracting Process-to-function Relations in Concurrent Object-oriented Applications ?

ing Process-to-Function Relations in Concurrent Object-Oriented Applications ? Cristina Videira Lopes ?? , Karl J. Lieberherr College of Computer Science Northeastern University Cullinane Hall Boston, MA 02115, USA email: fcrista, [email protected] Abstract. This paper presents a programming model for concurrent object-oriented applications by which concurrency issues are abstracted and separ...

متن کامل

Structural Modeling of Object Relations Mediated by Cognitive Emotion Regulation to Predict the Love Trauma Syndrome in Female Students

Background: Love trauma syndrome includes a set of symptoms manifesting after the end of an emotional relationship and negatively affecting performance in various areas. Objectives: The current study aimed at determining the effect of object relations mediated by cognitive emotion regulation on the prediction of love trauma syndrome in female students. Methods: The correlation-based structura...

متن کامل

The Diagnostic Role of Object Relations and Defensive Mechanisms in Patients with Opioid abuse, Stimulant Users and Normal Individuals

Objective: The purpose of the present study was to investigate the diagnostic role of object relations and defense mechanisms in individuals with opioid abuse, stimulants users, and normal individuals. Method: The research design was correlational. The study population consisted of all clients using stimulants, opiates and normal people who referred to Shiraz and Tehran addiction treatment clin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006