Hi-- I am currently switching the design of my app from using xdoclet dataobjects with homemade entity facades to valueobjects and the xdoclet-gen'd facades. Specifically, I thought that the value objects from xdoclet would greatly help in updating/adding/removing the n (many) side of cmr.
I am wondering if someone could provide some enlightenment on the usage of the entity facade from xdoclet. I saw in the online docs that valueobject elements are to replace the deprecated dataobjects elements. Seeing this, I assumed I should someday stop generating dataobjects altogether? With the deprecation of dataobjects, I had also assumed that the facades would probably generate methods to return value objects, but I see that dataobjects are primarily the return references. Data objects have references to value objects, so should I get the dataobject from the facade, then get the value object from the data object in order to set or update properties, including the 1-n cmr objects? I don't see an update/set methods on the facade that take either data or value objects and, presumably, update the persistant data store. As you can see, I am hoping to maintain the cmr fields that I have and switch to using value object and the xdoclet facade. However, I just do not yet understand how I can provide updates to the entity and cmr entities using the provided pattern. Can anyone provide some client code or a means for gaining this understanding? Thank you very much! Matt Hanson ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
