Hi Peter,

Thank you for your reply.  That's really surprising. Have you made sure that it was 
your setter that was used for the value object and not the one generated in the CMP 
(maybe they do the same thing so you didn't notice the difference).  Otherwise, I'm 
really curious to know what you are doing differently from me.  Is there a particular 
tag that you add at the method level, at the bean level or at the ant level to specify 
that the methods can be overridden?  It seems like an obvious behavior but I can't 
seem to get it to work.

Any help would be greatly appreciated,

Fran�ois


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
McCombs
Sent: March 27, 2003 6:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Overriding CMP methods


Fran�ois,

I have been making my value setters non-abstract, and providing a definition 
in the entity bean. This seems to work ok.

Honestly, I didn't know that you could use an abstract setter for value 
objects... I thought you had to code those.

On Thursday 27 March 2003 12:34 pm, Fran�ois Eric wrote:
> Hello,
>
> Is it possible to override the CMP generated methods that use
> value-objects.  For example, I would like to write my own:
> setCustomerValue(CustomerValue value).
>
> When I write my own version in CustomerBean, it is overlooked since it is
> generated in the CMP class.  Is there a way I can modify one of these
> methods?
>
> Thank you,
>
> Fran�ois

-- 
Travel important today; Internal Revenue men arrive tomorrow.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to