Hi,

I'm looking for a convenient way to exclude CMR fields from a value object.

Bean A has a CMR to Bean B. I've defined a value-object using aggregation, and a value-object defined as
* @ejb.value-object name="A" match="*"
correctly includes all CMP fields and the aggregated VO of B.


Now I want to create a second VO containing only the CMP-fields but not the aggreageted VO of B. I can do it by tagging all CMP getters with the 'match' construct and using this in the definition of the VO. But maybe there is a better way using 'match="*"' and some exclude tag? Something like
* @ejb.value-object name="AWithB" match="*"
* @ejb.value-object name="AWithoutB" match="*" exclude="B"



Rainer






-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to