1 18 19 package sync4j.syncclient.spds.engine; 20 21 import java.util.Hashtable ; 22 23 24 51 public interface SyncItem { 52 53 55 public static final String PROPERTY_BINARY_CONTENT = "BINARY_CONTENT"; 56 public static final String PROPERTY_TIMESTAMP = "TIMESTAMP" ; 57 58 60 63 public SyncItemKey getKey(); 64 65 public char getState(); 66 67 public void setState(char state); 68 69 75 public Hashtable getProperties(); 76 77 83 public void setProperties(Hashtable properties); 84 85 89 public void setProperty(SyncItemProperty property); 90 91 97 public SyncItemProperty getProperty(String propertyName); 98 99 100 105 public void setPropertyValue(String propertyName, String propertyValue); 106 107 114 public Object getPropertyValue(String propertyName); 115 116 120 public SyncSource getSyncSource(); 121 122 } | Popular Tags |