Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: zyx on January 28, 2016, 11:52:30 pm

Title: Qualified association
Post by: zyx on January 28, 2016, 11:52:30 pm
Hello All,

    As always my apologizies for my bad english.

    What is exactly a qualified association? What is the difference from class-owned ends? A qualified association means that an attribute in a class must be used to refere to another class (or object)?

     The example 11.37 (page 248) in the formal UML document is not wrong? The property did not should be an attribute that refers to the Person class? The attribute accountNo refers to the Bank class but do not identifies an objetct of the Person Class... Or I am understanding it wrong?
Title: Re: Qualified association
Post by: Geert Bellekens on January 29, 2016, 12:05:26 am
The qualifier subsets the ownedElements of (associationEnd)Property, so it is not supposed to be property of either one of the connected elements.

I'm doing UML for a while now, and I never felt to need to use this weird construct. I would suggest you forget it.

Geert
Title: Re: Qualified association
Post by: qwerty on January 29, 2016, 12:49:15 am
You can't imagine how happy I am to hear that I'm not the only one not understanding the semantics/practical use of this construct. ;D

q.
Title: Re: Qualified association
Post by: Eve on January 29, 2016, 09:23:10 am
In terms of code it corresponds to using a map (or equivalent) to get the other end.

The qualifier corresponds to the type of key, and the opposite end corresponds to the type of value.