Has-a
|
In database design and object oriented program architecture, Has-a is a relationship where one object "belongs" to another object, and behaves according to the rules of ownership. Multiple Has-a relationships will combine to form a possessive heirarchy. This is contrasted with an Is-a relationship which constitutes a different kind of heirarchy. 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.