About: Has-a

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

In database design, object-oriented programming and design (see object oriented program architecture), has-a (has_a or has a) is a composition relationship where one object (often called the constituted object, or part/constituent/member object) "belongs to" (is part or member of) another object (called the composite type), and behaves according to the rules of ownership. In simple words, has-a relationship in an object is called a member field of an object. Multiple has-a relationships will combine to form a possessive hierarchy. To summarize the relations, we have

Property Value
dbo:abstract
  • In database design, object-oriented programming and design (see object oriented program architecture), has-a (has_a or has a) is a composition relationship where one object (often called the constituted object, or part/constituent/member object) "belongs to" (is part or member of) another object (called the composite type), and behaves according to the rules of ownership. In simple words, has-a relationship in an object is called a member field of an object. Multiple has-a relationships will combine to form a possessive hierarchy. This is to be contrasted with an is-a (is_a or is a) relationship which constitutes a taxonomic hierarchy (subtyping). The decision whether the most logical relationship for an object and its subordinate is not always clearly has-a or is-a. Confusion over such decisions have necessitated the creation of these metalinguistic terms. A good example of the has-a relationship is containers in the C++ STL. To summarize the relations, we have * hypernym-hyponym (supertype-subtype) relations between types (classes) defining a taxonomic hierarchy, where * for an inheritance relation: a hyponym (subtype, subclass) has a type-of (is-a) relationship with its hypernym (supertype, superclass); * holonym-meronym (whole/entity/container-part/constituent/member) relations between types (classes) defining a possessive hierarchy, where * for an aggregation (i.e. without ownership) relation: * a holonym (whole) has a has-a relationship with its meronym (part), * for a composition (i.e. with ownership) relation: * a meronym (constituent) has a part-of relationship with its holonym (entity), * for a containment relation: * a meronym (member) has a relationship with its holonym (container); * concept-object (type-token) relations between types (classes) and objects (instances), where * a token (object) has an instance-of relationship with its type (class). (en)
  • has-aとは、データベース設計やオブジェクト指向プログラミングアーキテクチャにおいて、(複合型と呼ばれる)もう一つのオブジェクト(構造体の一部またはメンバ)に属するオブジェクトの関係であり、所有者のルールに準じて振る舞うものである。 多数のhas-a関係は相まって所有階層を形成する。これは異なる種類の階層(派生型)を構成するis-a関係と対比される。あるオブジェクトとそれに従属するオブジェクトとの最も論理的な関係がhas-aであるのか、それともis-aであるのかは必ずしも明確に決められない。そのような判断上の混乱があるため、これらのメタ言語的用語が生まれたとも言える。日本語では集約やコンポジション集約関係を意味する。 (ja)
  • У об'єктно-орієнтованому програмуванні й проектуванні баз даних «Has-a» — взаємозв'язок в якому один об'єкт (званий об'єктом, що становить) «належить» (є частиною або членом) іншому об'єкту (званому складеним об'єктом) і підкоряється правилам приналежності. Множинні Has-a відносини утворюють дерево приналежності. Відношення has-а є відмінним від is-a, яке позначає таксономічну ієрархію. (uk)
  • «Has-a» в объектно-ориентированном программировании и проектировании баз данных — взаимосвязь, в которой один объект (часто называемый составляющим объектом) «принадлежит» (является частью или членом) другому объекту (называемому составным объектом) и подчиняется правилам принадлежности. Множественные Has-a отношения образуют дерево принадлежностей — (англ. meronomy), или партономию. (ru)
dbo:thumbnail
dbo:wikiPageID
  • 266684 (xsd:integer)
dbo:wikiPageLength
  • 5622 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1024380159 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • has-aとは、データベース設計やオブジェクト指向プログラミングアーキテクチャにおいて、(複合型と呼ばれる)もう一つのオブジェクト(構造体の一部またはメンバ)に属するオブジェクトの関係であり、所有者のルールに準じて振る舞うものである。 多数のhas-a関係は相まって所有階層を形成する。これは異なる種類の階層(派生型)を構成するis-a関係と対比される。あるオブジェクトとそれに従属するオブジェクトとの最も論理的な関係がhas-aであるのか、それともis-aであるのかは必ずしも明確に決められない。そのような判断上の混乱があるため、これらのメタ言語的用語が生まれたとも言える。日本語では集約やコンポジション集約関係を意味する。 (ja)
  • У об'єктно-орієнтованому програмуванні й проектуванні баз даних «Has-a» — взаємозв'язок в якому один об'єкт (званий об'єктом, що становить) «належить» (є частиною або членом) іншому об'єкту (званому складеним об'єктом) і підкоряється правилам приналежності. Множинні Has-a відносини утворюють дерево приналежності. Відношення has-а є відмінним від is-a, яке позначає таксономічну ієрархію. (uk)
  • «Has-a» в объектно-ориентированном программировании и проектировании баз данных — взаимосвязь, в которой один объект (часто называемый составляющим объектом) «принадлежит» (является частью или членом) другому объекту (называемому составным объектом) и подчиняется правилам принадлежности. Множественные Has-a отношения образуют дерево принадлежностей — (англ. meronomy), или партономию. (ru)
  • In database design, object-oriented programming and design (see object oriented program architecture), has-a (has_a or has a) is a composition relationship where one object (often called the constituted object, or part/constituent/member object) "belongs to" (is part or member of) another object (called the composite type), and behaves according to the rules of ownership. In simple words, has-a relationship in an object is called a member field of an object. Multiple has-a relationships will combine to form a possessive hierarchy. To summarize the relations, we have (en)
rdfs:label
  • Has-a (en)
  • Has-a (ja)
  • Has-a (ru)
  • Has-a (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:depiction
foaf:isPrimaryTopicOf
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