Allow transformations from/to ValueObject(s) to be generated selectively
------------------------------------------------------------------------

         Key: SPRING-163
         URL: http://jira.andromda.org/browse/SPRING-163
     Project: Spring Cartridge
        Type: Improvement

    Versions: 3.2-RC1    
    Reporter: olaf kruger
 Assigned to: Chad Brandon 


At present, transformation functions are generated between ValueObjects and 
their "dependent" Entities in both directions; that is, two transformations are 
generated for each (UML) dependency between a ValueObject and Entity: 
'toValueObject()' and 'valueObjectToEntity()' (as well as various support 
operations such as 'loadEntityFromValueObject()').

This appears overly generous and clutters the code: often we don't need such 
bi-directionality --- but, instead, require only one, or the other, 
transformation.

One suggestion is to generate transformations based on the dependency between 
ValueObject and Entity (as currently is the case), BUT have the direction of 
the the dependency determine which transformations are generated (and in the 
case of a bi-directional dependency the behavior would be as currently 
implemented).

(See also comments: 
http://galaxy.andromda.org/forum/viewtopic.php?p=10916#10916)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Reply via email to