Index: topia/src/java/org/codelutin/topia/TopiaEntity.java diff -u topia/src/java/org/codelutin/topia/TopiaEntity.java:1.17 topia/src/java/org/codelutin/topia/TopiaEntity.java:1.18 --- topia/src/java/org/codelutin/topia/TopiaEntity.java:1.17 Fri Jun 10 09:43:01 2005 +++ topia/src/java/org/codelutin/topia/TopiaEntity.java Thu Jul 21 12:54:50 2005 @@ -23,9 +23,9 @@ * * @author Cédric Pineau * Copyright Code Lutin -* @version $Revision: 1.17 $ +* @version $Revision: 1.18 $ * -* Last update : $Date: 2005/06/10 09:43:01 $ +* Last update : $Date: 2005/07/21 12:54:50 $ * by : $Author: thimel $ */ package org.codelutin.topia; @@ -34,29 +34,47 @@ import java.util.Date; import java.util.Iterator; +import org.codelutin.topia.annotation.MethodInfo; +import org.codelutin.topia.annotation.MethodType; + /** * Top Level common interface to all topia entityes. */ public interface TopiaEntity extends TopiaElement, Serializable{ // TopiaEntity + @MethodInfo ( type = MethodType.GENERATED ) public Class getEntityClass(); + @MethodInfo ( type = MethodType.GENERATED ) public String get_topiaId_() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public String get_topiaVersion_() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public Date get_topiaCreationDate_() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public Date get_topiaLastUpdateDate_() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public TopiaUser get_topiaLastUpdateUser_() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void set_topiaId_(String v) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void set_topiaVersion_(String v) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void set_topiaCreationDate_(Date v) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void set_topiaLastUpdateDate_(Date v) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void set_topiaLastUpdateUser_(TopiaUser v) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void remove() throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public boolean add_dependentEntities_(TopiaEntity entity) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public void remove_dependentEntities_(TopiaEntity entity) throws TopiaException; + @MethodInfo ( type = MethodType.GENERATED ) public Iterator iterator_dependentEntities_() throws TopiaException; } // TopiaEntity Index: topia/src/java/org/codelutin/topia/TopiaElement.java diff -u topia/src/java/org/codelutin/topia/TopiaElement.java:1.2 topia/src/java/org/codelutin/topia/TopiaElement.java:1.3 --- topia/src/java/org/codelutin/topia/TopiaElement.java:1.2 Thu Jul 15 13:13:12 2004 +++ topia/src/java/org/codelutin/topia/TopiaElement.java Thu Jul 21 12:54:50 2005 @@ -23,14 +23,17 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Mise a jour: $Date: 2004/07/15 13:13:12 $ - * par : $Author: bpoussin $ + * Mise a jour: $Date: 2005/07/21 12:54:50 $ + * par : $Author: thimel $ */ package org.codelutin.topia; +import org.codelutin.topia.annotation.MethodInfo; +import org.codelutin.topia.annotation.MethodType; + /** * Top Level common interface to all topia element * Note : Implementation class are required to have a public empty constructor. @@ -42,6 +45,7 @@ * context to de used. * @param : context - the context to be used from now. */ + @MethodInfo ( type = MethodType.GENERATED ) public void setContext(TopiaContext topiaContext) throws TopiaException; /** @@ -50,6 +54,7 @@ * * @return the TopiaContext to use. */ + @MethodInfo ( type = MethodType.GENERATED ) public TopiaContext getContext(); } // TopiaElement