An Entity of Type: Thing, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

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:

Property Value
dbo:abstract
  • 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. 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. (en)
  • Eine Assoziation (englisch 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 Classifiern, im häufigsten Fall eine Verbindung zwischen genau zwei Klassen. Assoziationen definieren dabei eine Beziehung auf Typebene. Auf Instanzebene nennen sich die konkreten Ausprägungen einer Assoziation Link. Neben Klassen können aber auch beliebige andere Classifier (beispielsweise Schnittstellen oder Anwendungsfälle) mittels Assoziationen in Beziehung zueinander gesetzt werden. 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 durch eine Raute, an der n zu den Objekten führende Linien anliegen, dargestellt. Die Assoziation in UML ist mit dem Relationship-Typ im Entity-Relationship-Modell vergleichbar, wobei hier Detailunterschiede bestehen, die zwar auf den ersten Blick nicht ohne weiteres erkennbar, in der Praxis aber von großer Bedeutung sind (siehe Object-relational impedance mismatch). Prinzipiell erlaubt, wenn auch nicht üblich, ist die Darstellung mit Raute auch bei Assoziationen mit nur zwei Assoziationsenden, wodurch das Erscheinungsbild der Chen-Notation von Entity-Relationship-Modellen ähnelt. Eine Assoziation heißt reflexiv, wenn sie einen Classifier mit sich selbst verbindet. Die beiden Enden der Assoziation zeigen hier also auf den gleichen Typ. In der Abbildung rechts ist die Assoziation „Elternteil/Kind-Beziehung“ reflexiv. (de)
  • Asocjacja – dowolny związek pomiędzy obiektami dziedziny przedmiotowej, który ma znaczenie dla modelowania. Asocjacja reprezentuje związek, w którym oba obiekty istnieją niezależne od siebie, tzn. istnienie jednego nie jest warunkiem istnienia drugiego. Usunięcie związku pomiędzy obiektami nie wpływa na ich sposób funkcjonowania. Ponadto obiekty nie są związane ze sobą na stałe i mogą zostać zmienione na inne (na przykład Użytkownik może zmienić Telefon, a Telefon może zmienić właściciela). Na diagramach UML asocjację oznacza się linią ciągłą. Może być ona zakończona grotem (otwartym) w celu wyrażenia kierunku nawigacji. W diagramie przypadków użycia reprezentuje dwukierunkową komunikację pomiędzy aktorem i przypadkiem użycia. (pl)
  • 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. Considera-se que os objetos relacionados por meio da associação atuam em um papel da em relação à associação, se o estado atual do objeto na situação ativa permitir que os outros objetos associados usem o objeto na associação. maneira especificada pela função. Um papel pode ser usado para distinguir dois objetos da mesma classe ao descrever seu uso no contexto da associação. Um papel descreve os aspectos "públicos" de um objeto em relação a uma associação. (pt)
  • В объектно-ориентированном программировании ассоциация означает отношение между классами объектов, которое позволяет одному экземпляру объекта вызвать другой, чтобы выполнить действие от его имени. Это структурное отношение, поскольку определяет связь между объектами одного рода и объектами другого рода и не моделирует поведение. Причинность обычно называется обобщёнными терминами «отправка сообщения», «вызов метода» или «вызов функции-члена» у контролируемого объекта. Обычно в конкретной реализации требуется чтобы запрашивающий объект вызывал метод или функцию-член используя ссылку или указатель на область памяти контролируемого объекта. Объекты, которые связаны через ассоциацию, считаются играющими роли по отношению к ассоциации, если текущее состояние объекта в активной обстановке позволяет другим ассоциированным объектам использовать объект установленным ролью образом. Роль можно использовать, чтобы различать два объекта одного класса при описании их использования в контексте ассоциации. Роль описывает публичные аспекты объекта по отношению к ассоциации. (ru)
dbo:thumbnail
dbo:wikiPageID
  • 346624 (xsd:integer)
dbo:wikiPageLength
  • 2440 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1007512517 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
rdfs:comment
  • 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: (en)
  • Eine Assoziation (englisch 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 Classifiern, im häufigsten Fall eine Verbindung zwischen genau zwei Klassen. Assoziationen definieren dabei eine Beziehung auf Typebene. Auf Instanzebene nennen sich die konkreten Ausprägungen einer Assoziation Link. (de)
  • Asocjacja – dowolny związek pomiędzy obiektami dziedziny przedmiotowej, który ma znaczenie dla modelowania. Asocjacja reprezentuje związek, w którym oba obiekty istnieją niezależne od siebie, tzn. istnienie jednego nie jest warunkiem istnienia drugiego. Usunięcie związku pomiędzy obiektami nie wpływa na ich sposób funkcjonowania. Ponadto obiekty nie są związane ze sobą na stałe i mogą zostać zmienione na inne (na przykład Użytkownik może zmienić Telefon, a Telefon może zmienić właściciela). (pl)
  • В объектно-ориентированном программировании ассоциация означает отношение между классами объектов, которое позволяет одному экземпляру объекта вызвать другой, чтобы выполнить действие от его имени. Это структурное отношение, поскольку определяет связь между объектами одного рода и объектами другого рода и не моделирует поведение. (ru)
  • 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. (pt)
rdfs:label
  • Assoziation (UML) (de)
  • Association (object-oriented programming) (en)
  • Associação (programação) (pt)
  • Asocjacja (programowanie obiektowe) (pl)
  • Ассоциация (объектно-ориентированное программирование) (ru)
owl:sameAs
prov:wasDerivedFrom
foaf:depiction
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License