Multiplicity of 0 [message #14880] |
Thu, 16 April 2009 14:37  |
Eclipse User |
|
|
|
Hello,
It is possible to define for an attribute or a nargument a multiplicity of
0.
I understand 0..*, but 0 seems strange.
What does it mean exactly ?
Thanks,
Marc
|
|
|
Re: Multiplicity of 0 [message #15762 is a reply to message #14880] |
Thu, 16 April 2009 21:22   |
Eclipse User |
|
|
|
Hi Marc,
Hmm... I'm afraid I can't see too much sense in using "0" for the
multiplicity of an Attribute.
The fact is that the code treats Multiplicities the same way everywhere. So
it should be a bit more specialized in this case.
Eric
On 4/16/09 7:37 AM, in article
06a692d1e86a2eb175f0a6effae1cc89$1@www.eclipse.org, "Marc FLAUW"
<marc.flauw@hp.com> wrote:
> Hello,
>
> It is possible to define for an attribute or a nargument a multiplicity of
> 0.
> I understand 0..*, but 0 seems strange.
>
> What does it mean exactly ?
>
> Thanks,
>
> Marc
>
|
|
|
Re: Multiplicity of 0 [message #15772 is a reply to message #15762] |
Fri, 17 April 2009 06:06  |
Eclipse User |
|
|
|
Eric,
Thanks for the response. But in the general sense, what is a multiplicity
of 0 for any item? Does it simply mean it is not present or not allowed?
If this is the case, then 0 does not mean anything for an attribute or an
argument.
Best regards,
Marc
|
|
|
Re: Multiplicity of 0 [message #564611 is a reply to message #14880] |
Thu, 16 April 2009 21:22  |
Eclipse User |
|
|
|
Hi Marc,
Hmm... I'm afraid I can't see too much sense in using "0" for the
multiplicity of an Attribute.
The fact is that the code treats Multiplicities the same way everywhere. So
it should be a bit more specialized in this case.
Eric
On 4/16/09 7:37 AM, in article
06a692d1e86a2eb175f0a6effae1cc89$1@www.eclipse.org, "Marc FLAUW"
<marc.flauw@hp.com> wrote:
> Hello,
>
> It is possible to define for an attribute or a nargument a multiplicity of
> 0.
> I understand 0..*, but 0 seems strange.
>
> What does it mean exactly ?
>
> Thanks,
>
> Marc
>
|
|
|
Re: Multiplicity of 0 [message #564635 is a reply to message #15762] |
Fri, 17 April 2009 06:06  |
Eclipse User |
|
|
|
Eric,
Thanks for the response. But in the general sense, what is a multiplicity
of 0 for any item? Does it simply mean it is not present or not allowed?
If this is the case, then 0 does not mean anything for an attribute or an
argument.
Best regards,
Marc
|
|
|
Powered by
FUDForum. Page generated in 0.03880 seconds