Dear XDoclet users, 

Firstly i want to thank those responsible for the new doc on ValueObjects 
in the "Feature Documentation" of 1.2b2 , which i have been trying to 
absorb over the last few days. I am still a newbie and trying to get my 
project up and off the ground, using 1.2b2, ant, Jboss3.0.4
The document, as well as the xpetstore project, is helping to clear up a 
lot of questions for me. 
Now I just have a question -  
Is there a TYPO error in the Value Object doc ? In the code example the 
following "compose" tag is used for the method-level value-object tag: 

     * @ejb.value-object
     *   compose="example.vo.AddressValue"
     *   compose-name="Addresses"
     *   members="example.interfaces.Address"
     *   members-name="Address"
     *   relation="external"
     *   type=Collection"

but in the paragraphs below explaining the code, the tag is referred to 
as "composite" : 

"
Aggregation and Composition

Value objects can have composite and aggregate properties. These are multi 
valued properties that map an EJB relationship. In this example we've got 
both aggregate and composite properties, those being preferredProduts and 
addresses , respectively.
"

so which keyword is to be used - "compose" or "composite" or can it be 
either ? 

Thanks

Nat



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to