has

Get Instant Legal Answers - Free AI Legal Help
Join thousands of Australians each month using LawConnect’s AI assistant for fast, personalised legal information. No waiting. No cost. Start now.
Ask Your Question Now
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 member-of 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).

View More On Wikipedia.org
  1. mockale

    Has anyone found a battery service in Dubai they actually trust?

    Hi everyone, I wanted to ask this because I’ve had really mixed experiences with car battery services here over the last year. A few months ago my car suddenly stopped starting in the basement parking before work and I had to rush to find someone nearby to help. The first place I contacted...
  2. J

    Has Anyone Successfully Appealed After Receiving a Notice of Denied SSDI Claims?

    Hello everyone. I recently went through the exhausting process of applying for Social Security Disability Insurance and was devastated when I got the rejection letter. I know that denied SSDI claims are actually quite common on the first attempt, but I'm not sure what my best next steps are...
  3. O

    Has Anyone Tried Tools for Checking How Processed Food Is?

    I’ve been using UPF Scan - Ultra-Processed Food Checker to check how processed my food is, and it makes stuff like this way easier to figure out. You just scan the barcode or search the product, and it tells you how processed it is based on ingredients. I was surprised how some brands of cream...
  4. buysharjah

    Australian Investors: Has anyone diversified their portfolio overseas? Considering [Buy property in Sharjah from Australia]

    Hi everyone, I'm a local property owner who has been looking to expand my portfolio, but the current Australian market conditions (high purchase prices and tight margins) are making it tough to find quality investments that generate strong returns. I'm exploring international opportunities and...
  5. buyuae

    Has anyone explored property in the UAE from Australia?

    Just wondering if anyone here has looked into buying property overseas – specifically in the UAE? I've been exploring international options lately and came across some interesting projects in Dubai and Abu Dhabi that are geared toward Australians living abroad. I found this guide on how to buy...
  6. T

    VIC Sorry this q has probably been asked hundreds of time, what can a store security officer do with suspected shoplifting?

    Firstly, I work at Coles and everyday there are shoplifters going unnoticed even most obviously look shady. Other times they are caught very bravely and the past few weeks the invoices have been very high, I.e 3k, 4k and yesterday 6k! Mostly dental products and meats. They are then free to...
  7. L

    NSW Property manager professional negligence?

    My elderly parents have an investment unit they rent out and is managed by a real estate agent. Between the last 2 inspections there was a period of 2 years and 2 months during which time there was extensive damage to the property and severe mould in the 2 bedrooms and bathroom to the extent the...
  8. zoelily

    VIC Can universities track if a student has used assignment writing services?

    I’ve heard that universities have strict policies against academic dishonesty, but can they actually track if a student has used a paid assignment writing service? Do they use any specific tools or methods to detect this?
  9. S

    QLD Ex husband, refuses to return car, and has own car that he can drive.

    I recently left my husband of 17 years DVO in place. Due to having to leave in a hurry I was unable to take my car with me. It was an old, car and I do have a new car.Now my husband had two cars at the time of seperation, however had a car accident which resulted in one being totally. He is now...
  10. M

    Seeking Advice: Has Anyone Made an Asbestos Claim?

    Hi everyone, I’m not sure if this is the right forum, but I was wondering if anyone here has experience with claiming compensation for asbestos-related diseases. Did you find the process straightforward, or were there challenges along the way? Any advice on where to start or which resources...