Hi,

It is possible to make value objects which aggregate other to return a Collection, not an Array ?

My code specifies to use a type="Collection" for the value object but when I look at the generated source files, the get/setter return an array of valueobject, although it is internally stored as a Collection.

Am I missing something ?

Here is the corressponding bit of code :
<code>
....
* @ejb.value-object
* aggregate="org.TechAdvantage.intranet.ejb.cmp.TaskValue"
* aggregate-name="Task"
* members="org.TechAdvantage.intranet.ejb.cmp.TaskLocal"
* members-name="Task"
* relation="external"
* type="Collection"
*/
public abstract java.util.Collection getTasks();
</code>

BTW, is it normal that XDoclet add an extra 's' to the getter ?

thanks for your help,
ionel




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to