
Association (object-oriented programming)
In object-oriented programming, association defines a relationship between classes of objects that 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 and does not represent behaviour. The ends of the association can have all the characteristics of a property:
- Comment
- enIn object-oriented programming, association defines a relationship between classes of objects that 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 and does not represent behaviour. The ends of the association can have all the characteristics of a property:
- Depiction
- Has abstract
- enIn object-oriented programming, association defines a relationship between classes of objects that 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 and does not represent behaviour. 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. The ends of the association can have all the characteristics of a property: * They can have a multiplicity, expressed by a lower and an upper limit in the form of "lowerLimit..upperLimit". * You can have a name. * You can declare a visibility. * You can specify whether the end of the association is ordered and / or unique.
- Is primary topic of
- Association (object-oriented programming)
- Label
- enAssociation (object-oriented programming)
- Link from a Wikipage to another Wikipage
- Category:Object-oriented programming
- Causality
- File:Association.JPG
- Member function
- Method (computer science)
- Object composition
- Object-oriented programming
- Reference (computer science)
- Role (computer science)
- Unified Modeling Language
- SameAs
- 3XvcG
- Asocjacja (programowanie obiektowe)
- Associação (programação)
- Assoziation (UML)
- m.01ysks
- Q382571
- Ассоциация (объектно-ориентированное программирование)
- همدستی (برنامهنویسی شیءگرا)
- Subject
- Category:Object-oriented programming
- Thumbnail
- WasDerivedFrom
- Association (object-oriented programming)?oldid=1007512517&ns=0
- WikiPageLength
- 2440
- Wikipage page ID
- 346624
- Wikipage revision ID
- 1007512517
- WikiPageUsesTemplate
- Template:Compu-prog-stub
- Template:Reflist