association ends named entity generate uncompilable code
--------------------------------------------------------

         Key: CORE-109
         URL: http://jira.andromda.org/browse/CORE-109
     Project: AndroMDA Core
        Type: Bug
    Versions: 3.2 RC1    
    Reporter: Ryan Marsh
 Assigned to: Chad Brandon 


Problem has been experience specifically with spring cartridge but might be 
aplicable to all.

Create model with two classes, an association between them, and one association 
end named "entity". Both are stereotyped <<Entity>> and picked up by spring 
cartridge. Code will not compile because the name entity will conflict with 
other variables named entity (e.g. in the Dao operations).

Resolution:
model validation should fail if association end is named anything that will 
cause uncompilable code to be generated (i.e. "entity"). 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Reply via email to