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"

@ejb.value-object name="AWithB" match="*" @ejb.value-object name="AWithoutB" match="withoutB"

now in your code, before get/setters, add @ejb.value-object match="withoutB" except before the method that retrieves the B datas.

take a look at the doc about Value Objects (xdoclet.sourceforge.net/valueobjects.html)

Hope this helps,
ionel




-------------------------------------------------------
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