Index: topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java diff -u topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.5 topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.6 --- topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java:1.5 Fri Sep 17 15:55:55 2004 +++ topia/src/java/org/codelutin/topia/generators/ObjectModelToEntityImplGenerator.java Fri Sep 17 16:02:49 2004 @@ -23,9 +23,9 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ * - * Mise a jour: $Date: 2004/09/17 15:55:55 $ + * Mise a jour: $Date: 2004/09/17 16:02:49 $ * par : $Author: bpoussin $ */ @@ -255,6 +255,10 @@ protected Class getEntityOperationClass(){ return <%=clazzifier.getName()%>Operation.class; + } + + private <%=clazzifier.getName()%>Operation getEntityOperation()throws TopiaException { + return (<%=clazzifier.getName()%>Operation)getContext().getEntityOperation(getEntityClass()); } /**