Hello,
In the samples, CustomerBean aggregates AccountBean and composes
AddressBean. In the generated CustomerCMP.java file, a addAccount,
removeAccount, addShippingAddress, etc. methods are created and the get
and set ValueObject methods update the relationships. I cut and pasted
this code into my bean and the add and remove methods are not generated
and the set ValueObject method does not update the relation. The
relevant snippet from my bean is:
/**
* @ejb.value-object
*
aggregate="net.sf.communities.common.interfaces.CommunitiesTypeValue"
* aggregate-name="Type"
*
members="net.sf.communities.common.interfaces.CommunitiesTypeLocal"
* members-name="CommunitiesType"
* relation="external"
*/
public abstract CommunitiesTypeLocal getType();
public abstract void setType(CommunitiesTypeLocal type);
I have tried this with and without the @ejb.relation information and
neither generates the methods. What am I missing that does the actual
generation?
Thanks in advance,
--Chris
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user