1 18 19 package sync4j.syncclient.demo; 20 21 import sync4j.foundation.pdi.contact.Contact; 22 23 34 public class DemoContact { 35 36 38 40 private Contact contact = null ; 41 private String filename = null ; 42 private int type = 0 ; 43 44 46 52 public DemoContact(String filename, Contact contact) { 53 this.filename = filename; 54 this.contact = contact; 55 this.type = -1; 56 } 57 58 65 public DemoContact(String filename, int type, Contact contact) { 66 this.filename = filename; 67 this.contact = contact; 68 this.type = type; 69 } 70 71 76 public String getFilename() { 77 return filename; 78 } 79 80 85 public int getType() { 86 return type; 87 } 88 89 94 public Contact getContact() { 95 return contact; 96 } 97 98 103 public void setType(int type) { 104 this.type = type; 105 } 106 107 112 public void setContact(Contact contact) { 113 this.contact = contact; 114 } 115 116 } | Popular Tags |