> check out:
> http://xdoclet.sourceforge.net/valueobjects.html

That doco is great.  A couple of suggetsions though.

1. Someone should put a link to it at:
 
http://xdoclet.sourceforge.net/1.2beta/tags/ejb-tags.html#@ejb.value-object%20(0..*)

2. That page doesn't include a 1:1 relation (only 1:m), this is what I
found in the samples which seems to work for me.

    /**
     * Owner of this account.
     *
     * @ejb.value-object
     *    aggregate="test.interfaces.CustomerNormalValue"
     *    aggregate-name="OwnerNormalValue"
     *    match="*"
     */
    public abstract test.interfaces.Customer getOwner();

    /**
     * Owner of this account.
     */
    public abstract void setOwner(test.interfaces.Customer owner);

cheers, Oliver.

-- 
Oliver George <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to