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.
| Property | Value |
| dbpedia-owl:thumbnail
| |
| dbpprop:abstract
|
- 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.
- Eine Assoziation (engl. association) ist ein Modellelement in der Unified Modeling Language (UML), einer Modellierungssprache für Software und andere Systeme. Eine Assoziation beschreibt eine Beziehung zwischen zwei oder mehr Typen, im häufigsten Fall eine Verbindung zwischen zwei Objekten der Klassen. Sie wird dann als binäre Assoziation bezeichnet und spezifiziert, dass beide beteiligten Klassen zueinander in Beziehung stehen. In wenigen Fällen startet oder endet eine Assoziation bei einem anderen Typ, zum Beispiel bei einer Schnittstelle oder einem Anwendungsfall. Die Möglichkeit, mehr als zwei Typen an einer Assoziation zu beteiligen, wird eher selten genutzt. Die Assoziation wird in diesem Fall n-äre Assoziation genannt, und dargestellt durch eine Raute, an der n zu den Objekten führende Linien anliegen. Der Assoziation in UML entspricht der Relationship-Typ im Entity-Relationship-Modell. Prinzipiell erlaubt, wenn auch nicht üblich, ist die Darstellung mit Raute auch bei Assoziationen mit 2 Typen, wodurch das Erscheinungsbild eher der herkömmlich beim Entity-Relationship-Modell verwendeten Chen-Notation entspricht. Eine Assoziation heißt reflexiv, wenn sie einen Typ mit sich selbst verbindet. Die beiden Enden der Assoziation zeigen hier also auf den gleichen Typ. In der Abbildung links hat die reflexive Assoziation auch einen Namen „Vater/Sohn-Beziehung“, der in der Nähe der Linie gezeichnet wird, die die Assoziation darstellt.
- Em programação orientada a objeto, uma associação define um relacionamento entre duas classes que permite que um objeto faça com que outro objeto realize uma ação em seu lugar. Em termos gerais, a casualidade da ação é feita ao enviar uma mensagem ou invocar um método do objeto controlado. Agregação, Agregação Compartilhada e Composição.
|
| dbpprop:hasPhotoCollection
| |
| rdfs:comment
|
- 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.
- Eine Assoziation (engl. association) ist ein Modellelement in der Unified Modeling Language (UML), einer Modellierungssprache für Software und andere Systeme. Eine Assoziation beschreibt eine Beziehung zwischen zwei oder mehr Typen, im häufigsten Fall eine Verbindung zwischen zwei Objekten der Klassen. Sie wird dann als binäre Assoziation bezeichnet und spezifiziert, dass beide beteiligten Klassen zueinander in Beziehung stehen.
- Em programação orientada a objeto, uma associação define um relacionamento entre duas classes que permite que um objeto faça com que outro objeto realize uma ação em seu lugar. Em termos gerais, a casualidade da ação é feita ao enviar uma mensagem ou invocar um método do objeto controlado. Agregação, Agregação Compartilhada e Composição.
|
| rdfs:label
|
- Association (object-oriented programming)
- Assoziation (UML)
- Associação (programação)
|
| owl:sameAs
| |
| skos:subject
| |
| foaf:depiction
| |
| foaf:page
| |
| is dbpprop:disambiguates
of | |