Association (object-oriented programming)
- Association (object-oriented programming)
In Object-oriented programming, Association defines a relationship between classes of objects which allows one object instance to cause another to perform an action on its behalf. This relationship is structural, because it specifies that objects of one kind are connected to objects of another.
In generic terms the causation is usually called "sending a message", "invoking a method" or "calling a member function" to the controlled object. Concrete implementation usually requires the requesting object to invoke a "method" or "member function" using a reference or pointer to the memory location of the controlled object.
The objects that are related via the association are considered to act in a role with respect to the association, if object's current state in the active situation allows the other associated objects to use the object in the manner specified by the role. A role can be used to distinguish two objects of the same class when describing its use in the context of the association. A role describes the "public" aspects of an object with respect to an association. [Rumbaugh]
ee also
*Rumbaugh et al. "Object-oriented modeling and design", Prentice Hall, 1991, ISBN 0-13-630054-5
*Aggregation
*Inheritance
*File association
Wikimedia Foundation.
2010.
Look at other dictionaries:
Object-oriented programming — Programming paradigms Agent oriented Automata based Component based Flow based Pipelined Concatenative Concurrent computing … Wikipedia
Polymorphism in object-oriented programming — In simple terms, polymorphism is the ability of one type, A, to appear as and be used like another type, B. In strongly typed languages, this usually means that type A somehow derives from type B, or type A implements an interface that represents … Wikipedia
Object-oriented modeling — (OOM), also called object oriented programming (OOP) is a modeling paradigm mainly used in computer programming. Prior to the rise of OOM, the dominant paradigm was procedural programming, which emphasized the use of discrete reusable code blocks … Wikipedia
Object-oriented analysis and design — (OOAD) is a software engineering approach that models a system as a group of interacting objects. Each object represents some entity of interest in the system being modeled, and is characterised by its class, its state (data elements), and its… … Wikipedia
Object-Oriented Modeling — Object Oriented Modeling, or OOM, is a modeling paradigm mainly used in computer programming. Prior to the rise of OOM, the dominant paradigm was functional programming, which emphasized the use of discreet reusable code blocks that could stand… … Wikipedia
Object-oriented design — OOD redirects here. OOD may also refer to Officer of the Deck, Officer of the day, or the Ood. Object oriented design is the process of planning a system of interacting objects for the purpose of solving a software problem. It is one approach to… … Wikipedia
Association — may refer to: *Voluntary association, a group of individuals who voluntarily enter into an agreement to accomplish a purpose ** 501(c) non profit organization ** Professional association ** Alumni association, an association of former students of … Wikipedia
Programming language — lists Alphabetical Categorical Chronological Generational A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that… … Wikipedia
Object REXX — Paradigm(s) Object oriented (class based) Appeared in 1988; 22 years ago (1988) Developer Simon C. Nash (IBM) Influenced by REXX … Wikipedia
Object Management Group — Formation 1989 Headquarters Needham, Massachusetts Website … Wikipedia