Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » special questions to qualified associations
special questions to qualified associations [message #696985] Fri, 15 July 2011 05:06 Go to next message
st oehm is currently offline st oehm
Messages: 79
Registered: October 2009
Member
hi
i have a very special question to qualified associationen
assuming (again) we have a class book and a class site, now we have a qualifier sitenumber for efficient acess from a book to its sites.
here is what i think, but im not sure if it is rigth:

1. the cardinality of the qualifier is one, when the qualifier is unique. is it bigger one, that means to one qualifier can exists more objects?
2. if the qualiferproperty is set to non unique, that means to one qualifier can exists some objects, which are properly the same
3. in case we have more than one qualifier, you can set the cardinalities of them in a different way, mabe someone is one another is 10 and so one. should they have all the same cardinality. or how can i determine if for two or more qualifier exists one object or a set of objects?

best regards
stoehm
Re: special questions to qualified associations [message #697069 is a reply to message #696985] Fri, 15 July 2011 09:00 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 3843
Registered: July 2009
Senior Member
Hi

Your questions are very detailed and difficult to follow because errors
in your English introduces ambiguities.

I think you should study the UML specification to obtain an accurate
answer yourself, rather than rely on someone else' intuition/memory.

Regards

Ed Willink

On 15/07/2011 10:06, stoehm wrote:
> hi
> i have a very special question to qualified associationen
> assuming (again) we have a class book and a class site, now we have a
> qualifier sitenumber for efficient acess from a book to its sites.
> here is what i think, but im not sure if it is rigth:
>
> 1. the cardinality of the qualifier is one, when the qualifier is
> unique. is it bigger one, that means to one qualifier can exists more
> objects?
> 2. if the qualiferproperty is set to non unique, that means to one
> qualifier can exists some objects, which are properly the same
> 3. in case we have more than one qualifier, you can set the
> cardinalities of them in a different way, mabe someone is one another
> is 10 and so one. should they have all the same cardinality. or how
> can i determine if for two or more qualifier exists one object or a
> set of objects?
>
> best regards
> stoehm
Re: special questions to qualified associations [message #697090 is a reply to message #697069] Fri, 15 July 2011 09:56 Go to previous message
st oehm is currently offline st oehm
Messages: 79
Registered: October 2009
Member
hi ed
thanks for your reply
i read it and i think so far i was rigth, but i'm not sure because, i guess the uml specification is not very accurate due this topic (for example, there is nothing about the metaProperty isUnique for the qualifier and in case of more than one qualifier, you can mix the qualifiercardinality 1 with *, which has no sense to me (so i need not an extra qualifier, in the case on of the other is unique))

best regards
stoehm
Previous Topic:"bug" in the properties view
Next Topic:how to use the two parameters in validate methods
Goto Forum:
  


Current Time: Fri Apr 18 04:08:42 EDT 2014

Powered by FUDForum. Page generated in 0.01763 seconds