Ignore:
Timestamp:
22/12/11 17:33:24 (8 years ago)
Author:
mnagni
Message:

Again uncompleted deployment in DB. Tomorrow have to check better the primaryjoins!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/xmi2sqlalchemy/trunk/src/main/resources/velocity/python/pythonClass.vm

    r8017 r8040  
    7878 
    7979#macro( attributes $attributes, $parents) 
    80 #foreach($attribute in $attributes) 
    81 ${tab}${tab}self.${attribute.name} 
    82 #end 
    8380#if($parents) 
    8481#foreach( $parent in $parents) 
    8582${tab}${tab}self._${parent.associatedClass.name.toLowerCase()} = ${parent.associatedClass.name}()        
     83#end 
     84#foreach($attribute in $attributes) 
     85${tab}${tab}self.${attribute.name} 
    8686#end 
    8787#end 
Note: See TracChangeset for help on using the changeset viewer.