[morph-user] Converting graphs with Collection
Brought to you by:
orangeherbert,
sgarlatm
|
From: Matthieu R. <mat...@gm...> - 2005-04-04 08:00:45
|
Hi, I have a simple graph of object with AClass objects having collections of BClass instances. I tried many solutions to get this transformed to A2Class with a collection of B2Class but couldn't get anything working. I want both the properties of A and B instances to be copied to A2 and B2 but also the Collection to be processed automatically. My hunch had been to stuff both my PropertyNameMappingCopiers and a CollectionCopier in the DelegatingTransformer components but the PropertyNameMappingCopiers always get picked up first so the collections are never processed. How should I proceed to get my object converted properly? Thanks, Matt. |