I just tried what you did below and required is correctly returned as false
for the 0 end and * is correctly returned as many.  What cartridge are you
using and how is 0 being transformed into a multiplicity of 1?

-----Original Message-----
From: Chad Brandon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 16, 2005 7:07 AM
To: 'Anjarivo Razafinimanana'; 'andromda-user@lists.sourceforge.net'
Subject: RE: [Andromda-user] (no subject)

Hi Anjarivo,

It sounds like a bug, I’ll fix it right now.  For now though…just model your
ShoppingCart end as 0..1 and it should work ok.

Chad

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anjarivo
Razafinimanana
Sent: Wednesday, February 16, 2005 3:45 AM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] (no subject)

Hi !
 
In my B2C application, I have 2 classes : ShoppingCart and Item, and each
time I want to design this relation :
 
            ShoppingCart  (0) ---  -> (n) Item    (zero2many)
 
Magicdraw or AndroMda transform this in:
 
            ShoppingCart  (1) ---  -> (n) Item    (one2many)
 
To my mind, a ‘ShoppingCart’ knows how many items it has, whereas Items
don’t have to know anything about ‘ShoppingCart’.
 
Is it normal?
 
Thank your for your help.
 
I’m using Magicdraw 9.0 and  andromda-3.0-RC1-SNAPSHOT.
 
Regards
 
Anjarivo
 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to