1 18 19 package sync4j.syncclient.spds.engine; 20 21 import java.io.*; 22 23 import java.security.Principal ; 24 25 41 public class SyncOperation { 42 43 public static final char NEW = 'N'; 44 public static final char DELETE = 'D'; 45 public static final char UPDATE = 'U'; 46 public static final char CONFLICT = 'O'; 47 public static final char NOP = '-'; 48 49 private SyncItem syncItem = null; 50 private char operation = 0; 51 52 57 public SyncItem getSyncItem() { 58 return this.syncItem; 59 } 60 61 66 public char getOperation() { 67 return this.operation; 68 } 69 70 77 public SyncOperation(SyncItem syncItem, 78 char operation) { 79 80 this.syncItem = syncItem; 81 this.operation = operation; 82 } 83 } | Popular Tags |