00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 package org.openmobileis.synchro.algo.replication;
00030
00031 import org.openmobileis.common.util.OpenMISSerializable;
00032 import org.openmobileis.common.util.exception.DatabaseException;
00033
00042 public interface SynchroAtomicObject extends OpenMISSerializable{
00043 static final long serialVersionUID = 5521257935120563452L;
00044 public static final short ADD=1;
00045 public static final short REPLACE=2;
00046 public static final short DELETE=3;
00047
00051 public String getUID();
00052
00056 public String getCheckSum();
00057
00061 public void setCheckSum(String sum);
00062
00066 public long getCreationDate();
00067
00073 public long getModifSyncNumber();
00074
00080 public void setModifSyncNumber(long ts);
00081
00085 public short getModificationType() ;
00086
00092 public void setModificationType(short type) throws DatabaseException;
00093
00094 public boolean equals(Object obj);
00095
00096 public int hashCode();
00097 }