🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.oodesign
2 messages
2 total messages Started by rod Fri, 21 Jan 2005 20:59
question about class diagram
#87
Author: rod
Date: Fri, 21 Jan 2005 20:59
9 lines
1051 bytes
hey all,

i was wondering when i drag an association link from the customer to orders it automatically creates an object variable in my customers class?

is that normal? very new...

thanks,
rod
Re: question about class diagram
#90
Author: Justin Narracott
Date: Fri, 11 Mar 2005 13:55
23 lines
1622 bytes
Hi Rod,
When you create an association link from 1 class to another this is normal 
behaviour.
In your case, you are saying that the Customer class knows about the Orders 
class, so Customer becomes the client and Orders becomes the supplier.
For Customer to "know" about the Orders class it will require an attribute 
of type Orders, and this is what the model should have done.

HTH,

--Justin
"rod" <rodchar@hotmail.com> wrote in message 
news:41f16d43$1@newsgroups.borland.com...
>
> hey all,
>
> i was wondering when i drag an association link from the customer to 
> orders it automatically creates an object variable in my customers class?
>
> is that normal? very new...
>
> thanks,
> rod 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads