Index: topia/src/java/org/codelutin/topia/generators/jdo/ObjectModelToJDOEntityGenerator.java diff -u topia/src/java/org/codelutin/topia/generators/jdo/ObjectModelToJDOEntityGenerator.java:1.6 topia/src/java/org/codelutin/topia/generators/jdo/ObjectModelToJDOEntityGenerator.java:1.7 --- topia/src/java/org/codelutin/topia/generators/jdo/ObjectModelToJDOEntityGenerator.java:1.6 Fri Sep 17 15:55:55 2004 +++ topia/src/java/org/codelutin/topia/generators/jdo/ObjectModelToJDOEntityGenerator.java Mon Oct 4 09:24:35 2004 @@ -23,10 +23,10 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ * - * Mise a jour: $Date: 2004/09/17 15:55:55 $ - * par : $Author: bpoussin $ + * Mise a jour: $Date: 2004/10/04 09:24:35 $ + * par : $Author: pineau $ */ package org.codelutin.topia.generators.jdo; @@ -151,6 +151,13 @@ ////////////////////////////////////////////////////////////////////// // all next method are in abstract class before + if(!(clazzifier instanceof ObjectModelClass)){ + /*{ + public TopiaEntity getLazy(TopiaContext context) throws TopiaException; + }*/ + return; + } + if(!hasParent){ /*{ @@ -229,7 +236,7 @@ } /** - * Retourne le persistenceService associé à cette entite. + * Retourne le persistenceService associ? ? cette entite. *) private <%=clazz.getName()%>PersistenceService getPersistenceService()throws TopiaException { <%=clazz.getName()%>PersistenceService persistenceService = getAppContext().get<%=clazz.getName()%>PersistenceService(); @@ -246,7 +253,7 @@ /** * Met a jour l'objet jdo a partir de l'entity. Et appelle l'operation - * d'update sur les Entities elle meme modifié. + * d'update sur les Entities elle meme modifi?. * @param topiaEntity une vrai entity et pas un Lazy *) public void update(TopiaEntity topiaEntity, HashSet done, PersistenceManager pm) throws TopiaException { @@ -312,7 +319,7 @@ /** * Converti l'objet JDO en objet normal du framework, chaque attribut et - * element de collection referencant une entity est encapsulé dans un + * element de collection referencant une entity est encapsul? dans un * LazyEntity * @param result l'objet resultat a utiliser s'il est different de null, * sinon on en instancie un nouveau.