Index: topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java diff -u topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.2 topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.3 --- topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.2 Fri Aug 6 17:48:52 2004 +++ topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java Thu Sep 16 14:07:45 2004 @@ -23,10 +23,10 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Mise a jour: $Date: 2004/08/06 17:48:52 $ - * par : $Author: bpoussin $ + * Mise a jour: $Date: 2004/09/16 14:07:45 $ + * par : $Author: pineau $ */ package org.codelutin.topia.generators; @@ -205,26 +205,26 @@ // O T H E R ////////////////////////////////////////////////////////////////////// - public void generateOther(Writer output, ObjectModelClassifier clazz) throws IOException { - generateSetAllFrameworkProperties(output, (ObjectModelClass)clazz); + public void generateOther(Writer output, ObjectModelClassifier clazzifier) throws IOException { + generateSetAllFrameworkProperties(output, (ObjectModelClass)clazzifier); /*{ - public <%=clazz.getName()%>Impl()throws TopiaException { + public <%=clazzifier.getName()%>Impl()throws TopiaException { } /** * Return entity Class managed by this service *) public Class getEntityClass(){ - return <%=clazz.getName()%>.class; + return <%=clazzifier.getName()%>.class; } /** * Retourne le persistenceService associé à cette entite. *) - private <%=clazz.getName()%>PersistenceService getPersistenceService()throws TopiaException { - <%=clazz.getName()%>PersistenceService persistenceService = getAppContext().get<%=clazz.getName()%>PersistenceService(); + private <%=clazzifier.getName()%>PersistenceService getPersistenceService()throws TopiaException { + <%=clazzifier.getName()%>PersistenceService persistenceService = getAppContext().get<%=clazzifier.getName()%>PersistenceService(); return persistenceService; } @@ -235,10 +235,7 @@ <%=model.getName()%>Context context = (<%=model.getName()%>Context)getContext(); return context; } - - private <%=clazz.getName()%>Operation getEntityOperation() throws TopiaException { - return (<%=clazz.getName()%>Operation)getContext().getEntityOperation(getEntityClass()); - } + }*/ } Index: topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityPersistenceServiceGenerator.java diff -u topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityPersistenceServiceGenerator.java:1.3 topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityPersistenceServiceGenerator.java:1.4 --- topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityPersistenceServiceGenerator.java:1.3 Thu Sep 2 15:45:37 2004 +++ topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityPersistenceServiceGenerator.java Thu Sep 16 14:07:45 2004 @@ -23,10 +23,10 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * - * Mise a jour: $Date: 2004/09/02 15:45:37 $ - * par : $Author: mazelier $ + * Mise a jour: $Date: 2004/09/16 14:07:45 $ + * par : $Author: pineau $ */ package org.codelutin.topia.generators; @@ -129,8 +129,6 @@ public <%=clazz.getName()%> create<%=clazz.getName()%>() throws TopiaException; public <%=clazz.getName()%> makePersistent(<%=clazz.getName()%> entity) throws TopiaException; - - public String [] getFieldNames(); }*/ } }