Re: [Xdoclet-user] Aggregate DataObjects

2002-03-03 Thread Steve Knight
, but what is the difference in terms of what gets > generated by XDoclet? > > Thanks, > > Steve > > > - Original Message - > From: "Vincent Harcq" <[EMAIL PROTECTED]> > To: "'Steve Knight'" <[EMAIL PROTECTED]>; > <[EMAIL PROTEC

RE: [Xdoclet-user] Aggregate DataObjects

2002-03-02 Thread Vincent Harcq
It makes sense I think. It will be for later though ;) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf > Of Marcus Brito > Sent: vendredi 1 mars 2002 23:37 > To: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] Aggregate DataO

Re: [Xdoclet-user] Aggregate DataObjects

2002-03-01 Thread Marcus Brito
Em Qui, 2002-02-28 às 14:45, Vincent Harcq escreveu: > Customer Bean have > * @ejb:value-object name="CustomerLight" match="light" > * @ejb:value-object name="CustomerNormal" match="normal" > instantiation="eager" > * @ejb:value-object name="Customer" match="*" Perhaps it would be better so s

Re: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Steve Knight
t; <[EMAIL PROTECTED]> To: "'Steve Knight'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 4:54 PM Subject: RE: [Xdoclet-user] Aggregate DataObjects Does your related beans (the tagged ones) are in the sourcepath of I need theem :) Vinc

Re: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Steve Knight
nt.execute(UnknownElement.java:104) is what makes me think this. Thanks again, Steve - Original Message - From: "Vincent Harcq" <[EMAIL PROTECTED]> To: "'Steve Knight'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002

RE: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Vincent Harcq
OTECTED] > Subject: Re: [Xdoclet-user] Aggregate DataObjects > > > Vincent, > I am having problems using 1-n value objects. > fails whenever it tries to generate the CMP for > a bean with a 1-n value object defined: > > Running > Generating CMP class for '

Re: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Steve Knight
- Original Message - From: "Vincent Harcq" <[EMAIL PROTECTED]> To: "'Steve Knight'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 2:13 PM Subject: RE: [Xdoclet-user] Aggregate DataObjects The diff are on th

RE: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Vincent Harcq
IL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] Aggregate DataObjects > > > Thanks for the explanation, Vincent. > I am now using value objects and so far so good. > I understand the difference between Aggregation and > Composition, but what is the difference in t

Re: [Xdoclet-user] Aggregate DataObjects

2002-02-28 Thread Steve Knight
Harcq" <[EMAIL PROTECTED]> To: "'Steve Knight'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 2:14 PM Subject: RE: [Xdoclet-user] Aggregate DataObjects OK You need subtask AddressBean have @ejb:value-object name="Addre

RE: [Xdoclet-user] Aggregate DataObjects

2002-02-25 Thread Vincent Harcq
as written with CMP 1.1 in mind, so more work will be needed for sure. This covers more than Data Object but I am listening to any improvements that could be added... Vincent > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf >

Re: [Xdoclet-user] Aggregate DataObjects

2002-02-25 Thread Steve Knight
lt;[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 8:12 AM Subject: RE: [Xdoclet-user] Aggregate DataObjects > Aggregation on _DataObjects_ works only for 1-1 relationship. > For 1-n, you may want to look at _ValueObject_ (only in cvs a

RE: [Xdoclet-user] Aggregate DataObjects

2002-02-25 Thread Vincent Harcq
Aggregation on _DataObjects_ works only for 1-1 relationship. For 1-n, you may want to look at _ValueObject_ (only in cvs and not fully tested). It is a kind of _DataObject_ but more sophiticated. We introduced there 1-n relationships (as well as multiple VO per entity bean with bean's attribut

RE: [Xdoclet-user] Aggregate DataObjects

2002-02-25 Thread bwillner
Hi,   I'm also interested in knowing more about this. From what I understand is you can put an ejb:aggregate task in the javadocs for a method: eg. for public abstract Collection getAddresses() in a person entity bean and then I would get a method in my person value object as follows: public