1
2
3
4
5
6
7 package net.sf.pmr.keopsframework.domain.object;
8
9 /***
10 * @author Arnaud
11 *
12 * TODO To change the template for this generated type comment go to Window -
13 * Preferences - Java - Code Style - Code Templates
14 */
15 public abstract class AbstractDomainObject implements DomainObject {
16
17 private int persistanceId;
18
19 private long persistanceVersion;
20
21 /***
22 * @see net.sf.pmr.keopsframework.domain.object.DomainObject#getPersistanceId()
23 */
24 public final int getPersistanceId() {
25 return persistanceId;
26 }
27
28 /***
29 * @see net.sf.pmr.keopsframework.domain.object.DomainObject#setPersistanceId(int)
30 */
31 public final void setPersistanceId(final int persistanceId) {
32 this.persistanceId = persistanceId;
33 }
34
35
36 /***
37 * @see net.sf.pmr.keopsframework.domain.object.DomainObject#getPersistanceVersion()
38 */
39 public final long getPersistanceVersion() {
40 return persistanceVersion;
41 }
42
43 /***
44 * @see net.sf.pmr.keopsframework.domain.object.DomainObject#setPersistanceVersion(long)
45 */
46 public final void setPersistanceVersion(final long version) {
47 this.persistanceVersion = version;
48 }
49
50 }