I have a value object the is composed of a few other VO. When implementing the tranformer for it, I'd like to reuse the transformer that I already have for the composing VO. Not very clear explanation, I agree ...
Let's say I have an entity A that is composed of an entity B and an entity C
Each of these entities have value objects, let's call them VA, VB and VC. The value object VA is composed of VB and VC
Transforming VB and VC is already done, so when I write the transform method for VA, I'd like to reuse the other transforms. They are public methods on the DAO so it should be possible, but how should I access an instance of the other DAO from A's DAO ?
Rereading that, it still sounds a bit confused ... but I hope you can understand what I mean ...
Thanks for your answers !
Jabber : gehel@ames... (feel free to contact me)