View Javadoc

1   /*
2    * Created on 21 déc. 2003
3    *
4    * To change the template for this generated file go to
5    * Window>Preferences>Java>Code Generation>Code and Comments
6    */
7   package net.sf.pmr.keopsframework.domain.object;
8   
9   /***
10   * @author Arnaud To change the template for this generated type comment go to
11   *         Window>Preferences>Java>Code Generation>Code and Comments
12   */
13  public interface DomainObject {
14  
15      /***
16       * get the persistanceid
17       * @return
18       */
19      int getPersistanceId();
20      
21      /***
22       * set the is
23       * @param id id to set
24       */
25      void setPersistanceId(int persistanceId);
26      
27      /***
28       * @return version for concurrency access management
29       */
30      long getPersistanceVersion();
31  
32      /***
33       * @param l
34       *            version
35       */
36      void setPersistanceVersion(final long l);
37  
38  
39  }