opensubscriber
   Find in this group all groups
 
Unknown more information…

a : andromda-user@lists.sourceforge.net 17 August 2005 • 5:19PM -0400

[Andromda-user] [Spring cartridge] [Reusing the transformer of the DAO] Reusing the transformer of t
by "gehel" (AndroMDA Forum)

REPLY TO AUTHOR
 
REPLY TO GROUP




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

B<----<>A<>---->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

VB<----<>VA<>---->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)

next project : http://rwanda.ledcom.ch
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3938#3938
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@list...
https://lists.sourceforge.net/lists/listinfo/andromda-user

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.