From: Matthias B. <ma...@us...> - 2003-04-21 11:14:05
|
User: mattes3 Date: 03/04/21 04:14:04 Modified: andromda-hibernate/src/templates HibernateEntity.vsl Log: Removed import statements from generated code. Revision Changes Path 1.4 +0 -19 cartridges/andromda-hibernate/src/templates/HibernateEntity.vsl Index: HibernateEntity.vsl =================================================================== RCS file: /cvsroot/andromda/cartridges/andromda-hibernate/src/templates/HibernateEntity.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- HibernateEntity.vsl 19 Apr 2003 13:20:37 -0000 1.3 +++ HibernateEntity.vsl 21 Apr 2003 11:14:04 -0000 1.4 @@ -23,27 +23,8 @@ #set ($primKey = $transform.getPrimaryKeyAttribute($class)) #set ($primKeyTypeName = $transform.findFullyQualifiedName($primKey.type)) ## -#foreach ( $assocLink in $class.associationLinks ) - #set ($adata = $transform.getAssociationData($assocLink)) -#if ($adata.target.navigable == "true") - #set ($class2 = $adata.target.type) - #if ($class2) - #set ($class2packagename = $transform.findPackageName(${class2.package})) - #if ($class2packagename != $packagename) -import $transform.findFullyQualifiedName(${class2}); - #end - #end -#end -#end -## #foreach ( $dep in $class.dependencies ) #set ($class2 = $transform.findClassById($dep.targetType)) - #if ($class2) - #set ($class2packagename = $transform.findPackageName(${class2.package})) - #if ($class2packagename != $packagename) -import $transform.findFullyQualifiedName(${class2}); - #end - #end #if ($transform.getStereotype($dep.id) == "exception") #set ($defaultException = $class2) #end |