Hi all,

I let xdoclet genrate 2 value-objects

....
* @value-object name="Group"
* @value-object name="GroupLight"
*/
public abstract class GroupBean extends BaseEntityBean {
....

And want the GroupValue to include all fields and the GroupLight to
include all fields except one aggregation field. I tried:

* @ejb.value-object
*               name="Group" match="*"
*               aggregate="sportbet.server.group.ParticipantLightValue"
*               aggregate-name="ParticipantValue"
*               members="sportbet.server.group.ParticipantLocal"
*               members-name="Participant"
*               relation="external"
*               type="Collection"
*/
public abstract Collection getParticipants();

But Xdoclet generates the aggregated Collection for both value-objects.
If I define the GroupLight with
* @value-object name="GroupLight" match="light"

If I do so, I had to write
* @value-object match="light"
Before every method except getParticipants()

This doesn't work, because the primary-key field id is defined in
BaseEntityBean and there the
* @value-object match="light"
Is ignored.

So, what to do, to generate another value-oject with excluded fields.

Thanks,
Thomas




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to