each DAO has at least one static constant member: TRANSFORM_NONE, there could 
be others (one per dependency from the entity to a value object)



you can use these constants in the DAO operations such as the finders, but also 
the create method will have been overloaded to take this argument



use the constant corresponding to your value object and all returned entities 
will have been transformed into the correct value object



also, don't forget to implement the transformation in your DAO implementation 
class, there will be a method called toXXX() where XXX is the name of the value 
object class
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1184#1184
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to