Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tigerstripe » Multiplicity of 0
Multiplicity of 0 [message #14880] Thu, 16 April 2009 14:37 Go to next message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
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 Go to previous message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
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 Go to previous message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
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 Go to previous message
Marc FLAUW is currently offline Marc FLAUWFriend
Messages: 151
Registered: July 2009
Senior Member
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
Previous Topic:Multiplicity of 0
Next Topic:Plugin rules output file settings
Goto Forum:
  


Current Time: Fri Apr 26 23:07:23 GMT 2024

Powered by FUDForum. Page generated in 0.03146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top