-----Original Message-----
>From: Mark Ericson [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 16, 2001 7:21 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] Is 'dependent' aggregation?
>
>This was not addressed:  "However, the lifecycle of the object is certainly
>bounded by the master.  Deleting the master deletes the dependent, can't
>create a dependent without a master, etc"
>
>Does Castor automatically delete the dependent when the Master is deleted?

Yes. Dependent object is deleted if master is deleted.


Thomas

>- Mark
>
>-----Original Message-----
>From: gilles dodinet [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 16, 2001 6:51 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] Is 'dependent' aggregation?
>
>
>mark,
>
>dependent relationship is composition (in uml meaning). dependents are
>specified in the mapping file with attribute 'depends'. if not specified it
>is aggregation. (thomas tell me if i'm wrong)
>
>--
>gilles
>
>
>
>
>>From: Mark Ericson <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: [castor-dev] Is 'dependent' aggregation?
>>Date: Tue, 14 Aug 2001 09:48:20 -0700
>>
>>I was trying to determine how to model aggregation in Castor.  Dependent
>>seems close, however the documentation states:
>>
>>"If an object class declared as depends on other class, it may not be
>>created, removed or updated separately. Attempting to create, remove or
>>update an dependent object will be result in
>>ObjectNotPersistcapableException."
>>I was trying to determine how to model aggregation in Castor.  Dependent
>>seems close, however the documentation states:
>>
>>With aggregation you would be able to update an object independently (the
>>change may only be in the dependent object, no changes to the master).
>>However, the lifecycle of the object is certainly bounded by the master.
>>Deleting the master deletes the dependent, can't create a dependent
without
>>a master, etc.
>>
>>Please help me understand dependent better.
>>
>>- Mark
>>
>>-----------------------------------------------------------
>>If you wish to unsubscribe from this mailing, send mail to
>>[EMAIL PROTECTED] with a subject of:
>>       unsubscribe castor-dev
>>
>
>
>_________________________________________________________________
>T�l�chargez MSN Explorer gratuitement � l'adresse
>http://explorer.msn.fr/intl.asp
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-dev
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-dev
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to